Drop Down Menu / Posts /

Populate menu on the fly through AJAX

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  11 years ago   viewed: 12366    

1 Answer

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


Your name*
(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: