jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Utilities

Hide navigator Hide source code

ParseXML


<script language="javascript" type="text/javascript">
  function testXml(){
    xmlDoc = <?php echo YsJQuery::parseXML('<rss version="2.0"><channel><title>RSS Title</title></channel></rss>') ?>;
    $xml = $( xmlDoc ),
    $title = $xml.find( 'title' );
    alert($title.text());
  }
</script>

<div>
<input type="button" value="Get Data [GET]" id="ajaxGetType" />
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#ajaxGetType')
  ->execute('testXml()');
?>
</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