Hi,
I attempted to follow the example in user_ajax_example.php -which says to place the following snippet into the JS for the plugin
your custom JS code:
index.php?option=com_fabrik&format=raw&task=plugin.userAjax&method=userExists&username=" + myUsername;
* Fabrik will automatically try and call the function name specified in your 'method='.
The string is not valid JS and presents an error - I'm sure there is something very obvious that I am missing. Is there any help for a newbie like me?
P.S. what I am trying to do with the js plugin is use the button to call php which will take the row id and update or insert a record into a non-joomla database (external database) table and then it would be super to echo back to the user that it worked.
Thank you in advance,
Vicki
I attempted to follow the example in user_ajax_example.php -which says to place the following snippet into the JS for the plugin
your custom JS code:
index.php?option=com_fabrik&format=raw&task=plugin.userAjax&method=userExists&username=" + myUsername;
* Fabrik will automatically try and call the function name specified in your 'method='.
The string is not valid JS and presents an error - I'm sure there is something very obvious that I am missing. Is there any help for a newbie like me?
P.S. what I am trying to do with the js plugin is use the button to call php which will take the row id and update or insert a record into a non-joomla database (external database) table and then it would be super to echo back to the user that it worked.
Thank you in advance,
Vicki