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
Post a Comment