Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8456135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:28:10+00:00 2026-06-10T12:28:10+00:00

I currently have this, it was working in jsFiddle, though its giving me errors,

  • 0

I currently have this, it was working in jsFiddle, though its giving me errors, and not working when I use it outside of fiddle.

$('.down-photo').click(function() {
      $(this).parent('.img-mask').toggleClass('hide');
});​

Firebug says:
Uncaught SyntaxError: Unexpected Token ILLEGAL

I’m newer to javascript and jQuery so I’m not sure what’s wrong or what that error means.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:28:11+00:00Added an answer on June 10, 2026 at 12:28 pm

    In the code in your question there is a non-printing character after the last semicolon. It seems to be character 8203, a Unicode zero-width space. That’s the illegal token that Firebug is telling you about.

    You’ll notice, if you edit the text in your question, that if you put the cursor to the left of that last semicolon and then press the right arrow a few times it takes one more keypress than you’d expect to get to the next line – that’s the character I mean.

    Delete that character, or manually retype the line (rather than copy/pasting), and it should be fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have this working fiddle - http://jsfiddle.net/B8Abd/ I would like to use jquerys
I have a working website, where I use this expression everywhere. price.ToString(C) It currently
I currently have this working but it requires me to have a static method
I currently have this set up and working fine inside a users folder. RewriteEngine
We currently have a working php mail script, this works fine and as we
Currently, I have this version of the autocomplete control working when returning XML from
I am currently working on kerberos, and for now have this doubt on PAC
I'm currently working on wholesale online t-shirt shop. I have done this for fixed
I am currently working in this problem for hours now. I have to create
I have this button which is not working correctly for hold button for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.