small comment about my last question:My Javascript function doesn't work with FireFox

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

    #1

    small comment about my last question:My Javascript function doesn't work with FireFox

    I used FireFox Jscript debuging capabilities but it says:
    frm variable doesn't have the property Action
    function submitForm(frm, action){
    frm.action=acti on; frm.submit(); return(false) }


  • Mick White

    #2
    Re: small comment about my last question:My Javascript function doesn'twork with FireFox

    Amir wrote:
    [color=blue]
    > I used FireFox Jscript debuging capabilities but it says:
    > frm variable doesn't have the property Action
    > function submitForm(frm, action){
    > frm.action=acti on; frm.submit(); return(false) }[/color]


    <A href="" onclick="return
    submitForm(docu ment.forms['myFormName'],'\mydir\mypage .asp')">
    sample link</A>
    Mi ck.

    Comment

    • Lee

      #3
      Re: small comment about my last question:My Javascript function doesn't work with FireFox

      Amir said:[color=blue]
      >
      >I used FireFox Jscript debuging capabilities but it says:
      >frm variable doesn't have the property Action
      >function submitForm(frm, action){
      >frm.action=act ion; frm.submit(); return(false) }
      >http://www.webfreeguide.com[/color]

      Yes. That's because you're not passing a form reference to your function.

      Comment

      Working...