How article writing blog's content can be updated using javascript?

Asslam.o.alaikum;

I have a question that while using javascript how can we update content of blog like wired Pakistan has a button for new post and when user click on it. It would open a page containing editor and write his / her message and post it. How can we do it with javascript and it comes on home page ??

Try this http://www.sitepoint.com/jquery-set-innertext-2/

And skim through http://learn.jquery.com/

hmm..interesting thing..