This script works on my MAC in Safari and IE. On my PC it works on Netscape but does not work on IE.
Any clues why it's not working?
http://www.dynamicdrive.com/dynamici...acceptterm.htm
louann
This script works on my MAC in Safari and IE. On my PC it works on Netscape but does not work on IE.
Any clues why it's not working?
http://www.dynamicdrive.com/dynamici...acceptterm.htm
louann
Last edited by louann; 09-10-2005 at 02:37 PM. Reason: adding link to script question is about
The demo works on my pc in IE. Perhaps you have javascript turned off in your pc's IE browser? Or it may be a problem in your implementation:
PLEASE: Include the URL to your problematic webpage that you want help with.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
After closer inspection I see that the demo script and the script offered on the demo page differ significantly so, my prior response does not apply in this case. I would change this function:
to this:Code:function defaultagree(el){ if (!document.all&&!document.getElementById){ if (window.checkobj&&checkobj.checked) return true else{ alert("Please read/accept terms to submit form") return false } } }
Untested, let us know if it works, it should.Code:function defaultagree(el){ if (!document.all&&!document.getElementById){ if (window.checkobj&&checkobj.checked) return true else{ alert("Please read/accept terms to submit form") return false } } else return true }
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
didn't work, still does the same thing.
url to the page i'm having a problem with is
http://www.cdbondage.com/disclaimer_page.html
Louann
Last edited by louann; 09-11-2005 at 01:47 AM.
I fiddled around with your page a bit and discovered that the contents of your disclaimer form were being passed as a query string to the home/index2.html page. This is because the textarea has a name. By changing the designation of the textarea from:
name="textarea"
to
id="textarea"
IE worked even with the original version of the script. Apparently IE cannot handle such a long query string, whereas the other browsers you mention can as can FF and Opera on my pc. Just make the above change and it should be fine in IE as well as the others, tested and works here.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
John,
Thank you very much! I found the way of my error from your last post.
I included the text area in my form which should have been outside the form tag since i'm not really passing that information.
Again THANK YOU!
Dynamic Drive scripts forever!!!
louann
Bookmarks