Loading ...
Sorry, an error occurred while loading the content.

RE: [ydn-javascript] How to get the value from Calendar Control?

Expand Messages
  • Satyen Desai
    Hi, The following examples should help: http://developer.yahoo.com/yui/examples/calendar/events.html
    Message 1 of 2 , May 30 6:38 PM
    • 0 Attachment
      Hi,
      The following examples should help:

      http://developer.yahoo.com/yui/examples/calendar/events.html
      http://developer.yahoo.com/yui/examples/calendar/formtxt.html
      http://developer.yahoo.com/yui/examples/calendar/formsel.html

      Regards,
      Satyen
      ________________________________________
      From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of sailer.shen
      Sent: Sunday, May 25, 2008 6:35 AM
      To: ydn-javascript@yahoogroups.com
      Subject: [ydn-javascript] How to get the value from Calendar Control?

      I write the html file for view the calendar:

      ----------------------------------------------------------
      <script type="text/javascript" src="build/yahoo/yahoo.js"></script>
      <script type="text/javascript" src="build/event/event.js" ></script>
      <script type="text/javascript" src="build/dom/dom.js" ></script>
      <script type="text/javascript" src="build/calendar/calendar.js"></script>

      <html>
      <body class="yui-skin-sam">
      <link type="text/css" rel="stylesheet"
      href="build/calendar/assets/skins/sam/calendar.css">
      <div id="cal1Container"></div>
      </body>
      </html>

      <script>
      YAHOO.namespace("example.calendar");

      YAHOO.example.calendar.init = function() {
      YAHOO.example.calendar.cal1 = new
      YAHOO.widget.Calendar("cal1","cal1Container");
      YAHOO.example.calendar.cal1.render();
      }

      YAHOO.util.Event.onDOMReady(YAHOO.example.calendar.init);
      </script>
      ----------------------------------------------------------

      I want to know how to get the value when I press in the calendar? I
      hope use the value in php.
      Thanks.
    Your message has been successfully submitted and would be delivered to recipients shortly.