tag) from the write2.php page which has no problems and replace whatever is inside of the Div tag with that. jQuery html() vs text(). Check if an element exists. find total DOM elements.get jQuery version. jQuery - add text to existing div. jQuery sliding effect - slideUp, slideDown, slideToggle.Click here to write/view comments. LiveDemo:jQuery - Set HTML content using html() Method. <--Tutorialspark.com.