Hi All

I am having the following div tag in body..

<div id="div01"><img src="lions/1.jpg" alt="flower" class="flower"/></div>

and my script as follows...
varX = 2;
varY = 3;
 var txt = '#div' + varX+ varY;
alert($(txt).innerHtml);

this is alerting like *div23.innerHtml* but this is not alerting the inner
html of this div tag...

Help into this..

Thanks
Ramesh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to