[jQuery] How to use the $() function
Please take a look at the following code:
return $('> li:not(' + notSortable + ')', settings.columns);
Is it equivalent to the following?
var notSortableLi = $(html>li:not(notSortable));
return $(notSortableLi, settings.columns);
I found the origianl code on
http://nettuts.com/tutorials/javascript-ajax/inettuts/.
var notSortable holds a list of ids, and settings.columns holds the value
.column.
I am finding the use of single quotes very confusing. Same goes for the >
without anything to the left of it.
Please take into consideration that I am new to programming and JQuery isn't
something that you can ask your school teacher about. Thank you.
--
View this message in context: http://www.nabble.com/How-to-use-the-%24%28%29-function-tp21783926s27240p21783926.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.