|
Mailing Lists
|
Home /
Groups /
Javascript
Javascript generate dynamic date field with date mask "mm/dd/yyy"
Author: Mo Lay
Short Link: http://www.houseoffusion.com/groups/javascript/thread.cfm/threadid:2200#6722
Hi folks,
i am trying to generate a dynamic datefield with date mask "mm/dd/yyyy" and
trying to insert it into Oracle db ...i still got the error ORA invalid month
ehich means the date filed is not recognized as date:
below is what i am doing :
newStartDate = document.createElement( 'INPUT' );
newStartDate.setAttribute('type','Date');
newStartDate.setAttribute('id1','id'+ elementid+elementrow);
newStartDate.setAttribute('name','StartDateName'+ elementid+elementrow);
newStartDate.size=8;
newStartDate.style.backgroundColor= bgc;
any help thanks ??
Also i want to add a datepicke to this textbox..how it is posible / other option
is to use Jquery datepicker but could not know how to impement it
thanks again
|
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||