Simple .click problem Jquery
Hi,
This is my simple jquery code. I have included it in the head of html
document.
<script type="text/javascript">
jQuery(function() {
jQuery('#slickbox').hide('fast');
jQuery('#slick-toggle').click(function() {
jQuery('#slickbox').toggle('blind',350);
return false;
});
});
</script>
the problem is that every time AJAX postback occures, and when i click
the slickbox button, it is fired as many times the AJAX postback
occures. i.e. If 3 postbacks, the slickbox.click function is fired 3
times. I dont want that. I need that to be fired only one time.
Let me know.