I ave several JS functions that call different php files with $.ajax jquery method... yesterday everything was fine, but after cleaning up my code, i don't know what i did, but now the ajax response is like "[space]data"
instead of "data"
..
i could use a trim function in Js but i want to fix the source of the problem...
all my php files have the missing last ?>
in order to avoid that, and before <?php
i'm sure, just checked, there is no space...
how come did I introduce this error? is the server? the browser?
The funny thing is that yesterday i cleaned my code with JSLINT..! bad idea..
thanks