JQuery Div Closing on click
<p>I am using JQuery to insert html in a div using $('#myDiv').show(); on a click of a checkbox.
But whenever I click somewhere in the Div that is not an object (Dropdownlist or a Textbox etc.) . The Div seems to be closing. Is there a property in Jquery to prevent this?.</p>

<pre><code>$(".mycheckboxDiv input[@type=checkbox]").click(
         function() {
         // Insert code here\


         if($(this).attr('checked'))
         {


                 var y = $(this).attr('value')

                  var divname = "reactiondiv" + y;




                 $('#' + divname).show("1000");

                 getData('ajaxService.asmx/GetControlHtml1','MyService/x/UserControls/SeverityandReactionWidget.ascx',divname,y,hiddendivname);



             }});
</code></pre>

<p>getData is a function that puts the HTML.  Which has the $('#divName').html(eval(msg)) (I am using $.ajax();)</p>
