jQuery + UpdatePanel
i use the add_endRequest method of the asp.net ajax framework to do my jQuery event bindings when i'm dealing with an asp:UpdatePanel
HTML
<body>
<div id="nu"></div>
</body>
JavaScript
var myLoadFunction = function () {
$('#nu').html('<p>FUCK</p>')
};
// Do jQuery on initial page load
$(myLoadFunction);
// Do jQuery on each UpdatePanel refresh
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(myLoadFunction);