blueimp/JavaScript-Templates

how to call codeigniter controller from javascript of blueimp plugin

mehabub opened this issue · 1 comments

how to call codeigniter controller from javascript of blueimp plugin

CodeIgniter is a server-side Framework, so you cannot directly call a CodeIgniter controller from JavaScript.
However, you could write a JavaScript function that calls your CodeIgniter controller via AJAX and then renders the template with the result of the AJAX call.

Anyway, please note that this is rather unrelated to the JavaScript templates function.
So you might be better off asking these kind of questions on StackOverflow.