[eluser]MungeGerard[/eluser]
Found the bug, the base url contained 'localhost' , somehow Windows7 or Easyphp doesn't work properly and only works with '127.0.0.1'.. Also I tested in two different environments.
Anyway thanks for all the help!!
I'll be back.
PS: I learned one thing: use json for ajax!