This is a module in a Joomla website and the echo is shown in de position where the module is running in.
I do know the "inspect element" screen if you right click on a website, but I don't know all the functionality, I did use firefox because it has a nice debug tool, but firefox doesn't work anymore on my PC.
I usualy check my work in the browsers I installed (Chrome "standard", IE, Opera, Safari, Firefox (not anymore)).
Did a new install of FF but still crashes, I have to admit that I didn't google for a solution yet on the FF problem but that's off-topic here :-)
Strange thing is also that the code is copied from a previous module I made, so I think it has to be a syntax problem but I can't find it, it did work once, so I zipped the code again to reinstall it, so I would know all was working well.
And then it didn't react anymore, the module does everything until I wanna get my data back out of the JS file to the PHP file.
Did put alerts in the js so I did see the code running with all var filled as it should be but the echo's in the mail.php like:
echo"Name = ".$Name;
only showed "Name = " in the site position running the module.
One thing I did struggle with is that the mail.php is in the main dir and the JS file is in a folder "JS" so the call for mail.php in the js-file should be like
httpObjectMail.open("GET", "../mail.php?"
So the Js file will search the mail.php file a level higher, I did not show that in the code above, because I didn't really think that would be the problem
Greets Trace7r