Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have this short routing checking

Status
Not open for further replies.

GaryC123

Programmer
Sep 10, 2002
1,041
NO
I have this short routing checking the selected radio button with values 1,2 and 3

if (x.packageoption.value=="asp")
for (i=0;i<document.order.payfreq.length;i++) {
if (document.order.payfreq.checked) {
freq= document.order.payfreq.value
price=asp[dd]
break; }}

But I can't get it to work, if I write out to the screen the value of the selected radio button this changes, say i click radio 1 the displayed value is 1, i click radio 2 the value is 0, i click radio 1 again the value is 2.

Can someone help please



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top