Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > it.comp.lang.javascript > #8240

Re: sintassi

From Gulp® <gulp@hotmail.it>
Newsgroups it.comp.lang.javascript
Subject Re: sintassi
Date 2018-03-27 19:08 +0200
Organization Aioe.org NNTP Server
Message-ID <p9dtqu$vei$1@gioia.aioe.org> (permalink)
References <p9d9eb$1mfj$1@gioia.aioe.org> <a2a6e03c-b30b-4714-b04c-6d1bc1fe67f4@googlegroups.com> <p9dl00$bm4$1@gioia.aioe.org>

Show all headers | View raw


Il 27/03/18 16:37, Gulp® ha scritto:
> Il 27/03/18 14:01, Indec Mal ha scritto:
>> document.write("<tr style='background-color:red; border:1px solid
>> black;' onclick='VoceCat(" + categorie[i] + ");'><td
>> style='font-size:26px; width:338px; height:30px;'>" + categorie[i] +
>> "</td></tr>")
>
> Grazie.
>
> Nemmeno così funziona.

L'errore in debug: Gioiellerie is not defined
     at HTMLTableRowElement.onclick

Dove Gioiellerie è la voce di TR

Secondo me sto passando la voce Gioiellerie ma devo metterla come 
stringa, quindi la sintassi sopra quando include in VoceCat 
categorie[i], va ulteriormente corretta per poter passare la categoria 
come stringa....ho provato, ma mi sono perso nuovamente tra doppi 
apici...non cavo un ragno dal buco....


-- 
Gulp®
--
"Partimque figuras retulit antiquas, partim nova monstra creavit."
(La Metamorfosi - Ovidio)

Back to it.comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

sintassi Gulp® <gulp@hotmail.it> - 2018-03-27 13:20 +0200
  Re: sintassi Indec Mal <indecmal@gmail.com> - 2018-03-27 05:01 -0700
    Re: sintassi Gulp® <gulp@hotmail.it> - 2018-03-27 16:37 +0200
      Re: sintassi Gulp® <gulp@hotmail.it> - 2018-03-27 19:08 +0200
        Re: sintassi Indec Mal <indecmal@gmail.com> - 2018-03-28 04:00 -0700
          Re: sintassi Gulp® <gulp@hotmail.it> - 2018-03-29 09:31 +0200
            Re: sintassi Sandro kensan <kensan@kensan.it> - 2018-03-29 17:20 +0200

csiph-web