View Single Post
Old 10-03-2012, 05:31 PM   PM User | #3
m2244
Regular Coder

 
Join Date: Jun 2012
Posts: 129
Thanks: 1
Thanked 1 Time in 1 Post
m2244 is an unknown quantity at this point
Thanks for the help.

In case anyone needs this, here is what I ended up using.

Code:
	$("#scrubberList li span[index]").filter(function() { return $(this).attr('index'); }).each(function()
	{
		//alert("In the wierd function.");
		if($(this).attr("index") == parseInt(current_pg_ind))
		{
			$(this).removeClass("scrubberBtn").addClass("scrubberBtnSelected").parent().siblings().children().removeClass('scrubberBtnSelected').addClass('scrubberBtn');
			return false;;
		}
	});
m2244 is offline   Reply With Quote