Help
-
Search
-
Members
-
Calendar
Full Version:
Jquery: Fooevent="$(this).addclass" Doesent Make Any Modification
Zymic Webmaster Forums
>
Web Design & Development
>
Client Side Scripting
>
JavaScript
Web Programmer
Jul 26 2009, 05:44 AM
[continues from the topic title]
...on the same element that calls jquery
Web Programmer
Jul 26 2009, 05:54 AM
a correction:
it says: ... addClass ...
it must say: .... addClass(myclass)...
Ed
Jul 26 2009, 01:05 PM
Guessing now you've matched the correct case, this is sorted, correct?
Web Programmer
Jul 26 2009, 03:15 PM
QUOTE(Bread @ Jul 26 2009, 01:05 PM)
Guessing now you've matched the correct case, this is sorted, correct?
i havent sorted anythng before,just tried to call jquery directly
Ed
Jul 26 2009, 04:24 PM
Post the page it's on, or the source of the page, hard to work from what you've said so far.
Web Programmer
Jul 26 2009, 09:41 PM
removed
Ed
Jul 26 2009, 09:51 PM
Need to quote for it is a string:
CODE
onMouseOver="$(this).addClass('rolloverlink')
http://docs.jquery.com/Attributes/addClass
Web Programmer
Jul 26 2009, 10:33 PM
thanks , i dont believe it so much problems for a quote
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Invision Power Board © 2001-2012
Invision Power Services, Inc.