Server IP : 103.118.17.23 / Your IP : 216.73.216.188 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/_core/php/examples/basic_ajax/ |
Upload File : |
<?php require('../includes/header.inc.php'); ?> <?php $this->RenderBegin(); ?> <div id="instructions"> <h1>Spinners!</h1> <p>In this Hello World example, we add a <strong>QWaitIcon</strong>, sometimes also known as "Spinners", or "Throbbers", which will be displayed during the entire Ajax call.</p> <p>To add the <strong>QWaitIcon</strong>, you can define a <strong>DefaultWaitIcon</strong> in your form, passing in a <strong>QWaitIcon</strong> object. At this point forward, every <strong>QAjaxAction</strong> will, by default, use the defined wait icon to be displayed during your Ajax call.</p> <p>This display can be overridden by either passing in <strong>null</strong> for the wait icon to your ajax action call, or alternatively you can pass in <i>another</i> <strong>QWaitIcon</strong> object defined in your form.</p> <p>Be sure to remember to render your wait icon on your page! (Note: artificial sleep/wait time has been added to the <strong>btnButton_Click</strong> method in order to illustrate the spinner in action)</p> </div> <div id="demoZone"> <p><?php $this->lblMessage->Render(); ?></p> <p><?php $this->btnButton->Render(); ?> <?php $this->btnButton2->Render(); ?></p> <p><?php $this->objDefaultWaitIcon->Render('Position=absolute', 'Top=10px', 'Left=200px'); ?></p> </div> <?php $this->RenderEnd(); ?> <?php require('../includes/footer.inc.php'); ?>