This topic is locked
[SOLVED]

 use Radio Button to change the editcontrol value

6/18/2012 11:24:21 PM
ASPRunnerPro General questions
S
seanbull81 author

Hi,
I added three Radio Buttons in Add Page with HTML Editor,

<INPUT value=RM type=radio name=productType>Raw Material

<INPUT value=CN CHECKED type=radio name=productType>Normal Product

<INPUT value=CS type=radio name=productType>Commerical Sample
and now i want to do like this. when the users click on any of the button, it will change the first two characters in a read only text field.
i tried to write some code in JavaScript OnLoad event but seems can't add my own function there.
can anyone help? thank you.

Sergey Kornilov admin 6/19/2012

Check this article in the manual that explains how to add 'onclick' handler function:

http://xlinesoft.com/asprunnerpro/docs/ctrl_on.htm