Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Sorry to post javascript question here, because I don't know where should I post...

 

May I know how to change the listbox items sorting using Javascript?

 

For examples: My listbox got 2 items "A", "B", how to change it to "B", "A"?

Posted

Since nobody answer my question, I was solve it using stupid method:

 

I remove all the items in listbox and adding them again in listbox according the new sorting.

 

It can be done but request more process, if any expert got a better solution, please let me know...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...