I am trying to append a section to a div on the click of a button.
I want the section to be appended only on the first click, the code that I use below appends a section every time I click the div.
How should I go about this?
$("#nextractorapply").click(function () {
$("#main").append('<section id="nextractor" class="five"> </section>');
});