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

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

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