Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Javascript img event on click

Javascript img event on click

Scheduled Pinned Locked Moved Web Development
javascripthelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kKamel
    wrote on last edited by
    #1

    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.

    A 1 Reply Last reply
    0
    • K kKamel

      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.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups