Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot call methods on tooltip prior to initialization
    primarykey
    data
    text
    <p>I am using jQuery tooltip for dynamic created row(can be 10 row/more row)</p> <p>Tooltip is being display properly but close is not being properly.</p> <p>Error is given below,</p> <pre><code>Error: cannot call methods on tooltip prior to initialization; attempted to call method 'close' throw new Error( msg ); while(m &lt; 10){ ....................................... ....................................... if(data =="EXIST") { display_tp_tooltip(m); $("#tp_no"+m).val(""); } else { display_tp_tooltip_close(m); } } function display_tp_tooltip(m) { $("#tp_no"+m).tooltip(); $("#tp_no"+m).tooltip({ open: function (e, o) { o.tooltip.animate({ top: o.tooltip.position().top + 10 }, "fast" ); $(o.tooltip).mouseover(function (e) { $("#tp_no"+m).tooltip('close'); }); $(o.tooltip).mouseout(function (e) {}); }, position: { my: "center bottom-20", at: "center top", using: function( position, feedback ) { $( this ).css( position ); $( "&lt;div&gt;" ) .addClass( "arrow" ) .addClass( feedback.vertical ) .addClass( feedback.horizontal ) .append($('&lt;style&gt;.ui-tooltip,.arrow:after { background:red; }&lt;/style&gt;')) .appendTo( this ); } }, content: function() { return cellTpNoTooltipContent()}, close: function (e, o) {}, show: { duration: 800 } }); $("#tp_no"+m).tooltip('open'); setTimeout(function () { $(this).tooltip('close'); //close the tooltip }, 3000); } function cellTpNoTooltipContent() { var rval = "T.P No. is exist"; return rval; } function display_tp_tooltip_close(m) { $("#tp_no"+m).tooltip("close"); } </code></pre> <p>How can i solve it? Please help me.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload