Hello forums!!
I had used the following function(for deleting div elements) and its working properly
when the form is submitted , it gives the error "parentObj has no properties".function deleteCampaignRow(parentElem, childElem){
var parentObj = document.getElementById(parentElem);
var childObj = document.getElementById(childElem);
parentObj.removeChild(childObj);
}
how to solve the above problem ?
Any Idea ??
Thanks in advance to all of you



Reply With Quote

Bookmarks