It won't fire an event through an event call, you need to call the event manually or 
trigger the event, i.e.

document.frm.myField.onchange()
document.frm.myField.onclick()

Taco Fleur
07 3535 5072
Blog: http://www.tacofleur.com/index/blog/
Methodology: http://www.tacofleur.com/index/methodology/
Tell me and I will forget
Show me and I will remember
Teach me and I will learn


-----Original Message-----
From: KNOTT, Brian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 24 February 2004 1:53 PM
To: CFAussie Mailing List
Subject: [cfaussie] Javascript problem


Not sure how many people are out there with MXDU on but I have a javascript
problem.

I have a onsubmit attribute in my form tag but If I use a link and do a
onclick(submit()) it ignores the onsubmit in the form tag.

There are 3 forms on the page but they all have separate form tags, not sure
if these are causing the problem.

Brian Knott




-----------------------------------------------------------------------------------

The contents of this message are the views of the Author and do not necessarily 
reflect the views of SUNCORP METWAY LTD  ABN 66 010 831 722. 

The content of this e-mail, including attachments is a confidential communication 
between the Suncorp Metway Group and the intended addressee. Any unauthorised use of 
the contents is expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and then delete the message and any attachment(s).

http://www.suncorp.com.au


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to