Javascript img event on click
-
hello there i have on click event that open a popup calendar but the problem is that after getting the date from the popup in format MM/dd/yyyy i want to change the format to Month ddy, yyyy for example i click on the calendar image a calendar popup opens usually it gives 01/01/2001 format but at the a specific text box i want it to be January 01, 2001 how could this be done how could i get the information and then change it to that format i tried to do 2 functions triggered on click event but the next one will not wait for the first one to end they are queued they are triggered in parallel.
-
hello there i have on click event that open a popup calendar but the problem is that after getting the date from the popup in format MM/dd/yyyy i want to change the format to Month ddy, yyyy for example i click on the calendar image a calendar popup opens usually it gives 01/01/2001 format but at the a specific text box i want it to be January 01, 2001 how could this be done how could i get the information and then change it to that format i tried to do 2 functions triggered on click event but the next one will not wait for the first one to end they are queued they are triggered in parallel.
why dont you use
Date()
class of javascript to build your own date format. http://www.w3schools.com/jS/js_obj_date.asp[^] This might help you. :thumbsup:Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.