javascript+safari

D

dishant

document.forms[0].submit
I think the above function has problem with safari . It works fine on
IE and Firefox.
If yes please tell me the alternative.

dishant
 
R

RobG

document.forms[0].submit
I think the above function has problem with safari .

Why do you think that? Other than the missing call operator, it
should work - do you have an example that doesn't?
 
T

Thomas 'PointedEars' Lahn

dishant said:
document.forms[0].submit
I think the above function has problem with safari [...]

1. Go to <http://www.google.com/>.
2. Type something in the search box.
3. Enter javascript:void document.forms[0].submit() in the location bar.
4. See that it works.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,112
Latest member
VinayKumar Nevatia
Top