Thread:Dessamator/@comment-5065259-20160222210830

This is regards to wikistyle infoboxes since PI does not yet have this feature. here is the template that i'm testing on. I managed to use the following to insert a dropdown menu to act as an infobox row value using the following:

I added following after the above div tags to act as a hidden variable to store the selection choice: 

The javascript that i have managed so far creates a dropdown and a save button: $("#my-dropdown").html(" pie  cookie  cake  Save ");

This is the part that i need API help with as I'm unsure how to figure out how to get the selection then save it into my variable "value" $('.dropdown-save-button').click(function { });

Sorry for the long post, hopefully this is well explained if not feel free to ask for clarification. I can grant you sysop on my test wiki. 