I have a bunch of LIs that get moved around the page. I want to be able to set a variable to whatever LI has a css property "left: 0px" (there will only be one).
I can't seem to figure out how to narrow down a list this way, every method I find just wants to add that property.
So to put it in a more verbose way:
var my_var = $('ul#slider li') with the property "left: 0px"
and it should return something like:
<li><img src="image1.jpg"></li>
Thanks!
leftcss property to 0px?