CheckQty(this) function CheckQty(that) { that.value ... }
-Justin Scott ----- Original Message ----- From: "Emmet McGovern" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 9:54 AM Subject: js question > I am calling a function onBlur of a text field... to validate that the > text entered is a number... of course... this list of text fields is > being generated dynamically... (shopping cart quantities). If I pass a > parameter, like so, CheckQty(someFieldName) how do I check that in the > function... > Like so, document.CartForm.PARAMETER.value ,it wont let me use the name > of the parameter... do I have to build a string or something? > > Emmet > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4