homepage Welcome to WebmasterWorld Guest from 54.227.67.210
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
JS Error: Expected Hexadecimal Digit
Allen




msg:1488902
 9:53 am on Apr 30, 2003 (gmt 0)

Hi all,

I spent hour doing a lovely javascript for Actinic to get it to list subsections on the front page. Now it's broken and the client isn't happy :(

The only clue as to what is possibly wrong is the error 'Espected Hexadecial Digit' with reference to line 56, character 56.

This is line 55:
section_tree[1].pChild[3].pChild[1].sImage = "100x100\ult2001_small.gif";
The actual line 56 and line 57 occur earlier in the JS file, so I don't think it's them.

Oh, and it works perfectly in Mozilla, it's only IE that seems to have a problem.

Can anyone please point out the problem?

TIA

Allen

 

Allen




msg:1488903
 10:00 am on Apr 30, 2003 (gmt 0)

Gah found it.

\u is escpae code for a hex digit!

Doh!

Allen

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved