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

M

Mick White

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


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

Lee

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

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

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
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top