|
|
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 06, 2007 - Client cannot enable scripting in their security settings. He cannot see button popup menu
- Oct 11, 2007 - Is there a way to open the link of my down horizontal menu in the same window?
- Nov 11, 2007 - I need to create a context menu popup triggered from a flash movie button.
- Nov 13, 2007 - I want to use free Non-Profit License of down menu button for my own application
- May 05, 2009 - How I make to insert a code java in the event on click of the button "Ok", when this button is in tree dhtml menu bar?
- Nov 26, 2009 - I need to create a popup menu in javascript triggered from a flash movie button.
- Jan 14, 2010 - I have a website where the customer asks a onclick popup window so they can listen in to a radio braodcast. i.e. popup on demand.
- February 24, 2010 - We cannot find any info in any of the other features like open popup window or calendar functions.
- April 20, 2010 - When I click into a field and the calendar pops up that it doesn't pick up the date/time values.
- May 6, 2010 - Can I just have the date displayed without the time in the javascript popup calendar
- June 12, 2010 - Where can I find the onClick code for the html javascript popup?
|