How create a JavaScript file with a view in CodeIgniter? |
[eluser]ivarsmas[/eluser]
Thanks techneke, but maybe I have not explained well. :-S I need create a JavaScript file with a ".js" extension, but with the "views of CodeIgniter" only is possible output a result without extension and executed in own server. With a CI view now i get: http://www.domain.com/order And i want get: http://www.domain.com/order/js_file_name.js?id=11111 (o similar..) and changing his content by calling to database with this id passed. For i can to give to users this js file, to embed this in his sites once created. And execute it in navigator of user. It is better explained now? |
Welcome Guest, Not a member yet? Register Sign In |