cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Run a service from HTML button click

fmanniti
10-Marble

Run a service from HTML button click

Hello, I have a thing with a NUMBER property (let's call it prop) and a service (let's call sumProp) which sums prop value with a input value.

I created a service which returns a HTML basetype result like this:

html += '<p>Value: <input id="ValueInput" type="text" name="user"></p>';

html += '<button>Set</button>';

I would like that, on button click, will be triggered service sumProp where the input value is the value in <input id="ValueInput" type="text" name="user">

Is it possible to do this?

0 REPLIES 0
Announcements


Top Tags