[Javascript] Form has no properties....

Roger Roelofs rer at datacompusa.com
Fri May 6 22:23:11 CDT 2005


John,

On May 6, 2005, at 8:19 PM, John B. Moore wrote:

> Under a specific sequence of actions that seem to involve the 
> "submit()" method, the browser  seems to "get lost" with respect to 
> the form objects, such that the following simple code fails..
>
> top.InvoiceFrame.document.theForm.COMMON_NAME.value = "IT WORKED...."
>
> with the error..
>
> "top.InvoiceFrame.document.theForm has no properties.."
>
> ..to all appearances (view source..etc..) all of the objects are 
> there, but the browser appears to nolonger able to reference these 
> objects..
<snip>
> Thanks for any suggestions or WAGs (Wild Ass Guesses)

Here's a WAG for you.  Could the name of the frame or the form be 
changed in the javascript.  Even something as inadvertent as

if (theForm.name = "Invoiceform") ?


Roger,

Roger Roelofs
Know what you value.




More information about the Javascript mailing list