home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.javascript      Notorious crap from makers of Netscape      235,101 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 233,761 of 235,101   
   Lawrence D'Oliveiro to All   
   Re: Statement-Continuation Rule   
   20 Feb 24 06:03:30   
   
   From: ldo@nz.invalid   
      
   Another example. This doesn’t work:   
      
       return   
           {   
               source : "/autocomplete/search-widget.php",   
               select :   
                   function (event, ui)   
                     {   
                       $("#select_widget_name").val(ui.item.label)   
                       $("#select_widget_id").val(ui.item.value)   
                     } /*function*/,   
           }   
      
   but this does:   
      
       res =   
           {   
               source : "/autocomplete/search-widget.php",   
               select :   
                   function (event, ui)   
                     {   
                       $("#select_widget_name").val(ui.item.label)   
                       $("#select_widget_id").val(ui.item.value)   
                     } /*function*/,   
           }   
       return res   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca