By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,848 Members | 3,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,848 IT Pros & Developers. It's quick & easy.

javascript+safari

P: n/a
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
Sep 28 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Sep 28, 9:57*pm, dishant <japra.dish...@gmail.comwrote:
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?
--
Rob
Sep 28 '08 #2

P: n/a
dishant wrote:
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
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Sep 28 '08 #3

P: n/a
On Sep 28, 4:55*pm, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
dishant wrote:
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.
Great !
LOL

--
Jorge.
Sep 28 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.