$("#someId_"+someName).css(....);
This is what i am doing to get the div in jquery.
This is working just fine except when ‘someName’ contains String with multiple tokens
like “Mohammad Adil”
is there any other way of doing the same thing ?
thanks..
Don’t do that. You cannot have spaces in your
id.Quoting the HTML5 spec(emphasis mine)