Code
how do i code in jquery to dynamically add new page when i click add and those element that i have highlighted in yellow also delete page when i click delete along with those element that i have highlighted in yellow. please help anyone..
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Khalid DRISSI SLIMANI6 reputationPosted May 25, 2015, 12:25 AM EDT
$(document).ready(function() {
$("#Button1").click(function() {
$("#container").append('
});
$("#Button2").click(function() {
$("#answerdiv1").remove();
});
});
Dipankar BiswasRank #992 · 2K reputationPosted May 25, 2015, 12:08 AM EDT
Nanhe SiddiqueRank #1,103 · 1.7K reputationPosted May 25, 2015, 12:10 AM EDT