![]() |
| ||
| Date function in Drop-Down Box <select name="test1" style="width: 200px"> This is typical drop-down box in html forms. My question is, hot to make the option to capture current date. Or Must I use any other function than drop-down box. Please advise. |
| ||
| Re: Date function in Drop-Down Box Hi there, try this code("Function") this may help you javascript: <script type="text/javascript"> HTML <a href="javascript:void(0);" onclick="addDate()">create Option</a> But if you like to to capture current date, then you can use Text Box, i think there is not any need of multiple selections for current date... Function for Text Box javascript: <script type="text/javascript">HTML <a href="javascript:void(0);" onclick="addDate()">create Option</a> I Hope this will help you Best Regards, Rahul Dev Katarey |
| ||
| Re: Date function in Drop-Down Box Thanks for the codes. Actually I'm looking for the codes which can produce output like this 2000-03-24(masked) The date should be in that particular format and masked. Once the form is open, the current date will be automatically there and masked. advise pls. |
| All times are GMT -4. The time now is 2:12 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC