jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Core

Hide navigator Hide source code

When

<div>
<input type="button" value="Get Data [GET]" id="ajaxGetType" />
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#ajaxGetType')
  ->execute(
    YsJQuery::when(
      YsJQuery::get('examples/response/ajaxResponse.php')
    ),
    YsJQuery::then(
      new YsJSFunction('alert("$.get succeeded")')
    )
  );
?>

<input type="button" value="Testing" id="btnTesting" />
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#btnTesting')
  ->execute(
    YsJQuery::when(
      array('testing' => '123')
    ),
    YsJQuery::done(
      new YsJSFunction('alert(x.testing)', 'x')
    )
  );
?>

</div>

Comments

  • Support requests, bug reports, and off-topic comments will be deleted without warning.

blog comments powered by Disqus

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net