Remove content | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Remove content

Can someone help me with this? Fill in the blanks to empty the second child element of the element with id=“nav”. Var e =$(“****”).********(); E.eq(*).empty(); I have the first two parts correct but not the last bit!

17th Jan 2019, 9:44 PM
Brent Malcolm
14 Answers
+ 8
Will you tell me the language plz then may I help you
17th Jan 2019, 10:32 PM
AKS
AKS - avatar
+ 7
And your answer. https://code.sololearn.com/WhL5o5zM7nln/?ref=app May this help you
18th Jan 2019, 7:52 AM
AKS
AKS - avatar
+ 7
It. Will be. ".name of second element"
18th Jan 2019, 8:03 AM
AKS
AKS - avatar
+ 7
Post the link of the code dude type it in sololearn code playground
18th Jan 2019, 8:07 AM
AKS
AKS - avatar
+ 6
Sorry for late reply actually I fallen sleep you can understand as I am in different time zone
18th Jan 2019, 7:51 AM
AKS
AKS - avatar
+ 6
Or share your whole code I will fix it
18th Jan 2019, 8:03 AM
AKS
AKS - avatar
0
j query!
17th Jan 2019, 10:45 PM
Brent Malcolm
0
Hello, can you help me or not?
18th Jan 2019, 3:45 AM
Brent Malcolm
0
it still doesnt tell me the character i need to put in place if the * in the second line?
18th Jan 2019, 8:02 AM
Brent Malcolm
0
ok code is as follows!
18th Jan 2019, 8:06 AM
Brent Malcolm
0
Remove content Can someone help me with this? Fill in the blanks to empty the second child element of the element with id=“nav”. Var e =$(“#nave”).children(); E.eq(*).empty(); I have the first two parts correct but not the last bit! so you can see the * on the second line, i need tgat character!
18th Jan 2019, 8:07 AM
Brent Malcolm
0
the first part is nav not nave!
18th Jan 2019, 8:08 AM
Brent Malcolm
0
var e = $("#nav").children(); e.eq(1).empty();
31st Dec 2019, 8:47 PM
Arjun Singhal
Arjun Singhal - avatar
0
dude, that question was 11 months ago! but thanks!
1st Jan 2020, 12:38 AM
Brent Malcolm