RadarBob
07-10-2002, 05:51 PM
Here is a function that is giving me the following error: Error: Expected ';' and points to the blank line immediately below opener.clearKeywordList();
clearKeywordList() is a function in the parent window. I'm trying to pass data back to it - see the thread Creating dynamic list from child window...
BTW, newList is a <SELECT> object.
function finished(theform) {
var e = theform.newList.options;
// clean out then rebuild the original keyword list in the parent window
opener.clearKeywordList();
for (var i=0, i < e.length-1, i++) {
window.
opener.addKeyword(e.options[i].text, e.options[i].value);
}
window.close();
} // finished()
clearKeywordList() is a function in the parent window. I'm trying to pass data back to it - see the thread Creating dynamic list from child window...
BTW, newList is a <SELECT> object.
function finished(theform) {
var e = theform.newList.options;
// clean out then rebuild the original keyword list in the parent window
opener.clearKeywordList();
for (var i=0, i < e.length-1, i++) {
window.
opener.addKeyword(e.options[i].text, e.options[i].value);
}
window.close();
} // finished()