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

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

P: n/a
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

Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Amir wrote:
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.

Jul 23 '05 #2

P: n/a
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.

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.