javascript - HTML Form Data into Ruby Formula -


i'm trying create page can type textbox, on page, , create variable using data.

so far, have:

<form name = frmname>  first nme: <input type = text name = txtfirst value ="">  last nme: <input type = text name = txtlast value ="">  <p> total: <input type = text name = txtfullname value = ""> <p> <input type = button name = b1 value = "submit" onclick = calculate()>  </form> 

the javascript working allows me run onclick command, need has have page can insert data, , populate variable data.

for example. type first name , last name textboxes on page. variable running in background, created. (ex. variable = first + name). variable can used in code on rest of page. please keep in mind, don't want add form data database.

is possible in ruby only?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -