I used the following jQuery example which works like a charm. However it appends the results. What do I need to change to replace the results instead of appending?
you could empty the element before you append
$("#results").empty().append(myHtml);
or use the html
method
$("#results").html(myHtml)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With