Re: calling functions from cgi



Tony Rice wrote:
RobG <rgqld@xxxxxxxxxxxx> 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
.



Relevant Pages

  • Re: New site built using Ruby on Rails
    ... implementing Ajax in Rails is very easy. ... The hard part is manipulating the DOM, ... use the back button to come back, the browser will render the _original_ HTML - all your DOM manipulations ...
    (comp.lang.ruby)
  • Re: Issue with unresponsive javascript
    ... page which gets populated by an AJAX call. ... of the existing nodes in the DOM or modify any of the existing JS ... Builder.node and other Builder functions (i.e. the Builder object in ... by inserting in the DOM you mean: ...
    (comp.lang.javascript)
  • Re: [PHP] Are PHP5 features worth it?
    ... If you know DOM in Browser you can use DOM in PHP5. ... "AJAX" Webapplications are not possible in PHP4. ... You can use and provide XML Comunication with the same ... And finally PHP5 has much better XSLT support than PHP4. ...
    (php.general)
  • Re: Client-Server to Web App
    ... If you already know Javascript, DOM and XML the learning curve for AJAX should be about about 30 minutes. ...
    (borland.public.delphi.non-technical)