Click here to Skip to main content
15,868,292 members

Try changing your ID's to remove the periods.
I'm aware that jQuery sometimes has issues with ID's containing periods.

Have a look at this[^].
 
Share this answer
 
Comments
nebiam 4-Apr-14 1:54am    
You my friend were sent from the heavens. I had to change something else trivial which has been edited into my original question, but you just made my day. Thankyou!!
Mitchell J. 4-Apr-14 1:59am    
Glad to help :-)
Here is the solution


use
JavaScript
$('ul#myList li a')


instead of
JavaScript
$('.myList li a')


As '.' is used for class selector and '#' for Id selector
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900