How to disable option button in Client Script?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
elcmea
User
Posts: 6

How to disable option button in Client Script?

Post by elcmea »

i have option button field name myregister with value register and non register i want disable option button how to do it in clientscript event?


arbei
User
Posts: 9384

Post by arbei »

What is "option button"? If you meant one of the list options, it is better to use server event such as Listoptions_Rendered.


elcmea
User
Posts: 6

Post by elcmea »

i mean "Radio button". how to disable radio button in ClientScript event startup Script.


arbei
User
Posts: 9384

Post by arbei »

viewtopic.php?t=53794

You may use above to find the selector for the radio buttons and add disabled attribute to them by JavaScript or jQuery.


Post Reply