» Forums
» DynarchMenu forum
» Support
» Ajax + Context Menu
» Re: Ajax + Context Menu
| Re: Ajax + Context Menu ¶ | |
| ok, i have narrowed it down to a line of code. It is: if(typeof el=="string")el=window.self.document.getElementById(el); I have checked the function and I am passing a string so I guess that the function cannot find the Element by ID. On ajax reload. any suggestions? | |
| Re[2]: Ajax + Context Menu ¶ | |
| 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 Ideas or suggestions? | |
| last |
(*) Discounts available for the above products!













