For example : I want to show some tips in a component and when we click on next or previous i have to bring action on same page via AJAX request.
Within Components :
- Code: Select all
<?php
echo link_to_remote(image_tag("/images/pre.jpg" ;),
array(
'update' => 'zzz',
'url' => '?id=2',
'loading' => "Element.show('indicator')",
'complete' => "Element.hide('indicator')" ;));
?>
what should be URL????
Anybody know how can i do that !!!!
