How to append the data at the top of the div using jquery -


i have content in div , need append data @ top of previous content inside div moving remaining content down after jquery function call.

thanks in advance

$("#mydiv").prepend(data) 

:)

that should trick :)


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -