Problem with load order of js file
Hi. I have a big and unusal problem. I'm developing a web app using jquery, jquery ui and a lot of other hand made js. I'm testing it in windows with wamp and works like a charm.
Yesterday I try to put on another server (ubuntu distro) and here starts the problems.
In the first time I had a lot of errors saying that jquery is not defined. After a quick check I see that that other script that needs jquery are loaded previously that jquery one.
For loading the js files I'm using a for cycle in php that load automatically every .js files into that dir.
If i try to rename the query core and the ui core in 1jquery.js and 2jquery.ui.js the error from 10 go to 5 and jquery works well, but I have still other "jquery not defined" error.
So the problema is on the order which the js files are loaded, and change from windows to linux.
Can someone please help me please?
I'm going mad....