Tuesday, March 10, 2015

Re: fake button run a view and come back to the same page.

El 10/03/15 15:46, dk escribió:
UHH.... redirect sounds  easy...... yami yami.....

Felix  how does the ajax works? I am assuming is a library of javascripts? and ajax can lunch the python code?

ajax = Asynchronous Javascript And XML
It means you can update part of a page without reloading the entire page.
It is javascript in the client side. In the server side it could be any server side language/framework, including django.

Check the chapter about Ajax here. It might guide you
http://www.tangowithdjango.com/

Though if you want to use an MVC framework you could try AngularJS. Take a look at this tutorial:
http://www.w3schools.com/angular/default.asp


No comments:

Post a Comment