Jquery Statement Doenot Work After Post Back this Problem Stake Me For Some Days
$(function () {
// alert("Simple");
$('#show').click(function(){
$('.divvv').toggle(slow);
});
});
Some As Above But Add Single Line and Bind Method in Particular Function and Function on Each PostBack
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(funtionPost);
//calling on each posback
funcion funtionPost()
{
$(function () {
// alert("Simple");
$('#show').click(function(){
$('.divvv').toggle(slow);
});
});
}
$(function () {
// alert("Simple");
$('#show').click(function(){
$('.divvv').toggle(slow);
});
});
Some As Above But Add Single Line and Bind Method in Particular Function and Function on Each PostBack
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(funtionPost);
//calling on each posback
funcion funtionPost()
{
$(function () {
// alert("Simple");
$('#show').click(function(){
$('.divvv').toggle(slow);
});
});
}
No comments:
Post a Comment