zzynx
asked on
Error: Selector expected. Ruleset ignored due to bad selector.
Hi experts,
I have a jsp file containing these lines of code:
<script language="javascript" src="../sniffer.js"></scri pt>
<script language="javascript1.2" src="../custom.js"></scrip t>
<script language="javascript1.2" src="../style.js"></script > // <<<< errors on this line
The javascript-console of FireFox gives me these errors:
"Selector expected. Ruleset ignored due to bad selector."
followed by
"Unexpected end of file while searching for closing } of invalid rule set."
Any ideas on what that means and how to solve it?
I have a jsp file containing these lines of code:
<script language="javascript" src="../sniffer.js"></scri
<script language="javascript1.2" src="../custom.js"></scrip
<script language="javascript1.2" src="../style.js"></script
The javascript-console of FireFox gives me these errors:
"Selector expected. Ruleset ignored due to bad selector."
followed by
"Unexpected end of file while searching for closing } of invalid rule set."
Any ideas on what that means and how to solve it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Tim,
You're second comment is exactly what I have.
Removing the comment indeed makes the FF errors disappear.
But since that error doesn't hinder anything else to work as defined in the css
I think I'll simply let it as it is.
But at least now I know!
Thank you very much.
PS. I increased the points because I feel you deserve it.
You're second comment is exactly what I have.
Removing the comment indeed makes the FF errors disappear.
But since that error doesn't hinder anything else to work as defined in the css
I think I'll simply let it as it is.
But at least now I know!
Thank you very much.
PS. I increased the points because I feel you deserve it.
ASKER
Your second comment... of course
Hiya zzynx :-) Didn't spot it was you :-)
Glad it's solved now :-)
Good luck fella!
Tim
Glad it's solved now :-)
Good luck fella!
Tim
I assume style.js sets up the CSS styling on some of your page elements?