mrblah mrblah - 1 year ago 83
Javascript Question

In jQuery, want to remove all HTML inside of a div

I have a div, and I want to remove all the HTML inside of that div.

How can I do this?

Answer Source

You want to use the empty function:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download