hi friends,
  I m using Remotefunction on radio group, & value of that radio
button is different. problem is that when i click on particular radio
that radio value is pass as argument in may controller action, how can
i pass dynamical argument when click on radio.

my code like that:

<?php $remotePrice = $ajax->remoteFunction( array( 'url' => array
( 'controller' => 'cart', 'action' => 'price',1), 'update' =>
'ship','position'=>'replace' ) ); ?>

radio group:

<div id="uk"; style="float:left">UK<input type="radio" name="remove"
value="" onclick="<?php echo $remotePrice; ?>"/></div id="uk">
<div id="europe"; style="float:left">EUROPE<input type="radio"
name="remove" value="" onclick="<?php echo $remotePrice; ?>"/></div
id="europe">
<div id="worldwide"; style="float:left">WORLD<input type="radio"
name="remove" value="" onclick="<?php echo $remotePrice; ?>"/></div
id="worldwide">


send me proper solution for that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to