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

Re: [ydn-javascript] calling a function with onAvailable

Expand Messages
  • Eric Miraglia
    Nabi, Drop the second argument. You can check out onAvailable s argument signature here: http://developer.yahoo.com/yui/docs/YAHOO.util.Event.html#onAvailable
    Message 1 of 2 , Dec 4, 2007
    • 0 Attachment
      Nabi,

      Drop the second argument.  You can check out onAvailable's argument signature here:


      Regards,
      Eric
      ______________________________________________
      Eric Miraglia
      Yahoo! User Interface Library



      On Dec 4, 2007, at 6:07 AM, nabbs_001 wrote:

      Hi,

      Can anyone tell me why the below code does not work?

      YAHOO.util.Event. onAvailable( 'mydiv', '', function() { setequalheight
      ('mydiv', 'divname', 'classname') });

      I'm trying to change the height of a div which is dynamically generated.

      Thanks
      Nabi


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