krisrak / appframework-templates

HTML5 Mobile App UI templates created using Intel App Framework
MIT License
119 stars 100 forks source link

Login View Template #6

Closed notorioushanz closed 8 years ago

notorioushanz commented 10 years ago

Hello,

How you get username and login in signup element to use in javascript? I did getelementbyid("signup") and get an object. But i don't know how to get username and password properties.

gabicristina commented 10 years ago

Hi!

You could get it using document.getElementsByName("username")[0].value; This link might help you: http://stackoverflow.com/a/11563667

notorioushanz commented 9 years ago

Thank you! i did not see your answer back then.