Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.javascript > #8197
| X-Received | by 10.129.103.134 with SMTP id b128mr14071287ywc.14.1491468783729; Thu, 06 Apr 2017 01:53:03 -0700 (PDT) |
|---|---|
| X-Received | by 10.157.41.1 with SMTP id d1mr462336otb.10.1491468783680; Thu, 06 Apr 2017 01:53:03 -0700 (PDT) |
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!n37no5830767qtb.0!news-out.google.com!j72ni956itb.0!nntp.google.com!y18no5077882itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | it.comp.lang.javascript |
| Date | Thu, 6 Apr 2017 01:53:03 -0700 (PDT) |
| In-Reply-To | <o8s11j$1tve$1@adenine.netfront.net> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=62.249.32.77; posting-account=daAe8QoAAACzufegLd6ZK8AadNMbrMqO |
| NNTP-Posting-Host | 62.249.32.77 |
| References | <o8s11j$1tve$1@adenine.netfront.net> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <2904f636-2a7f-464d-9463-5449e9944f9c@googlegroups.com> (permalink) |
| Subject | Re: problemi su chrome |
| From | Indec Mal <indecmal@gmail.com> |
| Injection-Date | Thu, 06 Apr 2017 08:53:03 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Lines | 29 |
| Xref | csiph.com it.comp.lang.javascript:8197 |
Show key headers only | View raw
Il giorno sabato 25 febbraio 2017 14:32:36 UTC+1, Gulp® ha scritto:
> function elimina(voxact)
> {
> return confirm("Sei sicuro di voler eliminare la voce "+voxact+" ?");
> }
>
> <a href="attivitagestdel.asp?Id=<%=rs("ID")%>" onClick="return
> elimina('<%=rs("ATTIVITA")%>');"
>
> Il codice sopra funziona in Firefox, ma non funziona in Chrome.
> Qualcuno ha qualche suggerimento?
> Naturalmente javascript e relative finestre pop è attivato.
> Anche in Chrome compare la pop con la richiesta di conferma, ma non c'è
> seguito nel comando: nel database non viene cancellata la riga relativa.
Metti il compilato e non il codice della jsp. Probabilmente stai stampando qualcosa di errato.
In ogni caso funziona. Il return nell'onclick non serve a nulla.
<script>
function elimina(voxact)
{
return confirm("Sei sicuro di voler eliminare la voce "+voxact+" ?");
}
</script>
<a href="attivitagestdel.asp?Id=aasd" onClick="elimina('sda');">ss</a>
Back to it.comp.lang.javascript | Previous | Next — Previous in thread | Find similar
problemi su chrome Gulp® <seizeta@email.it> - 2017-02-25 14:32 +0100 Re: problemi su chrome Indec Mal <indecmal@gmail.com> - 2017-04-06 01:53 -0700
csiph-web