Re: calling functions from cgi
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: calling functions from cgi

From: RobG <rgqld@iinet.net.au>
Date: Tue Jan 31 2006 - 05:15:27 CET

Tony Rice wrote:
> RobG <rgqld@iinet.net.au> wrote in news:pkxDf.241$Nv4.45834
> @news.optus.net.au:
>
>
>>Do you get errors? What is the error message? Is the error because the
>>file isn't loaded, or because you are trying to manipulate objects in
>>the page before it's full loaded?
>
>
> The errors I'm getting are DOM related. Wanted to make sure I was on the
> right track before I dug anymore.
>
> I'm trying to maintain state in a URL for a AJAX app. Make a element on
> the page loadable via an ajax call or load automatically based on arguments
> passed in the URL. But I'm getting DOM errors when I call the function
> inline that is normally called from a user click.

That sounds like you are trying to access elements before the page has
created them, either onload or after the AJAX stuff.

Code snippet? URL? Did you fix the missing '>' from the closing script
tag noted in other responses?

-- 
Rob
Received on Tue Feb 7 21:28:24 2006