How to retreive a value from an input type date

How to retreive a value from an input type date

BY 21 Aug 2013 Web Application Development

Hi, 

i developped an html5 application on Tizen SDK 2.2, this application contains a form, and this form contain an input type date, i have to retreive the value of this input and diplay it in another window. I tried to retreive thi value with var dateSalary = document.getElementById(‘dateSalary’).value;” and tried to display it on the Console but it doesn’t works, so i tried to retreive the value with var x= $(“#dateSalary”).val();” and it doesn’t works too. I tried to retreive a value from an input type number and it works perfectly!

So if any one have an idea about this or a help support that i should follow, leave me a comment.

Thank you

Written by