You are here: Re: 'No element found' error « PHP Programming Language « IT news, forums, messages
Re: 'No element found' error

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация