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

Re: [ydn-javascript] Sometimes work sometimes does not

Expand Messages
  • Cecil Vermule
    The line that reads this.clear should actually read this.clear(); If that works, I m glad to have helped. If not, can you give a working example and also
    Message 1 of 2 , Mar 1, 2006
    • 0 Attachment
      The line that reads "this.clear" should actually read "this.clear();"
       
      If that works, I'm glad to have helped.  If not, can you give a working example and also give a little bit more of a description? (Such as browser, if there a specific way it is redirecting vs. not.)

       
      On 3/1/06, berkay_unal <berkayunal@...> wrote:
      Hi,

      I have the following code when i click on the dates it sometimes
      redirects sometimes does not. What might be the problem. Thanks

      var cal1;

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

                             cal1.onSelect = function(){
                             aaa = this.selectedDates [0];
                             this.clear
                             window.location = "index.php?date="+aaa;
                             }

                             cal1.render();


      }






      Yahoo! Groups Links

      <*> To visit your group on the web, go to:
         http://groups.yahoo.com/group/ydn-javascript/

      <*> To unsubscribe from this group, send an email to:
         ydn-javascript-unsubscribe@yahoogroups.com

      <*> Your use of Yahoo! Groups is subject to:
         http://docs.yahoo.com/info/terms/





    Your message has been successfully submitted and would be delivered to recipients shortly.