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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Run a service from HTML button click

fmanniti
9-Granite

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
Top Tags