jquery id element inside php variable -


i store inside php variable id of checkbox has been selected.

something this, isn't working.

<?php $myvar='$(".chkspec:checkbox").attr("id")';?>  

thanks in advance

you have pass value somehow ajax.

php server side code has no access client side information (and same vis versa)


Comments