Skip to main content
Inspiring
March 3, 2020
Answered

Radio Buttons Canvas value and text with Javascript

  • March 3, 2020
  • 1 reply
  • 372 views

I want to set the values and text to radiobuttons components in html5 canvas per Javascript.

I don`t want to use the components panel.

Does anyone know a documentation for this components.

 

This topic has been closed for replies.
Correct answer pastorpixel

I have got it the a radio button with instance name r1 the value is:

$("#r1").val('Super');

 the label is

$("#r1").next().text( "Default" );

 

1 reply

pastorpixelAuthorCorrect answer
Inspiring
March 3, 2020

I have got it the a radio button with instance name r1 the value is:

$("#r1").val('Super');

 the label is

$("#r1").next().text( "Default" );