selecting a class in a specific div using jquery -


i have div id , in div there div class "sizeselect". want select div , apply new class cant seem work.

basically want select div "sizeselect" in div "img18" (imgid generated dynamically)

$("#img"+imgid+" .sizeselect").toggleclass('selected').toggleclass('unselected'); 

what missing? thanks


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -