XAJAX

XAJAX

Posted by Sajith M.R in php, php source code on 03. Jun, 2009 | 0 Comments

Basically using xajax “You can directly call php functions from your javascript code”
Xajax will do the rest. 
For example, if you are going to write a javascript function Capitalize which captilaze your textbox content when you press a button.
Here is the pure html/javascript code for that:
=============================================
<script>
function Capitalize()
{
      var t = document.getElementById(’cap’).value;
      document.getElementById(’update’).innerHTML [...]