Re: javascript+safari



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
.



Relevant Pages

  • Re: Adding new methods to existing classes
    ... Thomas 'PointedEars' Lahn wrote: ... If it works in your Safari, then that has to be a trunk version. ... evangelism: XHTML 1.0 Strict ...
    (comp.lang.javascript)
  • Re: Safari inadequate?
    ... Firefox will all use their XHTML parser, ... Safari throws an error and only renders the page up to the mismatch (as ... If I then simply change the extension to .html there are no ... or the meta tag, it will be using file system metadata or an extension. ...
    (comp.sys.mac.system)
  • =?UTF-8?B?UmU6IDIgQmlsZGVyIGluIFRhYmVsbGUgdW5kIFNlaXRlIGltIEZyYW0=?= =?UTF-8?B?ZSB1bmQgZGVyI
    ... der Umbruch sollte spätestens bei 80 Zeichen ... den Wert von `caption', nicht. ... evangelism: XHTML 1.0 Strict ...
    (de.comp.lang.javascript)
  • Re: Privileged constructor members
    ... Defining getter/setter pairs outside of the constructor removes its ... TryStatement") you might have accused me of nitpicking again. ... evangelism: XHTML 1.0 Strict ...
    (comp.lang.javascript)
  • Re: Comments on code layout requested
    ... the variables I defined in my constructor (the "private" variables). ... As for public properties, it makes no difference. ... evangelism: XHTML 1.0 Strict ...
    (comp.lang.javascript)