I am just wondering if it\'s possible to use external JS file that contains PHP code.
my external JS
$(document).ready(function(){
$(\'#update\
Just a quick idea, that could help some people:
I think (never tried) there is also a way to ask the web server (Apache, etc) to let JS files be handled as PHP content.
Advantages:
Withdraws: