I want to pass a dynamic parameter using qTip, but it fails. my_ajax_controller.php just displays the type of the variable, but not q.
$('a.menu_help').qtip({ content: { url:'my_ajax_controller.php', data: 'type=help_menu&q='+$(this).attr('id'), method: 'get' }, show: 'mouseover', hide: 'mouseout' });
However, the static q value works:
$('a.menu_help').qtip({ content: { url:'my_ajax_controller.php', data: 'type=help_menu&q=toto', method: 'get' }, show: 'mouseover', hide: 'mouseout' });
Can't pass dynamic value to parameter data?
Thanks in advance!
Florent
source share