Drop Down Menu / Posts /

Populate menu on the fly through AJAX

26
Hi I am trying your drop down menu. It is so easy to use and it looks so good. Thank you!

I have a question. My menu will be initiated on page load. When user select an option, the menu items should be changed to new items dynamically in respond to the selection. Is this possible that the menu will be initiated on page load and then later changed to other mark-up?
Timothy L  12 years ago   viewed: 12538    

1 Answer

1
Yes it is possible.
Just build your menu markup again and then call:
ddmenu.init();
If building menu markup is done through AJAX, call ddmenu.init(); in the AJAX's callback.
John   12 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: