2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

how to insert a dynamic html containt in div using javascript or jquery?

my problem is i have div in html page and after ajax call i got some html containt from server side which i want to fit into the blank div. how can i do that?
userimage

If you want to insert a html containt in div which you getting from server side, you can use below process:


$("#<ID OF THE DIV>").html(<THE CONTAINT YOU GOT FROM SERVER>);

Answer is