MrsKensington
Programmer
i'm trying to get some Javascript working with my form.
I have 2 radiobuttons in a radiogroup and when clicked i want them to call a function called changed...
This is my code
but when i look at the HTML generated this is what is printed
where as i want it to be
any ideas how to stop this?
thanks Ford? There's an infinite number of monkeys outside wanting to talk to you about a script of Hamlet they've produced!!
I have 2 radiobuttons in a radiogroup and when clicked i want them to call a function called changed...
This is my code
Code:
print radio_group(-name=>"inactivePeople", -values=>\@list, -default=>$inactivePeople, -script=>"onClick=\"printWindow()\"");
but when i look at the HTML generated this is what is printed
Code:
<input type="radio" name="inactivePeople" value="Show" script="onClick="printWindow()"" />Show
where as i want it to be
Code:
<input type="radio" name="inactivePeople" value="Show" script="onClick="printWindow()""/>Show
any ideas how to stop this?
thanks Ford? There's an infinite number of monkeys outside wanting to talk to you about a script of Hamlet they've produced!!