Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-24-2010, 02:36 PM   PM User | #1
snape
New to the CF scene

 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
snape is an unknown quantity at this point
IE throwing a syntax error but can't work out what the problem is

Hi,

For the life of me I can't work out what is wrong with the code here:http://www.spencercarpenter.co.uk/po...162&fgh=showMe

I know it is somthing to do with the url and that it is a synax error but I really am stuck as I cant see what it is.

If anyone could help me resolve this I would be very grateful.

Thanks for any help.

Spencer
snape is offline   Reply With Quote
Old 07-24-2010, 02:56 PM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Not sure, but you've two DOCTYPEs in your page. STick with the Strict and remove the other.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 07-24-2010, 04:36 PM   PM User | #3
RandomUser531
New Coder

 
Join Date: Jul 2010
Posts: 61
Thanks: 0
Thanked 21 Times in 21 Posts
RandomUser531 is on a distinguished road
Quote:
Code:
 window.document.location.href = www.spencercarpenter.co.uk/portfolioAppFiles/PortfolioItem03.php?item08=165&item012=161&item014=163&item016=162&fgh=showMe;
The console clearly indicates an error on line 30 above. The value must be in quotes, and it's sufficient to assign to window.location,href or just location.href.
RandomUser531 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:32 PM.


Advertisement
Log in to turn off these ads.