Advertisement

Build a pane dynamically with an Ajax callback function

Moderators: Calcifer, slothy

Build a pane dynamically with an Ajax callback function

Postby jsilvia » Thu Mar 01, 2007 8:13 pm

Alf,

We have a situation where we are trying to dynamically build a pane using paneSplitter.addContent(). We do this with no problems in many areas. There is one area where this does not seem to work correctly. We have an Ajax request and we register an anonymous function as the callback listener. Within this callback function, we want to build the pane dynamically when the Ajax callback function receives the response (the data). When we move the paneSplitter.addContent() function call within the callback function, it builds the pane, but when we try to call document.getElementById(“someElementâ€
jsilvia
 
Posts: 12
Joined: Fri Jan 26, 2007 8:54 pm

Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 12 guests

cron