Hi guys
What im doing here is im trying to toggle some content based on radio button selection..
options are:
PAY IN CASH (RadioButton here)
PAY VIA CHECK (RadionButton here)
and if pay via check show the following table:
Check Number: (textField Here)
Bank/Branch: (textField here)
im using this extension:
http://www.neonix.net/dreamweaver_extensions/neonix_toggle_content/neonix_toggle_content.htm
it's really neat.. and it works perfectly fine.. but it uses a LINK to toggle the content..
I simply copied the java script it was calling in the link... and put it on my radion button.. works alrite but....
i cant' seem to make it work the way it should.. i've tried onClick, onFocus, onSelect, onChange..
I get problems like, clicking on one radio button twice toggles the content on and off.. i have similar problems with other event methods..
for example
<input name="payment_method" type="radio" onChange="MM_callJS(neonixToggle('checkInfo_TGContent','checkInfo_TGLink','',true))" value="cash" checked>
see the problem here is this would be perfect if i only had 1 radio button.. but since i have more than 1, i need to find a way to call javascriipt ONLY if RADION BUTTON is checked/selected
any ideas?