jazzIIIlove
asked on
basic jquery question for a 12 year old. What is $(this). What is this this?
Hi;
In jquery, what is $(this). What is this this? and what is not?
Regards.
In jquery, what is $(this). What is this this? and what is not?
Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi,
great. one final question. you put in head. so is the whole code rendered before this jquery you posted?
regards.
great. one final question. you put in head. so is the whole code rendered before this jquery you posted?
regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Informative.
ASKER
Thanks. so can i use #some-div-id instead of this?
Also can i use this outside of the function?
And also is it possible to change the this reference inside the function (say to an a element having an id?
regards.