javascript+safari

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dishant

    javascript+safari

    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
  • RobG

    #2
    Re: javascript+safa ri

    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

    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: javascript+safa ri

      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

      Comment

      • Jorge

        #4
        Re: javascript+safa ri

        On Sep 28, 4:55 pm, Thomas 'PointedEars' Lahn <PointedE...@we b.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.

        Comment

        Working...