javascript - How to connect jquery tooltip with asp.net textbox -
this question has answer here:
- qtip2 jquery asp.net textbox 2 answers
i tried connect jquery plugin tooltip asp.net textbox, failure result.
here code:
<script type="text/javascript" src="../chosen/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../chosen/jquery.qtip-1.0.0-rc3.js"></script> <script> $(function () { //shorthand $(document).ready(function(){...}); $('textbox').qtip({ content: 'short hand notation' }) }); </script> <asp:textbox cssclass="textbox" id="textbox" name="textbox" runat="server"/>
error:
qtip not function
there can show me how connect elegant jquery tooltip plugin standard textbox asp.net?
regards
you can try out: for safer side don't use same id & css class name textbox.
<script type="text/javascript" src="../chosen/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../chosen/jquery.qtip-1.0.0-rc3.js"></script> <script> $(function () { $('mytextbox').qtip({ content: 'short hand notation', show: 'mouseover', hide: 'mouseout' }) }); </script> <asp:textbox cssclass="textbox" id="mytextbox" name="mytextbox" runat="server"/>
Comments
Post a Comment