i am trying to use the JQuery tool tip in asp.net application but no where i would find how to call this tool tip if i move my mouse over a label or textbox in asp.net
any solution on this would be great t Thank you
i am trying to use the JQuery tool tip in asp.net application but no where i would find how to call this tool tip if i move my mouse over a label or textbox in asp.net
any solution on this would be great t Thank you
这样做最容易的方法是贬低你的伙伴关系。 该网络与CSS各班进行控制,例如:has-tooltip
,然后在该班上使用一个j Query 选任人,以援引假肢。
<asp:Label ID="MyLabel" runat="server"
CssClass="has-tooltip"
ToolTip="This provides some help..."
Text="Label" />
<asp:TextBox ID="MyTB" runat="server"
CssClass="has-tooltip"
ToolTip="Enter your text here." />
然后,在您的发言稿中——要么注入,要么贴上标识。
<script type="text/javascript">
$(function() {
$( .has-tooltip ).tooltip(); // invoke plugin on all elements with class
});
</script>