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
[continues from the topic title]
...on the same element that calls jquery
Web Programmer
a correction:
it says: ... addClass ...
it must say: .... addClass(myclass)...
Ed
Guessing now you've matched the correct case, this is sorted, correct?
Web Programmer
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
Post the page it's on, or the source of the page, hard to work from what you've said so far.
Web Programmer
removed
Ed
Need to quote for it is a string:

CODE
onMouseOver="$(this).addClass('rolloverlink')


http://docs.jquery.com/Attributes/addClass
Web Programmer
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.