IonDen / ion.checkRadio

jQuery plugin for styling checkboxes and radio-buttons
69 stars 20 forks source link

losing triggers on original input fields #19

Closed joelharkes closed 5 years ago

joelharkes commented 9 years ago

I used your plugin to prettify my radio buttons, only i found one penalty. I lost my original working of code. I Expect the code to fire on change event when i click on the radio button, but this no longer is true. instead in listens to the onchange event of the hidden radio button and acts accordingly, but not backwards. can you please fix this?

IonDen commented 9 years ago

Hi, now you should use predefined code style, it will not repace original inputs with new ones, and also you will not loose original listeners.

IonDen commented 9 years ago

http://ionden.com/a/plugins/ion.checkRadio/demo.html Check section "Recommended predefined layout. For advanced developers"