I want to make id=”a” element div to be the first div in the div.b element.
Here is the code:
<div class='b'>
<div>a</div>
<div>a</div>
<div id="a">I want to put this div to be the first div</div>
</div>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you’ll also need to remove the #a element after/before prepending or you’ll have duplicates. I would suggest: