Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
jQuery
« Previous
Next »
jquery has _______ method for inserting element before other element.
Options
- One
- Two
- Three
- Four
CORRECT ANSWER : Two
Discussion Board
Before and InsertBefore
Prepend or append not included and not a true choice, because the insert inside element not before; Therefore the two methods are .before and .insertBefore
The .before() and .insertBefore() methods perform the same task. The major difference is in the syntax-specifically, in the placement of the content and target. With .before(), the selector expression preceding the method is the container before which the content is inserted. With .insertBefore(), on the other hand, the content precedes the method, either as a selector expression or as markup created on the fly, and it is inserted before the target container.
Bashar 09-20-2015 03:10 AM
discussion
Hi KUMAR , Now i don't know your question answer but i want to tell you that append is not used to inserting element before other element . may be you are thinking about prepend();
anurag 10-5-2014 03:56 AM
Inserting Methods
Hi,Sir
For inserting the element we have append() Method
can please explain the other method.........
waiting for your responce Sir
KUMAR 08-24-2014 04:14 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲