facebook

Combobox Help : CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    dweidler
    Member

    Could Someone please help me, I’m trying to clear or reset a combobox with a button. The actions I have for the button are, on click run JS, and the code I’m using is $(‘#m1-Combo-combobox1’).html(“Value”); I can’t seem to get this to work any help would be greatly appreciated.

    Thanks.

    #343075

    Muhammad
    Member

    You can make empty the combo using this code

    $('#m1-filename-combo_name').empty();

    filename is project name, combo_name is combo’s id

    May help you

    #343076

    dweidler
    Member

    Thank you very much for taking the time to help me out, However I was not able to get this to work this was what I tried.
    The Project is – Test 2
    combo id – combobox1
    if I understand your directions based off this I think that the code would be

    $(‘#m1-test2-combo_combobox1’).empty();
    or
    $(‘#m1-test2-combobox1’).empty();

    Do you have any other ideas by chance? I have attached a couple of screen shots to help out.

    Attachments:
    You must be logged in to view attached files.
    #343081

    Muhammad
    Member

    If your project file name is – Test 2 – Try use this

    $('#m1-Test_2-combobox1').empty();
    #343113

    dweidler
    Member

    It worked! I see my errors in the way I input the code. Thanks for teaching me and thanks you for all the help.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Combobox Help : CLOSED

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