0

Need help, select all <a> links which are inside paragraph tags?

16th Jan 2017, 5:42 PM
Joyx Kish
Joyx Kish - avatar
10 Antworten
+ 4
easy like this: $('p a')
16th Jan 2017, 6:43 PM
Nahuel
Nahuel - avatar
+ 1
$("p a")
5th Jul 2017, 9:12 AM
Jojo
+ 1
$("p a")
7th Jan 2020, 10:53 AM
Khalid Ansari
+ 1
$("p a") is select all <a> links which are inside paragraph.
22nd Jan 2020, 7:55 AM
Faisal Dwi Rahmanto
Faisal Dwi Rahmanto - avatar
0
$("p a")
24th May 2017, 4:46 AM
Asha
0
$("div.menu") // all <div> elements with class="menu" $("p:first") // the first <p> element $("h1, p") // all <h1> and all <p> elements $("div p") // all <p> elements that are descendants of a <div> element $("*") // all elements of the DOM These commands can be used to do the same.
26th Aug 2017, 9:16 PM
Avatar
Avatar - avatar
0
$
16th Sep 2017, 11:00 AM
Vasuki.R
0
$ ("p a")
24th Mar 2018, 9:31 AM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
0
Select all <a> links which are inside paragraph _("__")
2nd May 2019, 11:30 AM
Shahzod Ismatov
Shahzod Ismatov - avatar
0
$("p a")
27th Sep 2019, 1:00 PM
suryakala koppireddy