RE: Access content inside an inframe from the current gorm Stan Rogers 6.Nov.18 07:00 AM a Web browser Applications Development All ReleasesAll Platforms
You've got a lot of alerts in that script, but they aren't telling you anything useful at all, are they? You're not checking the variables you're setting along the way; you're merely interrupting the progress of the script repeatedly to tell you that nothing has crashed yet.
Also, everything you're setting depends on the HTML structure of the documents. Have you even thought about looking at the HTML source you're working with? Do the ids you're depending on exist?
These are all things you can do without depending on the developer tools that are very likely built into your browser, as Carl suggested. There's nothing about Domino that changes the way JS and HTML work - you still need to look at the JS and the HTML.
By the way, relative paths using dot notation *is* a bad idea in Domino development, since forms and documents exist at different hierarchical levels on the web (form and views are at the same level; documents are "inside" of views). Use server-relative paths and @WebDbName.