Is there a way for me to watch the checkboxes or remember which ones
are being checked?

I like the effect of clicking on the delete link.
I would like to apply the same effect to all the checkboxes that have a
check, when they cilck on the button that reads 'Delete Selected
Keywords'.

Thanks.

<td>
        <?php $pagination->domId = 'loading';?>
        <div id="loading" style="display:none;float:right;"><?php echo
$html->image('xppc/spinner.gif',array('align'=>'texttop'))?></div>
                <div id="tasks_done">
                <?php
                        for ($i=0; $i<count($data); $i++)
                        {
                        $data_grid = (is_int($i/2)) ? 'data-grid-row-1' : 
'data-grid-row-2';
                        echo '<div class="task" id="done_' . 
$data[$i]['Keyword']['id'] .
'">';
                ?>
                                <?php echo '<div class=\'data-grid-row-1\'>';?>
                                <table cellpadding='0' cellspacing='0' 
border='0'>
                                <tr><td align="left">
                                <?php echo $html->checkbox("Keyword/id_" .
$data[$i]['Keyword']['id'] ,$data[$i]['Keyword']['id']); ?>
                                </td></tr>
                                <tr height='24'><td>Delete</td><td>
                                <?php
                                        print   $ajax->link('Delete', 
'listing_editallkeywords/' .
$data[$i]['Keyword']['id'], array('update'=>'ajax_update', 'after' =>
'new Effect.Fade(\'done_' . $data[$i]['Keyword']['id'] . '\');'));
                                ?>
                                </td></tr>
                                <tr 
height='24'><td>Keyword:</td><td><strong><?php echo
$data[$i]['Keyword']['keyword']; ?></strong></td>
                                <tr height='24'><td>Bid Amout:</td><td>$ <?php 
echo
$html->input('Keyword/bid_' . $data[$i]['Keyword']['id'], array('type'
=> 'text', 'size' => '6', 'maxlength' =>'6', 'value' =>
$data[$i]['Keyword']['bid'])) ?></td></tr>
                                </table>
                                </div>
                        </div>
                <?php
                }
                ?>
        </div>
        <?php echo $ajax->submit('Delete Selected Keywords', array('name' =>
'DeleteKeywords', 'url' => 'listing_editallkeywords',
'update'=>'ajax_update'));?>
        <?php echo $html->submit('Save Updated Keyword Bids', array('name' =>
'Save')); ?>  <?php echo $html->submit('Cancel', array('name' =>
'cancel')); ?>                                                                  
                                                        
</td>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to