dimanche 29 mai 2016

how to call CheckBox CheckedChanged Event from javascript

i want to call CheckBox_CheckedChanged Event from javascript code .

my code is:

<script>
    $('#CheckBox').prop('checked', true);

    $("#CheckBox").change(function () {

            <% CheckBox_CheckedChanged(null, null); %>

    });

</script>




Aucun commentaire:

Enregistrer un commentaire