Updating select box options via jQuery AJAX? -


Is there some type of plugin to do this? The server will return labeled JSON content to label and value.

I can do it manually, I just want to see that there is no easy way.

<

  Select var: div class = "text" itemprop = "text"> 

= Document.createElement ('options'); Opt.value = "someValue"; Opt.appendChild (document.createTextNode ("someText")); $ ('# MySelect') enclosed (optional).


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -