Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams
this week in the
Agile and Other Processes
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Devaka Cooray
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Jeanne Boyarsky
Tim Cooke
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Mikalai Zaikin
Carey Brown
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
not locating javascript and CSS path
purushotham podaralla
Greenhorn
Posts: 29
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
i used the below code in my application but i am getting an error SyntaxError: Parse error at line 1 xxx.js.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Dashboard</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Cache-Control" content="no-cache"/> <link rel='stylesheet' type='text/css' href='./src/main/webapp/css/style1.css' /> <script type="text/javascript" src="js/dashboard.js"></script> </head> <body onload="welcome();" style="overflow-y:auto;overflow-x:hidden;"> </body ></html>
provided some more .js files. but in all js files at line1 giving parse error.
please do the needful.
Thanks in Advance.
David Newton
Author
Posts: 12617
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please
UseCodeTags
when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the
button.
David Newton
Author
Posts: 12617
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Wouldn't it make sense to include some JavaScript code that causes the error???
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Setting currency problem.
calling new jsp from tiles:insert attribute
Struts 2, Tiles 2 and prototypejs
prototype framework with ajax in struts 2 'jsp
Ajax foriegn word issue
More...