Menu

Problem with Datepicker

Help
2001-11-15
2001-11-30
  • Stefan Weiss

    Stefan Weiss - 2001-11-15

    Hi,

    im using iFrame 2.1. Everything works fine but the datepicker doesn't work.

    Is this a known bug or a problem of the browser

    Stefan

     
    • Gert Van Ham

      Gert Van Ham - 2001-11-19

      Hi,

      Make sure JavaScript is enabled (popup window & paste date value into the box). The datepicker
      works fine with following browsers (on NT):

      - Opera 5.12
      - Internet Explorer 4.x
      - Internet Explorer 5.x
      - Mozilla 0.95
      - Netscape 4.78

       
    • Stefan Weiss

      Stefan Weiss - 2001-11-21

      Hmm,

      Javascript is enabled, i tried it on W2K wit IE 5.x and IE 6.x with no success

      Any Idea?

      Thanks for your reply

      Stefan

       
    • Stefan Weiss

      Stefan Weiss - 2001-11-30

      I've solved the Problem:

      In the if_ifield.cfm i've chanched the Datepicker:

      <CFIF Attributes.Datepicker IS "True">       
      <SCRIPT LANGUAGE="JavaScript">
      function calendar_#Attributes.Name#() {       
      window.dateField=document.#baseData.Attributes.name#.#Attributes.Name#;

      calendar=window.open("/iframe/calendar/calendar.cfm?langcode=#Client.iframe_pref_langcode#&startdate=" + document.#baseData.Attributes.name#.#Attributes.Name#.value,"cal","WIDTH=300,HEIGHT=220");
                          }
      </SCRIPT>
      <A HREF="##" onclick="calendar_#Attributes.Name#();"><IMG SRC="/iframe/images/datepicker.gif" BORDER=0 ALT='#Application.if_label["#Client.iframe_pref_langcode#"]["LNK_FORM_CALENDAR"]#'></A>

      </CFIF>

      --------------------------

      Bye

      Stefan

       

Log in to post a comment.

MongoDB Logo MongoDB