|
|
If I have a button that in an onclick I want to popup calendar, how would I do that?
Return to Recent Questions
Q:
Two more questions, while waiting for this answer:
1) calendarDatePicker.handlers( ['dtEvent', 'dtEvent', {type : 'datetime',
format:'%L %d, %Y, %l:%M %p', locale:'en'}] ); is ignoring the date format.
2) If I have a button that in an onclick I want to popup calendar, how
would I do that?
3) I am getting 'incorrect copyright', suggestions?
Thank you, I have people waiting for me to bring this site live - your fast
help is appreciated
A:
>I am getting 'incorrect copyright', suggestions?
You should write NOSCRIPT tag in the following way:
<noscript><a href="http://calendardatepicker.com">Javascript Calendar Date Picker by calendardatepicker.com</a></noscript>
> 1) calendarDatePicker.handlers( ['dtEvent', 'dtEvent', {type : 'datetime',
> format:'%L %d, %Y, %l:%M %p', locale:'en'}] ); is ignoring the date format.
> 2) If I have a button that in an onclick I want to popup the calendar, how
> would I do that?
You should install the calendar in the following way:
<form>
<script>
window.onload = function(){
calendarDatePicker.handlers(['cal', 'txt', {type : 'datetime', IiI:'%L %d, %Y, %l:%M %p', locale:'en'}]);
};
</script>
<input type="button" value="Click to open calendar" id="cal" name="cal" onClick="">
<input type="text" id="txt" value="">
<div id="test-box" style="width:40px;height:40px;position:absolute;left:200px;top:10px;"></div>
</form>
Return to Recent Questions
Related:
- Sep 05, 2006 - Change cursor to a hand when over a menu link...
- Oct 03, 2006 - Do I have the ability to change colors for the menus and the sub menus in the cascade menu.
- Nov 03, 2006 - I want to use a Flash icon with sound next to the menu items in javascript list menu...
- Nov 26, 2006 - How to keep my floating html menu in the centre of the page like <centre></centre>
- Dec 14, 2006 - Images of HTML Menu still showing up as blank in the preview screen...
- Dec 30, 2006 - Can I create the following menu with your javascript menu sample code?
- Jan 17, 2007 - I have small problems with your javascript menu system
- Feb 02, 2007 - The background images for dhtml drop down menus are missing in the browser
- Feb 19, 2007 - I'm having several questions regarding your javascript mouse over popup menu
- March 06, 2007 - Do you have a jump menu html that allows the sub-items to slide out from the menu?
- March 22, 2007 - If your cascade menus supports key navigation, like alt-F to select a menu?
|