Question { HCL, 3614 }
Can we create buttons in JavaScript ? if yes how? pls provide
sample code... Thanks in advance.....
Answer
We can create in multiple ways.Here I am doing by using jquery
HTML:
JAVASCRIPT:
$(document).ready(function () {
$("#CreateButton").click(
function () { $('#target').append('
')
}
);
});