Qualify or remove $.fn.text caveat
@AurelioDeRosa ci sta già lavorando.
Dal 3/1/2018.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The docs for $.fn.text contain the following recommendation:
The
.text()method cannot be used on form inputs or scripts. [...] To get
the value of ascriptelement, use the.html()method.
As far as I am aware, this is only relevant for Internet Explorer versions 8
and below (all other browsers include the text content of script elements).
Because jQuery no longer supports those browsers, I'm wondering if the text
should be removed or perhaps updated to qualify for users of jQuery 1.x.
- Lingua principale
- HTML
- Stelle
- 324
- Fork
- 259
- Merge medio
- 1g 30m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jquery/api.jquery.com
-
Mention of ‘timestamp’ in documentation for ‘cache’ parameter of ‘ajax’ is misleadingForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
jquery/api.jquery.com#1241 · 2 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
jquery/api.jquery.com#1176 ·
-
The documentation of CSS methods should be further classifiedForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
jquery/api.jquery.com#1281 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
jquery/api.jquery.com#1271 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
jquery/api.jquery.com#1259 ·