code_junkie

Simple jQuery function works in every browser but Firefox. What am I missing?

Nov 12th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. $(document).ready(function() {
  2. $("span.link").mouseover(function(e){
  3. $(this.children).css("display","inline");
  4. });
  5. });
  6.  
  7. $(function() {
  8. $("span.link").mouseover(function(e){
  9. $(this).children().css("display","inline");
  10. });
  11. });
  12.  
  13. $(function() {
  14. $("span.link").mouseover(function(e){
  15. $(this).children().addClass('inlineClass');
  16. });
  17. });
Add Comment
Please, Sign In to add comment