+ 3
What is the difference btween prepend() and before()?
4 Answers
+ 5
I got an idea!! google it!! Nice idea, yeah?
+ 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/
+ 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
+ 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!