Change the name of your form to something else.  Form and forms are both
reserved words.

> -----Original Message-----
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 5:11 PM
> To: CF-Talk
> Subject: RE: Javascript and Dynamic CF Forms
> 
> Still no go...
> 
> 1. took care of the select value syntax as per previous email.
> 2. what do you mean by "i'd also prefer to see id attributes in the form
> fields (use the same value as the 'name' attribute) and in the script".
> How
> would I rewrite that?
> 3. already know about JS being case sensitive and know that my form's name
> is "form". I modified you code to read:
> document.form.elements["QTYShipped"
> + n].value = 0;
> 
> A view source shows...
> 
> <select name="Comments1"
> onchange="updateText(1, 'this.options[this.selectedIndex].value');">
> <option value="SHIPPED">SHIPPED</option>
> <option value="SHIPPED AVAILABLE">SHIPPED AVAILABLE</option>
> <option value="DISCONTINUED">DISCONTINUED</option>
> <option value="OUT OF STOCK">OUT OF STOCK</option>
> </select>
> 
> <select name="Comments2"
> onchange="updateText(2, 'this.options[this.selectedIndex].value');">
> <option value="SHIPPED">SHIPPED</option>
> <option value="SHIPPED AVAILABLE">SHIPPED AVAILABLE</option>
> <option value="DISCONTINUED">DISCONTINUED</option>
> <option value="OUT OF STOCK">OUT OF STOCK</option>
> </select>
> 
> Is the value of the pulldown nor correct?
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265256
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to