Cjax Framework


Support for keypress event

Examples

PHP
<?php 

    
//Press enter, a, b or c, and the ajax request will go throgh.
    
$ajax->keypress('url'$ajax->call("ajax.php?test/remote/|url|"), array(13,97,98,99));

    
//press enter and request will go through:
    
$ajax->keypress('url'$ajax->call("ajax.php?test/remote/|url|"), 13);


?>

Try it

Press Enter, a, b c, and the call go through, or it won't.

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

CodeIgniter  ·  Copyright © 2006 - 2012  ·  Cjax