Js kodu

$(document).ready(function()
{
var max_fields = 5; //maximum input boxes allowed
var wrapper = $(".inputekleme"); //Fields wrapper
var add_button = $(".add_field_button"); //Add button ID

var x = 1; //initlal text box count
$(add_button).click(function(e){ //on add input button click
e.preventDefault();
if(x < max_fields){ //max input box allowed
x++; //text box increment
$(wrapper).append('