Hi,
I am dynamically adding controls by building the HTML and then inserting it. I need to insert a date input box with a value already selected
strHTML ='<
input
type
=
"date"
id
=
"' + val["
ID"] + '"
name
=
"Date-' +val["
Description"]+ '"
datatype
=
"date"
att
=
"' + val["
ID"] +'"
onblur
=
"doneEditing(this)"
value
=
"' + val["
value"]+ '"/>';
val["value"] is a valid date string.
What should I do to get this working?
Thank you.