asked on
ASKER
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
HTML:
Open in new window
JQuerycode:
Open in new window
PS
I used JQuery replaceWith() function that is more easy and handful .See the replaceWith() documentation