I am googling from last one days but I never be found what's the problem in my code. My append js code is
$('.dynamic-form').append("<div class='row " + field_type + "-field" + field_count + "'>" +
"<button type='button' class='btn btn-primary' onClick='FieldEdit("+field_count + "," \''+field_type+ '\' + ")'>" + ' + "</button>");
Js funtion is
function FieldEdit(id,type) {
$('#' + type + '-field' + id).toggle();
}
I feel so much glad and thankful if any one solve out this issue. Thanks you!!!!
field_countandfield_type? What do want it to do? What are the results. What are the results you were expecting?