- 1
what should i write in second space >> any method ?
Fill in the blanks to empty the second child element of the element with id="nav". var e = $(" #nav "). (); e.eq( 1 ). empty ();
6 Answers
+ 5
var e = $("#nav").children();
e.eq(1).empty();
+ 1
var e = $("#nav").children();
e.eq(1).empty();
0
var e = $("#nav").children();
e.eq(1).empty();
0
Fill in the blanks to empty the second child element of the element with id="nav".
var e = $("#nav
").children
();
e.eq(1
).empty
();
0
var e = $("#nav").children();
e.eq(1).empty();
- 2
thanks
i tried and solved it by searching
children is a method that to use in :D