Hi Lewis,
Thanks for using Syncfusion Products.
We have analyzed your requirement (“To set the Value to Numeric Textbox”).We can use the Value property to set the value for textbox control.
Please refer the below code.
[JAVASCRIPT]
function myFunction(inst,args) {
var openValTBs = $(".stock-open-val .e-numerictextbox");
var openTotal = 0;
for (var i = 0; i < openValTBs.length; i++)
{
var value = openValTBs[i]["value"];
if ($.isNumeric(value)) openTotal += parseFloat(value);
}
$("#ntbTotal").ejNumericTextbox("instance").option({ value: openTotal });
} |
As per requirement, we have prepared a sample and the sample can be downloaded from the following location.
To know more about the api configuration, please refer the below link.
Please let us know whether the provided sample is helpful in achieving your requirement or not. If you have any other queries, please get back to us with additional information, we will happy to assist you.
Regards,
Ashokkumar B