I have a checkbox and I am using jquery. I want to popup a dialog box when a user checks the checkbox. However if they uncheck the box nothing should popup.
How can I do this? Also I need to use jquery live or livequery as the checkbox is not displayed on page load.
$('#checkbox').live('change', function(){
if($(this).is(':checked')){
popUpFunction();
}
});
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