Hi All, in one of my variable i have something like var x='.myclass'. Now I want to append this var x while traversing the dom in jQuery.What should be the exact format for that.
Lets say I want to write
$("div.myclass a").someoperation();
now this .myclass has to dynamic, so I am trying something like
$("div"+x+"a").someoperation()
but this is not working, any clue.