Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #122238

Re: Statement-Continuation Rule

Path csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups comp.lang.javascript
Subject Re: Statement-Continuation Rule
Date Tue, 20 Feb 2024 06:03:30 -0000 (UTC)
Organization A noiseless patient Spider
Lines 26
Message-ID <ur1fbi$2bqel$4@dont-email.me> (permalink)
References <uq1bhn$1lp15$4@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 20 Feb 2024 06:03:30 -0000 (UTC)
Injection-Info dont-email.me; posting-host="9a4f3fe2663ca2b9e7bae5acf1565dcf"; logging-data="2484693"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/npq3HbJkh5atID+pV+gI+"
User-Agent Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock sha1:jSyvWD7fiOWZ0yU2Y1e9Swd+fLg=
Xref csiph.com comp.lang.javascript:122238

Show key headers only | View raw


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 | NextNext in thread | Find similar


Thread

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