jeudi 20 août 2015

cllick event of dynamically created Checkbox in Jquery

I went through many post and not a single worked for me. please go through it before downvote for the same.

I hv a checkboxlist from which i want to get check event.

the checkboxes are created dynamically.

I am not able to fire the event

what I tried so far is

$(".XAxisrowCheckbox").click(function () {

            //Do stuff

    });

I also tried with this

    $("input.XAxisrowCheckbox").click(function () {

            //Do stuff

    });

but no luck for me

Tag goes like this

<input type="checkbox" class="XAxisrowCheckbox">

Please suggest something




Aucun commentaire:

Enregistrer un commentaire