I'm trying to print some html code via jquery and i'm not sure im doing it the right way.
The code turns out as unformatted/unread html with tags etc with < , > signs instead of actual tags.
$("#mainContent").text(response);
$.post('Ajax.php', {}, lpOnComplete, 'html');
I suppose my question is how do i get the equivalent of .innerHTML in jquery?
This post has been edited by heady89: 30 April 2011 - 07:36 AM

New Topic/Question
Reply



MultiQuote



|