function getField() {
id++;
document.getElementById("hide").value = id;
$('#tbl1').append(
'<tr id="select_row_' + id + '">'
+ '<td><img algn="center" src="' + URL + '../../../public/images/add.png" width="30" height="30" alt="add" id="addrow_' + id + '" onclick="getField();" /></td>'
+ '<td><input type="text" style="border-radius: 5px;height: 35px;width: 200px" id="item_name_' + id + '" placeholder="Select Item" autocomplete="off" onfocus="getMaterial(' + id + ')" ></td>'
+ '<td><input type="text" style="border-radius: 5px;height: 35px;width: 100px" name="qty_' + id + '" id="qty_' + id + '" placeholder="Input Quantity"></td>'
+ '<td><img src="' + URL + '../../../public/images/remove.png" id="addrow_' + id + '" onclick="remove_data_row(' + id + ');" width="20" height="20" alt="add"/></td>'
+ '<input type="hidden" id="iid_' + id + '" name="iid_' + id + '"/>'
+ '</tr>'
);
}
this is the java script code.the problem with this URL variable it works on web browser.but not in webview.He(Web developer) changed it and give absolute path.Now it works.