Skip to content
Advertisement

Can’t write html dynamically in Jquery innerHtml [closed]

I use jquery to put html dynamically but it is not working…
Here is what I have tried

JavaScript

Advertisement

Answer

You should not use innerHtml instead use html() You can do as below

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement