facebook

Clear the selected value in a list

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #323720 Reply

    dan.phifer
    Member

    I’ve tried a few different ways to clear the selected value in a list, but I haven’t had any luck. I am using the same list over and over, and I would like to clear the selection before showing the list to the user. I saw the post on accessing the hidden select list using:

    $(‘#m1-myPage-hidden-select-myList’)

    but setting the val(…) on that doesn’t seem to change the list. I also tried:

    $(‘select[name=”myList”] :selected’).selected = false;

    Any help would be appreciated.

Viewing 1 post (of 1 total)
Reply To: Clear the selected value in a list

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