Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.javascript > #7975
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Alessandro Pellizzari <shuriken@amiran.it> |
| Newsgroups | it.comp.lang.javascript |
| Subject | Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() |
| Date | 24 Jan 2016 13:33:48 GMT |
| Lines | 22 |
| Message-ID | <dgk25sFb88lU1@mid.individual.net> (permalink) |
| References | <12069110-6044-4930-9e22-4304304ea799@googlegroups.com> <dgjb1pF5cgoU1@mid.individual.net> <3855b4c6-80be-4975-a9a2-e38e2fae4cc5@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net FLW4JOmPfsPElduFrqO9TASi7kLotIKo2CIPEDjgvRjSpjBUA= |
| Cancel-Lock | sha1:IhH3nViVWkBkIKB6xj5sajqLHbg= |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| Xref | csiph.com it.comp.lang.javascript:7975 |
Show key headers only | View raw
Il Sun, 24 Jan 2016 02:06:17 -0800, albaserver ha scritto:
> Ma, a scopo didattico, come fa jQuery ad estendere le funzioni e a
> operare su $("qualcosa").lavoraSulReturnDellaFunzione()?
jQuery ritorna quasi sempre un "oggetto jQuery" che wrappa altre cose,
tipicamente un array di elementi del DOM.
Prova a fare
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
<script>
console.log($('li'));
</script>
e vedi cosa ti stampa nella console. :)
Bye.
Back to it.comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar
oggetto.nomeFunzione("stringa").operaSullaFunzione() alcaseltzer <albaserver@gmail.com> - 2016-01-23 13:17 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 06:59 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 02:06 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 02:26 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 13:33 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 05:48 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 14:14 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 06:28 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() 4ndre4 <4ndre4@4ndre4.com.invalid> - 2016-01-24 14:52 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 15:50 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 10:45 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() 4ndre4 <4ndre4@4ndre4.com.invalid> - 2016-01-24 19:08 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 12:33 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() 4ndre4 <4ndre4@4ndre4.com.invalid> - 2016-01-24 13:56 +0000
csiph-web