facebook

Set combobox value programmatically: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #351613 Reply

    pratiti
    Member

    Hello,

    How can I set Combo Box value through custom JS file?

    #351631 Reply

    Code_A
    Member

    Try this (index being the number of the item you want to select):

    $('select[name="combobox1"] option:eq(index)').attr('selected','selected')
    #351637 Reply

    pratiti
    Member

    Thanks, it worked 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Set combobox value programmatically: CLOSED

You must be logged in to post in the forum log in