Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #122238
| From | Lawrence D'Oliveiro <ldo@nz.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Statement-Continuation Rule |
| Date | 2024-02-20 06:03 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <ur1fbi$2bqel$4@dont-email.me> (permalink) |
| References | <uq1bhn$1lp15$4@dont-email.me> |
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
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar
Re: Statement-Continuation Rule Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-02-20 06:03 +0000
Re: Statement-Continuation Rule John Harris <niam@jghnorth.org.uk.invalid> - 2024-02-20 11:04 +0000
Re: Statement-Continuation Rule Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-02-20 19:40 +0000
csiph-web