+ 3

What is the difference btween prepend() and before()?

8th May 2017, 12:37 PM
Ashok Kumar
Ashok Kumar - avatar
4 Answers
+ 5
I got an idea!! google it!! Nice idea, yeah?
8th May 2017, 1:01 PM
Meharban Singh
Meharban Singh - avatar
+ 5
Check my answer here: https://www.sololearn.com/Discuss/374879/?ref=app ... I hope you will understand how prepend() and before() differs same kind as append() and after() does ^^ http://api.jquery.com/prepend/ http://api.jquery.com/before/
8th May 2017, 4:40 PM
visph
visph - avatar
+ 3
They are very similar both insert an HTML element before the selected element Prepend insert Inside the selected element Before insert outside the selected element
8th May 2017, 12:54 PM
⏩▶Clau◀âȘ
⏩▶Clau◀âȘ - avatar
+ 3
I don't get it. there are many serious unanswered questions but why does pointless easy question (can find solution on google easily) get many answers!
8th May 2017, 1:40 PM
Apel Mahmod
Apel Mahmod - avatar