function removeRow(input) {
var hfAnswers = $("#<%= HFeducationdetails.ClientID %>");
var answers = parseInt(hfAnswers.val()) + 1;
hfAnswers.val(answers);
$('.sourceEdu:first').remove().attr({ name: "ans_clone_" + answers, id: "ans_clone_" + answers });
}
using this script working fine