jquery - TextField disappear when mouse leave -
when take off mousepointer textfield disappearing..i tried following code..which add attribute called visibility , setting value 'visible'..but did not work either..
please me solve problem..
code :
jq("#meteringpointtable").find(".search.results.field.point").mouseleave(function(){ jq("#meteringpointtable .search.results.field.point").attr('visibility','visible');`enter code here` });
new code :
jq("#meteringpointtable").find(".search.results.field.point").mouseleave(function(){ jq(this).css({'visibility':'visible'}); console.log(jq(this).css('visibility')); });
visibility css property should use way.
also seems using same selector while attaching event. can refer element this
(domelement) /$(this)
(jquery object).
jq("#meteringpointtable").find(".search.results.field.point").mouseleave(function(){ jq(this).css({'visibility':'visible'}); });
Comments
Post a Comment