update liste data

I have a list of data representing the scores of students in a class and I want to change the instantaneous manner. i try to do with ajax for each student I call the input form for a walk but its form for several I call its not working how to do here is the code








<?php

    //recovery of notes outstanding notes of the matter and the chosen sequence

   $releveNote=  Evaluer::model()->getReleveNoteSequenceMatiereClasse($matiere,$classe,$sequence,Yii::app()->session['annee']);


?>

<table class="table table-bordered"  style="text-align: center; ">

    <thead>

        <tr>

            <th colspan="2">

                    <h3> <?php 

                            echo Yii::t('texte','Evaluer en : ') ;

                            

                            echo Yii::t('texte',Matiere::model()->getNom($matiere));

                        ?>

                    </h3>

            

                    

            </th>

        </tr>

        <tr>

            <th><?php echo Yii::t('texte','NOM(s) ET PRENOM(s)'); ?></th>

       	

            <th><?php echo Yii::t('texte','Note/20'); ?>

            

                

            </th>

            

        </tr>

    </thead>

    <tbody>

      <?php $i=0; ?>

        <?php foreach ($releveNote as $note): ?>

            <tr>

                <td><?php echo $note[0] ; ?></td>

                <td>

                    

               	<?php

                     	//ajax code call the method by modifying the city notes

                              $this->widget('zii.widgets.jui.CJuiAutoComplete',array(

                                    'name'=>1,

                                    'value'=>2,

                                 	'sourceUrl' => Yii::app()->createUrl(

                                                            '//gestion_notes/classe/city' ,

                                                       	

                                                            array(

                                                                    'matiere'=>1,

                                                                    'sequence'=>1,

                                                                    'eleve'=>31

                                                                )

                                                         	

                                                         	

                                                         	

                                                            ),

                                    'options'=>array(

                                        'minLength'=>'1',

                                        'type'=>'get'

                                    

                               	),

                            )); 

                     	?>

                     	

                </td>

                

            </tr>

            <?php $i++; ?>

            

        <?php endforeach; ?>

    </tbody>          

          

</table>



please help me I really need I already blocks disappointed since a month I do not understand why it’s not working

enormously thank you in advance

for more then its associated notes does not










<?php

[color=#880000][size=2]//recovery of notes outstanding notes of the matter and the chosen sequence[/size][/color]   $releveNote=  Evaluer::model()->getReleveNoteSequenceMatiereClasse($matiere,$classe,$sequence,Yii::app()->session['annee']);

   //$moyenne= Evaluer::model()->getListeMoyennesMatiereClasseSequence($classe,$sequence,$matiere,Yii::app()->session['annee']);


?>

<table class="table table-bordered"  style="text-align: center; ">

    <thead>

        <tr>

            <th colspan="2">

                    <h3> 

                        <?php 

                            echo Yii::t('texte','Evaluer en : ') ;

                            

                            echo Yii::t('texte',Matiere::model()->getNom($matiere));

                        ?>

                    </h3>

            

                    

            </th>

        </tr>

        <tr>

            <th><?php echo Yii::t('texte','NOM(s) ET PRENOM(s)'); ?></th>

           

            <th><?php echo Yii::t('texte','Note/20'); ?>

            

                

            </th>

            

        </tr>

    </thead>

    <tbody>

      <?php $i=0; ?>

        <?php foreach ($releveNote as $note): ?>

            <tr>

                <td><?php echo $note[0] ; ?></td>

                <td>

                    

                   <?php

                         [size=2] [/size][color=#880000][size=2]//ajax code call the method by modifying the city notes[/size][/color]

                              $this->widget('zii.widgets.jui.CJuiAutoComplete',array(

                                    'name'=>$i,

                                    'value'=>$note[1],

                                     'sourceUrl' => Yii::app()->createUrl(

                                                            '//gestion_notes/classe/city' ,

                                                           

                                                            array(

                                                                    'matiere'=>$matiere,

                                                                    'sequence'=>$sequence,

                                                                    'eleve'=>$note[3]

                                                                )

                                                             

                                                             

                                                             

                                                            ),

                                    'options'=>array(

                                        'minLength'=>'1',

                                        'type'=>'get'

                                    

                                   ),

                            )); 

                         ?>

                         

                </td>

                

            </tr>

            <?php $i++; ?>

        <?php endforeach; ?>

    </tbody>          

          

</table>