Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
AjaxSend
Show a message before an Ajax request is sent.<?php include_once 'ajax.php';?> <div> <input type="button" value="Get Data" class="ajaxTrigger" /> <div style="color:blue" id="logForAjaxSend"> </div> <?php echo YsJQuery::ajaxSend() ->in('#btnAjax') ->handler( YsJQuery::html()->in('#logForAjaxSend')->value('The petition was sent') ) ->executeOnReady(); ?> </div>
<div> <input type="button" value="Get Data" id="btnAjax" /> <?php $prueba = YsJQueryCore::serialize()->in('prueba');?> <?php echo YsJQuery::newInstance() ->onClick() ->in('#btnAjax') ->execute( YsJQuery::ajax() ->_url('examples/response/ajaxResponse.php') ->_async(false) ->_data($prueba) ->_success( new YsJsFunction('alert(response)','response') ) ) ?> </div> <?php echo YsJQuery::newInstance() ->onClick() ->in('.ajaxTrigger') ->executeOnReady( YsJQuery::triggerHandler()->in('#btnAjax') ->eventType(YsJQueryConstant::CLICK_EVENT) ) ?>
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQuerySintax.php on line 52
Support requests, bug reports, and off-topic comments will be deleted without warning.