Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > submit button won't work in IE

Reply
Thread Tools

submit button won't work in IE

 
 
Igal
Guest
Posts: n/a
 
      02-03-2007
hay.
i have this page with a form i've been building.
problem is that the submit button of the form won't work wirh IE.
it worked just fine some time ago, i can't remember what i changed in
my code that made it not to work, but i looked at the code over and
over again and nothing that can stop this from working.

i'm talking about IE7, with firefox the form works just fine.
thought it's the java command for form validation but even without
it's still not working.
looks like some kind of IE bug?
anyone had this problem?

 
Reply With Quote
 
 
 
 
Jonathan N. Little
Guest
Posts: n/a
 
      02-03-2007
Igal wrote:
> hay.


Timothy? Orchard grass? Alfalfa?

> i have this page with a form i've been building.
> problem is that the submit button of the form won't work wirh IE.
> it worked just fine some time ago, i can't remember what i changed in
> my code that made it not to work, but i looked at the code over and
> over again and nothing that can stop this from working.
>


Well glad *you* at least "i looked at the code"! How do you expect
anyone here to know sight unseen? URL, yes, post a URL!


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
 
 
 
pbd22
Guest
Posts: n/a
 
      02-03-2007

yea, withoug the code there isnt much we can do.

 
Reply With Quote
 
Arne
Guest
Posts: n/a
 
      02-03-2007
Once upon a time *pbd22* wrote:
> yea, withoug the code there isnt much we can do.


And without a quote of the post you are replying to, there isn't much we
can understand about what the hell you are talking about!

* How to quote: http://www.netmeister.org/news/learn2quote.html#toc2
* From Google: http://www.safalra.com/special/googlegroupsreply/

--
/Arne

Proud User of SeaMonkey. Get your free copy:
http://www.mozilla.org/projects/seamonkey/
 
Reply With Quote
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-04-2007
Gazing into my crystal ball I observed "Igal" <>
writing in news: ups.com:

> hay.
> i have this page with a form i've been building.
> problem is that the submit button of the form won't work wirh IE.
> it worked just fine some time ago, i can't remember what i changed in
> my code that made it not to work, but i looked at the code over and
> over again and nothing that can stop this from working.
>
> i'm talking about IE7, with firefox the form works just fine.
> thought it's the java command for form validation but even without
> it's still not working.
> looks like some kind of IE bug?
> anyone had this problem?
>


As others have said, a URL would be invalueable. However, you can try
to debug it by putting an alert where it is not working, see if you can
trap what's happening. You might also want to try comp.lang.javascript
to see if anyone there might be able to help you.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
Igal
Guest
Posts: n/a
 
      02-04-2007
> Well glad *you* at least "i looked at the code"! How do you expect
> anyone here to know sight unseen? URL, yes, post a URL!


the page is using a hebrew encoding, thought there's no much point of
posting a link.
but a form is a form, so if anyone can figure this out.

http://www.magarjob.net/emp/empreg1.asp

i was just was wondering if anyone seen this kind of thing...

 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      02-04-2007
Igal wrote:

> the page is using a hebrew encoding, thought there's no much point of
> posting a link.


There is *always* a point of posting a link! Without a link, any answer we
give could only ever be a wild stab in the dark.

> http://www.magarjob.net/emp/empreg1.asp


Not 100% sure, but I think your check1() function needs to explicitly
"return true" when the form is OK.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/CSS/Javascript/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      02-04-2007
Scripsit Toby A Inkster:

>> the page is using a hebrew encoding, thought there's no much point of
>> posting a link.

>
> There is *always* a point of posting a link!


Certainly. And one does not be fluent in Hebrew in order to analyze
technical problems with a page in Hebrew. Actually what matters more is the
layout direction (right to left), since among the two buttons at the bottom
of the page, it's the _left_ button that is the submit button, even though
it appears in markup _after_ the other button. And actually the page should
probably have <html dir="rtl"> instead of dir attributes scattered around

>> http://www.magarjob.net/emp/empreg1.asp

>
> Not 100% sure, but I think your check1() function needs to explicitly
> "return true" when the form is OK.


That would be a plausible hypothesis, but the original question said:
"thought it's the java command for form validation but even without it's
still not working", apparently using "java" as an odd spelling for
JavaScript. Disabling JavaScripting (or "active scripting" to use the IE
jargon) does not seem to make the button work, i.e. clicking on the button
just temporarily changes its appearance with no other visible effect.

This is somewhat odd, but perhaps the OP should first fix the 58 syntax
errors that http://validator.w3.org reports for the page. Many of them are
caused by an unclosed <p> tag (i.e. just "<p" with no matching ">", so that
the validator goes crazy when searching for the next ">"). If this does not
help - and I suspect it won't - then I guess the best strategy is to create
simpler test pages by gradually removing parts of the page until the problem
disappears. The last part removed might then be the culprit.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert form to submit on load instead of clicking submit button? Network-Man HTML 5 07-07-2012 12:06 PM
submit the form data to the popup window without a submit button jrefactors@hotmail.com HTML 2 01-01-2005 06:07 AM
Preventing Multiple submit (Disabling Submit Button Post Click) Solution Mark ASP .Net 1 12-13-2004 08:03 PM
Disable Submit Button on Post back and On Submit in ASP.net Ghafran Abbas ASP .Net 0 10-12-2004 06:11 PM
HTML Reset Button Doesn't work after postback with Submit button Chris Lane ASP .Net 4 11-17-2003 11:52 PM



Advertisments