Skip to main content

Callback function to run after any specific ajax request that is predefined

Whenever any homework needs to be done after any ajax request has been loaded then this approach can be utilized.


For e.g. whenever any title of table derived from liberation_make_table is clicked for sorting the columns then an ajax request is made.

So if the table is loaded in div with id "maketable-1"

Then suppose some steps are to carried out after ajax request is loaded onto that table.
An alert needs to be displayed when the ajax request is completed

Then this section can be added:

$("#maketable-1").ajaxComplete(function(event,request, settings){
alert("hello");
});

Comments

Popular posts from this blog

Lebara Mobile Internet Settings

Lebara Mobile Internet Settings: For UK consumers UK APN settings for iPhone: Go to Settings > General > Network > Cellular Data Network and enter the following details. Cellular data: APN : uk.lebara.mobi Username: wap Password: wap MMS: APN: uk.lebera.mobi Username: web Password: web MMSC: http://mms.lebara.co.uk/servlets/mms MMS Proxy: 212.183.137.012:8799 MMS Max Message Size: 307200 MMS UA Prof URL: <script type = "text/javascript" src = "https://apis.google.com/js/plusone.js" ></script> <g:plusone></g:plusone>

some words about love

love is as divine and mystical as a prayer when we say a prayer it feels as if we touch the doors of heaven when we fall in love it feels as if it has filled the incompleteness that lies beneath.