If
you're passing in the form object, then use formObject.name, if you're passing
in a for element, use formElement.form.name
--
Lindsay Evans.
Developer,
Red
Square Productions.
[p] 8596.4000
[f]
8596.4001
[w] www.redsquare.com.au
--------Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Taco Fleur
Sent: Friday, 21 November 2003 11:15 AM
To: CFAussie Mailing List
Subject: [cfaussie] [OT] JS ObjectCan you derive the form name from an object?
For example, let's say I am calling a JS function within a form, I pass this function the object it is called from ie. (this), within the function can I now derive the form name from this object?
Taco Fleur
---
07 3535 5072
Tell me and I will forget
Show me and I will remember
Teach me and I will learn
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
