c# - Image title always appears. How do I make it disappear or be hidden after I click on the button -
i using <img>
tag inside listviewlist.when when hover on button title appears & disappears. when click on button showing modal popup after close popup, title not disappear. see attached image. how can make title disappear. using listviewlist inside update panel. aspx code:
<td class="text-center"> <div id="dvtc" runat="server" style="width:18px;" class="mv-action"> <asp:linkbutton id="lnktc" commandargument='<%# eval("termsandcondition") %>' commandname="termscondition" runat="server"> <img src="../../../images/muslimvoucher/lupe.png" width="14" height="14" alt="magnifier" title="terms & conditions" /> </asp:linkbutton> </div> </td>
show popup server-side code
protected void lvgiftvoucher_onitemcommand(object sender, listviewcommandeventargs e) { if (e.commandname == "termscondition") this.modalpopuptc.show(); }
try following:
<img src="../../../images/muslimvoucher/lupe.png" width="14" height="14" alt="magnifier" title="terms & conditions" onmouseover="this.title='';" />
that should solve problem.
Comments
Post a Comment