Html filed bind with database using javascript

Hi All,

how to bind html input field to database through  Javascript????

I have a table with two attribute FirstName and LastName and i want to bind this input filed to this table through javascript??



Are you using OutSystems? 

What problem have you found to have the need to use Javascript?

Stay safe 


Hi Mansur,

You can try to find these values using JavaScript either by passing the name or id you have provided.



I can store form value in a variable but how to insert in database??

function InsertRecord() 


 var txtid = document.getElementById('txtid').value;

var txtname = document.getElementById('txtname').value; 

var txtsalary = document.getElementById('txtsalary').value;


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.