View Full Version : Error: identifier starts immediately after numeric literal
12-27-2011, 07:30 AM
I am facing identifier starts immediately after numeric literal error in firefox
onclick="document.location.href='<%= themeDisplay.getPathMain() %>/portal/ext/asite/assignOrg'"/>
can any 1 solve this??
12-27-2011, 04:08 PM
it looks to me like it should be
onclick="document.location.href='<%= themeDisplay.getPathMain() %>/portal/ext/asite/assignOrg/>'"
but that's just a guess...
12-28-2011, 09:58 AM
I don't think so, xelawho.
He's not showing the entire tag, but I thinkg the /> is the end of the tag that this onclick is an event handler for.
I'm guessing that the error is actually right *before* this code.
That is, he has something like
<input type=checkbox value=7onclick="....."/>
and it's complaining about the missing space after the 7.
To really debug this, we need to see the *FULL* HTML source of the ENTIRE tag.
That is, bring the web page up in your browser.
Then click on the browser's VIEW menu.
Then click on the SOURCE or PAGE SOURCE menu item.
That will show you the HTML, without ASP/JSP getting in the way.
Find the problem tag and copy the entire thing here. Better yes, copy about 10 lines before the problem through 10 lines after.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.