facebook

Problem with radio buttons: 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 1 post (of 1 total)
  • Author
    Posts
  • #327043 Reply

    Max87
    Member

    Hi guys,
    I need your help…
    I’m coding an game app, which has few radio buttons. In design center, I created UI and values for radio buttons is not set.
    I’m setting value to radio button via jquery in function, which is called by document.ready:
    $(‘#m1-screen1-radio3’).val(value);
    this is ok. then I call another function, which check the value of checked radio button and logs it in console:
    console.log($(‘input:radio[name=radio-group1]:checked’).val());

    And here is the problem – in all four cases(I have four radio buttons on screen) console logs undeffined or blank space, even on the radio button, which has set value by previous function.

    Can you help me pls, how to resolve this?
    Thx.

    edit: I solved this problem, if have anyone similar problem, I can post my solution

Viewing 1 post (of 1 total)
Reply To: Problem with radio buttons: CLOSED

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