| Author |
Browser Error while using Struts tags
|
sankey jain
Ranch Hand
Joined: Apr 29, 2010
Posts: 58
|
|
Hello all,
An error while using struts tags
I get the below error from Firebug in mozilla
missing ; before statement
[Break On This Error] var highlightKeyNew = 'Company Name: Scope Int'l (M) Sdn Bhd <br>';
how can i resolve this ?
i have tried escapeJavaScript=true. but it does not work
gives me an error that the tld defined does not support this
TLD defined is
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8263
|
|
sankey jain wrote:
missing ; before statement
[Break On This Error] var highlightKeyNew = 'Company Name: Scope Int'l (M) Sdn Bhd <br>';
I would take that error to indicate that the problem occurs before the line you indicate. What comes before this line?
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
sankey jain
Ranch Hand
Joined: Apr 29, 2010
Posts: 58
|
|
Joe Ess wrote:
sankey jain wrote:
missing ; before statement
[Break On This Error] var highlightKeyNew = 'Company Name: Scope Int'l (M) Sdn Bhd <br>';
I would take that error to indicate that the problem occurs before the line you indicate. What comes before this line?
The following comes before this line
|
 |
Jesus Mireles
Ranch Hand
Joined: Mar 10, 2010
Posts: 122
|
|
So why dont you just use " to surround the value ... really wont matter right?
|
 |
 |
|
|
subject: Browser Error while using Struts tags
|
|
|