Hi,
There is a div I want to do here.
If two checkboxes are checked, I will show the div. If 1 is not checked, I will give an alert.
<script>
$(function () {
$('#formopen').click(function ()
{
var checks = $("#chk1, #chk2");
checks.click(function ()
{
if (checks.filter(':checked').length == checks.length)
{
$('#formopen').hide();
}
else
{
$('#formopen').show();
}
});
alert("Accept form.!!");
});
});
</script>