Hi,
I am quiet new with working with javascript and html.

I have an html file that has table. inside the table i have a textbox
with Autocomplete from google places.
Whenever i dynamically delete some of the rows in the table
And minimize the page and maximize it again I get
An exception unspecified error:
https://maps.gstatic.com/cat_js/intl...n,places%7D.js

Can someone please help me with that exception?
I think that I need to validate the page in some way
Because the page seems to reload whenever the exception accurse

thanks
Pniel

The code for adding row with Autocomplete
var tableID = "dataTable"
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
var cell1 = row.insertCell(2);
var element1 = document.createElement("input");
element1.type = "text";
element1.size = 60;
cell1.appendChild(element1);
var autocomplete = new google.maps.places.Autocomplete(element1);

for delete a row:


function deleteCheckedRow(tableID) {

var UserMeetingList = "";
try {
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
for (var i = 0; i < rowCount; i++) {
var row = table.rows[i];
var chkbox = row.cells[0].childNodes[0];
if (null != chkbox && true == chkbox.checked) {
table.deleteRow(i); rowCount--; i--;

}
}
}
catch (e) { alert(e); }
return UserMeetingList;
}