Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".
Philipp Gerber: "

The product is so easy and super built that you can achieve visible and great success after a short time. Also very much possible with the product. A class product. I'm already looking forward to the next versions and extensions. Keep it up.

Support to the product is just perfect. Each Support request is quickly and very competent solved. Also various assistance, which does not fall into a support, are also perfectly processed. There is a direct wire to the manufacturer / developer and this is notth. Thanks for the class Support".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

OnAfterPageLoad

This event occurs after page has been fully rendered. It does not get triggered until all assets such as images have been completely received and DOM hierarchy has been fully constructed.

 

Example:

To get details of the first record expanded on the webpage opening, specify the event handler as follows:

 

function expandFirstDetail() {

  var $firstExpandDetailsButton = $('a.js-expand-details').first();

  if (($firstExpandDetailsButton.length > 0) &&

   (eventData = $._data($firstExpandDetailsButton.get(0), "events")) &&

   (eventData.click))

  {

    $firstExpandDetailsButton.click();

    $(window).scrollTop(0);

  }

  else {

    setTimeout(expandFirstDetail, 100);

  }

}

 

expandFirstDetail();

 

It is also possible to specify the function above within the OnBeforePageLoad event handler. In this case the OnAfterPageload event handler should contain only the function call:

 

window.expandFirstDetail();



Prev Return to chapter overview Next