Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Element class gone after partial postback

$
0
0

Hi, I have a li elem inside an update panel and everytime when imgbtnRefineSearch button is being clicked, the li elem loses it's 'tooltip-login' class hence the jquery tooltip is gone. How can I prevent this from happening? Thanks.

<asp:UpdatePanel ID="uiupSearchResults" runat="server" UpdateMode="Conditional"><Triggers><asp:AsyncPostBackTrigger ControlID="imgbtnRefineSearch" EventName="Click" /></Triggers><ContentTemplate><li id="liSortPopularity" class="SortPopularty" runat="server" onclick="SortPost('popularity')"><a href="#" class="tooltip-login" title="Sort by Popularty" data-toggle="tooltip" data-placement="bottom"><span></span></a></li></ContentTemplate></asp:UpdatePanel>




Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>