Hello,
Need help.
I want to dynamically update the contents of my div tag.
Therefore I used jquery and the code is as follows
$data= 'welcome to this page';
$("#element1").html($data);
This code works perfectly fine for simple data.
But for complex data say, $data = 'Hey welcome to webpage, 'Enjoy'';
$("#element1").html($data); doesnt work because the javascript fails.
Is there any method that checks to see if the content in $data is
valid.
Thank you,
Ramya
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---