Does jQuery allow us to use .each loops for live elements?
I'm creating radio buttons on the fly and need to loop over all of them, but the .each loop doesn't seem to work on live elements.
If jquery is not supporting this kind of live looping, is there any other way to accomplish this?
live()
only works for event binding. The only thing that comes to my mind is to put all code in a function an execute it again after you inserted the elements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With