Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Chrome Uncaught Syntax Error: Unexpected Token ILLEGAL (JQuery / Javascript)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Chrome Uncaught Syntax Error: Unexpected Token ILLEGAL (JQuery / Javascript)
 Login/Join
 
Silver Member
posted
I pounded my head against this issue for hours before I finally happened upon the (embarassingly) simple solution.

On our development environment we employed accordions for a long, multi-part report. Professional Services employed JQuery for this purpose, providing a sharp look and easy configuration.

Upon trying to migrate this code/script from Development to Test, I found I was unable to get it to function within Chrome. I ensured that I had copied everything to the correct folders, etc etc.

Finally, using Chrome Web Development tools I saw that the error that was being generated was "Uncaught Syntax Error: Unexpected Token ILLEGAL".

A search of this error description pointed me to StackOverflow.com - somehow in the process of copying the JS from Dev to Test caused what appears to be a 0-length space to be appended to the end of the file. Upon editing the file (JQuery.js for my case) within Notepad++ you can see a line that appears to be empty. Removal of that final line causes everything to work correctly.

I don't know how / when that character got appended to the end of the file: I had copied the folder structure using copy and paste within Windows / Remote Desktop. I believe I also attempted w/ Change Management w/ the same results. The original script does not have this additional line.

See here for more information :
Stack Overflow Solution

Hopefully this will save someone else the grief caused me.


WebFOCUS 8.2.0.1 / App Studio 8.2.0.1 (04092014) / Windows 7 / HTML5, PDF, XLS
 
Posts: 40 | Location: Kansas City, MO | Registered: June 10, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Chrome Uncaught Syntax Error: Unexpected Token ILLEGAL (JQuery / Javascript)

Copyright © 1996-2020 Information Builders