If you wanted to look for something that ended in 'fade' you would use:
$("*[class$='fade']")
And for elements with a class that started with 'fade' you would use:
$("*[class^='fade']")
And to get elements that contain 'fade' you would use (this would be quicker than going through the class names string)
$("*[class*='fade']")
Property Result
------------------------------------------
host www.refulz.com:8082
hostname www.refulz.com
port 8082
protocol http:
pathname index.php
href http://www.refulz.com:8082/index.php#tab2
hash #tab2
search ?foo=789
var x = $(location).attr('<property>');
No comments:
Post a Comment