asp.net - jQuery animation not working on page with update panel -
i've had around see if has been answered, , there many similiar questions here none match problem i'm having, here goes.
i have jquery animation runs on pages. works fine on pages except .net update panel. items animated not part of update panel @ all, have nothing it.
when click on button triggers animation in question, doesn't anything. gets called alright (a quick alert("clicked!");
proved that) doesn't anything. looks though it's trying, failing, there no javascript errors reported.
from other similiar questions , answers here, people have suggested using jquery's .live()
, pagerequestmanager.getinstance().add_endrequest()
none of these valid here, items outside of update panel. (i've given them try, in case!)
has else come across issue before? appreciated!
a quick edit...it appears clicking button causes animation causing update panel reload, not sure why they're set conditional , have triggers associated them.
ok, i've fixed myself. jquery click on div caused animation being propagated through updatepanel. calling: event.stoppropagation() in .click() function solved problem.
Comments
Post a Comment