Qualify or remove $.fn.text caveat
@AurelioDeRosa đang làm issue này rồi.
Từ ngày 3/1/2018.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- HTML
- Star
- 324
- Fork
- 259
- Merge trung bình
- 1 ngày 30 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của jquery/api.jquery.com
-
Mention of ‘timestamp’ in documentation for ‘cache’ parameter of ‘ajax’ is misleadingCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
jquery/api.jquery.com#1241 · 2 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
jquery/api.jquery.com#1176 ·
-
The documentation of CSS methods should be further classifiedCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
jquery/api.jquery.com#1281 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
jquery/api.jquery.com#1271 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
jquery/api.jquery.com#1259 ·