my html is stored in a variable and i just find div from that variable and set css but things are not working. here is my code
sHtml = $(sHtml).find('#frm').html();
sHtml = $(sHtml).find('#acloginpod').css({ 'width': xWidth + 'px' });
$sHtml = $(sHtml);
what is wrong in my 3rd line. i was try to find div acloginpod from html which is stored in sHtml variable and width is stored in xWidth variable. i thinks there is problem in my code but not being able to find it out. so please help me to rectify the code. thanks
I have included comments in your code: