function.link_to_remote.php
Tags
Table of Contents
- jtpl_function_html_link_to_remote() : mixed
- function plugin : Ajax request
Functions
jtpl_function_html_link_to_remote()
function plugin : Ajax request
jtpl_function_html_link_to_remote(mixed $tpl, mixed $label, mixed $element_id, mixed $action_selector, mixed $action_parameters, mixed $option) : mixed
it creates a javascript ajax function example :
{link_to_remote 'Link', 'result', 'test~default:ajax', array('id'=>'34'), array( 'position'=>'html', 'method'=>'GET', 'beforeSend'=>'alert("beforeSend")', 'complete'=>'alert("complete")', 'error'=>'alert("error")', )}
Parameters
- $tpl : mixed
- $label : mixed
- $element_id : mixed
- $action_selector : mixed
- $action_parameters : mixed
- $option : mixed