asp.net - JQuery Hover does not work Mozilla -


I have a snippet of code. There is a problem in hover in hover - it changes color on the hover, but for some time this happens when we go out, then do not go back. Remember you, it only happens occasionally. In such cases, if I check the HTML using firebug, then I can see that even after the hover is out, the extra class is assigned. It works fine on IE. Simplified version

With this you can see that I am setting the color on T. But it does not change color on the text box inside the TR. How can I ensure that the background color of the controls contained in TR has also been changed to the hover.

  & lt; Style type = "text / css" & gt; High light {background color: fuscia; }. Choose {range: soild 2px blue; Margin: 3px; } & Lt; / Style & gt; & Lt; Script type = "text / javascript" src = "jquery-1.4.2.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; $ (Function () ($ ("(select"). Hover (function () {$ (this) .addClass ("Highlight");}, function () {$ (this) .removeClass ("Highlight") ;});});  

My Markup TR generated by ASP.NET Repeater Control is a table with the specified class selection.

   & lt; / td> & lt; td & gt; Lt; Input Name = "Repeater 1 $ ctl11 $ tb" type = "text" value = "quick bike" id = "repeiter1_ctl11_tb" /> gt; & gt; & lt; td & gt; & lt; td & gt; & Lt; input name = "w Repetitive $ 1 ctl11 $ tb2 "type =" article "value =" 10/13/2004 11:15:07 am "id =" repeat1_ctl11_tb2 "/>  gt; & lt;  

I would say jQuery mouseover (adlas) and mount (delete class ) Instead of

Good luck,

Flavio


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -