small_doubts
asked on
Adding a date picker
I am new to Notes. I want to add a date picker to one of my form. This is for web. Please tell me how to do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the link. I will test it. Can I do it with javascript only? I am also posting one more question.
You can do it through Java Script also. but the interface will not be good. DHTML is the best and this example which is in the link, is the best.
If you want java Script, then look for Killer Application and you can find it in that database.
if I have link, I will post it here.
If you want java Script, then look for Killer Application and you can find it in that database.
if I have link, I will post it here.
ASKER
Ok. I am waiting. Thanks.
ASKER
Thanks. I will try it.
u have to DHTML. It is my suggestion.
I bet you will like it.
I bet you will like it.
ASKER
Can I put this code in a .js file and include it with script tag before using?
No.
Place it in JS Header and follow the instructions in the link.
<input type="button" value ="Date"
onclick=getMonth_and_Date( document.f orms0],'YO URFIELDNAM E');putcal (this.form ,'Y
OURFIELDNAME')>
this creates a button and calls the function...put the name of the date field
where it says YOURFIELDNAME..
Thanks to Mike.
Place it in JS Header and follow the instructions in the link.
<input type="button" value ="Date"
onclick=getMonth_and_Date(
OURFIELDNAME')>
this creates a button and calls the function...put the name of the date field
where it says YOURFIELDNAME..
Thanks to Mike.
ASKER
hi madheeswar, the second code you suggested is not working. Apparently on the website, some characters are missing. I tried fixing them but i think still errors are left. I did complete reformatting and debugging to make it work, but its not helping. But I appreciate your help.
I will find the link for u.