|
Posted by Andy Hassall on 08/21/06 22:35
On Mon, 21 Aug 2006 14:46:40 -0600, "C.Joseph Drayton" <csdcs@tlerma.com>
wrote:
>I am not sure if this is a JavaScript or PHP error. Basically what
>is happening, is that I have an HTML page with the following
>JavaScript. As you can see makeRequest() calls a PHP script which is
>included below.
>
>When the code is executed, I get the following error in FireFox's
>JavaScript console;
>
>>>>>> Start Error Message <<<<<<<
>Error: no element found
>Source File:
>http://127.0.0.1:8000/pscripts/scr0003.php?unm=hello&psswrd=hello&eml=hello&hsnm=Tommy&hrnm=Tammy&cty=tacoma&stt=47
>Line: 1, Column: 1
>Source Code:
>^
>>>>>> End Error Message <<<<<<<
It's a Javascript error, probably from your XMLHTTPRequest, and further
probably from the request returning an empty string or something non-XML.
Install a Javascript debugger, such as Firebug [1], which will help you find
what's actually going on.
[1] http://www.joehewitt.com/software/firebug/
Follow-ups set to comp.lang.javascript.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|