Re[2]: Ajax + Context Menu
2008/07/14 16:49
Viewed 6288 times
Replies: 0/0

another day of looking into this:

I think what is happening is when the page loads the dynarch creates a class in javascript for DynarchMenu. This is stored in the javascript. The UList at this point is destroyed as it was. So I am creating a UL class with an id of "menu1". The page when it loads is creating a DynarchMenu and destroying the list. So on ajax requests, I am asking for a new list using "menu1", but now the html 'menu1' is nonexistant.

So I need to either
A) reference the DynarchMenu that was created and tell it to load new data,
B) not delete the List on creation so that the page can rebuild it on every ajax request.

Ideas or suggestions?

Google