noob231454 noob231454 - 1 year ago 82
Javascript Question

Multiple html stuff stuff stuff

I have jquery code that successfully replaces a whole column of buttons (when one is clicked) with a short html line "new html

Answer Source

if I understand the question correctly it sounds like you want to do something like:

$(document).ready(function() {
function myFunction() {
  $('#stuff').empty().append("<p>new html</p>")
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download