ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Set value to Button

Hi,

Is it possible to set value of button component, value is coming via rest service

Thanks,
Ishani

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Set value to Button

Hi Ishani,

You can use this code:preAppery("mobilebutton").text("test")/preWhere mobilebutton is a button component name.

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Set value to Button

Hi, I dont want to change the text, i Want to bind value to button with particular Id

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Set value to Button

Hi Ishani,

What do you mean by id? If HTML attribute id - use this:prescreenName_mobiletextarea/pre ('screenName' is a page name, 'mobiletextarea' is a component name).
What do you mean by binding textarea with id?

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Set value to Button

Thanks Katya, I solved it :)

Return to “Issues”