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

mysql - How to insert just year and month into date field? -

c# - Detect changes in ObjectSet in Entity Framework 4.0? -