facebook

combobox selection

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

    Pygmy
    Member

    Hi,
    If someone can help me with the next problem I’d be very grateful.
    I’d like to have 2 comboboxes with predefined numerical values, and a text-field that displays the result of the selected combobox items multiplied.
    I guess this should be really simple but somehow I can’t figure out how to use ‘selected combobox items’.

    (Combobox A selects “2”, Combobox B selects “9”, TextField should output “18”)

    #333743 Reply

    Pygmy
    Member

    nobody ?

    #333756 Reply

    Hi

    This should do the trick:

    @combobox2 wrote:

    ‘).val();
    var result = var1*var2;
    $(“#m1-Untitled1-textField1”).val(result);

    See Customizing Widgets Using JavaScript to learn more about get/set values of widgets.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: combobox selection

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