Cjax Framework


Append html or elements after target element

Examples

PHP
<?php 

//Appending HTML
$ajax->append('#response','This <span style=\'color:red\'>HTML</span> was appended to #response');
//Appending or moving an element to #response
$ajax->append('#response','#other_element');

?>

Try it

#Response
 
 
#Other element

Previous Topic:  Previous Class    ·   Top of Page   ·   Demos Home   ·  

CodeIgniter  ·  Copyright © 2006 - 2012  ·  Cjax