I want to receive two values: data1 and data2 from hype and store them in a MySql table.
The routine works, but it only stores blank record in Mysql table.
The routine works, but you only store 0s in Mysql.
Apparently I am not associating the value entered in Hype with the java variable.
¿ How do you relate Hype's "text input box" to the variable created in the resultsend () function?
My apologies I speak Spanish and my translation may not be the best.
The other way would be to take the value of your input boxes and place them in a text element but hide this. Then send the text element to the database maybe?
(I've moved the posts from the previous topic over to this one since it is about specific help)
It looks like the problem is that you use a Unique Element ID on the Hype element (dato1 and dato2), and also reuse them in the Inner HTML for the <input> fields. Therefore it is reading the .val() from the Hype element, which is blank. You should only have one unique element ID, so if you just remove them on the Hype element, and leave them on the inner HTML <input>, then it will work.