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. Select calendar

Select calendar

Scheduled Pinned Locked Moved Web Development
questiondesignhelptutorial
3 Posts 3 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.
  • M Offline
    M Offline
    momoo
    wrote on last edited by
    #1

    Hi.. I'm currently doing a web design on the calendar. I would like to ask that if i click the date on the calendar, how can i make it appear on the text box once i click on the date? I have tried several ways of doing it but it does not show out. Did anyone know how to call the date out onto the textbox? Your help will be greatly appreciated.Thank :laugh: Cheers!

    C R 2 Replies Last reply
    0
    • M momoo

      Hi.. I'm currently doing a web design on the calendar. I would like to ask that if i click the date on the calendar, how can i make it appear on the text box once i click on the date? I have tried several ways of doing it but it does not show out. Did anyone know how to call the date out onto the textbox? Your help will be greatly appreciated.Thank :laugh: Cheers!

      C Offline
      C Offline
      C M
      wrote on last edited by
      #2

      sRtn = showModalDialog("Datescripts/calendar.htm","","center=yes;dialogWidth=350pt;dialogHeight=200pt"); if (sRtn!="") elTarget.value = sRtn; try to match this into your onclick function (javascript)

      1 Reply Last reply
      0
      • M momoo

        Hi.. I'm currently doing a web design on the calendar. I would like to ask that if i click the date on the calendar, how can i make it appear on the text box once i click on the date? I have tried several ways of doing it but it does not show out. Did anyone know how to call the date out onto the textbox? Your help will be greatly appreciated.Thank :laugh: Cheers!

        R Offline
        R Offline
        Rajkamal_dfine
        wrote on last edited by
        #3

        When You Open a New Window When you open a new window (Calendar) just pass your form name along with the textbox name. Inside The Your Code in NEWWINDOW.ASP When you click any control in NEWWINDOW.ASP you may call some function. In that function use the following code. if (opener !=null){ var updateTo=eval("opener.document." + hSourceCtrlName); updateTo.value=dateField; updateTo.focus(); } Where hSourceCtrlName=FORM NAME.TEXT BOX NAME(where you want to return focus) Where dateField =Your Date. N.Rajakumar B.E., Application Developer,

        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