Cjax Framework


Access fields in parameters

To be able to access your form fields through parameters in your ajax controllers you will need to name your fields the following way:

Examples


PHP
<?php 

<input type='text' id='field1'  name='a[field1]' />
<
input type='text' id='field2'  name='a[field2]' />
<
input type='text' id='some_field'  name='a[some_field]' />

?>

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

CodeIgniter  ·  Copyright © 2006 - 2012  ·  Cjax