This message is to notify you that your ticket has been submitted.
Ticket ID: 1738-1124031702
Message:
----------------------------------
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 jquery plugin that checks to see if the content in $data
is
valid.
Thank you,
Ramya
----------------------------------
To check the status of this ticket, visit:
http://www.infiniteskills.com/helpdesk/index.php?action=ticket&id=MTczOC0xMTI0MDMxNzAy&ide=anF1ZXJ5LWVuQGdvb2dsZWdyb3Vwcy5jb20=