Results 1 to 2 of 2

Thread: Popup Calendar

  1. #1
    Join Date
    Jul 2008
    Posts
    24
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default Popup Calendar

    1) Script Title: Popup Calendar

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...opcalendar.htm

    3) Describe problem: I have a form with a selection as
    <td valign="top" style="width: 396px">
    <strong><span class="style3">

    <input name="an" type="text" size="35" tabindex="5"></a></span></strong></td>
    </tr>
    <td valign="top" style="width: 396px">
    <strong><span class="style3">

    <input name="ab" type="text" size="35" tabindex="5"></a></span></strong></td>
    </tr>

    How do I use the code

    <input type="text" name="choice1_1" onFocus="getCalendarFor(this)">

    as I want the form to post the an and ab dates?

    REgards

    Drachsi

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That looks about right. However, this script apparently only works in IE. I'd suggest another script, perhaps:

    http://www.dynamicdrive.com/dynamici...oncalendar.htm

    or (I believe this one would require an onclick event, as it is a pop up window):

    http://www.dynamicdrive.com/dynamici...pcalendar2.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Drachsi (07-30-2008)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •