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

  • SEARCH
  • Home
  • 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 8771813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:53:04+00:00 2026-06-13T17:53:04+00:00

I recently posted a question in regards to a piece of jquery code that

  • 0

I recently posted a question in regards to a piece of jquery code that wasnt working.

Unable to make an element move diagonally with jQuery animate()

I couldnt figure out what was wrong so i took another similar piece of code and slowly modified it bit by bit until it was exactly the same as my code that was supposed to be working, and this second copy worked while my first didnt.

So then i went line by line copying the code from the second and replacing the code in the first.

In the end what fixed it was replacing:

$(this).animate({left:'+=250'}, 1000);

with

$(this).animate({left:'+=250'}, 1000);

How is it possible that the first didnt work but the second did?

I know that if you copy quotes, as in ", from certain sources they will paste a slightly different character that doesnt work, but I’m not sure how to explain the above mentioned.

I triple checked them side by side and started replacing the first one character by character to see the culprit, but my dreamweaver crashed on me :(.

So, anyone know how this happened?

  • 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-13T17:53:06+00:00Added an answer on June 13, 2026 at 5:53 pm

    Here’s the code from your previous question:

    $("#moveme").animate({right: '+=50', bottom: '+=50'}, 1000);​​​​​​​​​​​​​​​ 
                            // ----right here------------------^
    

    Toward the end of that line, you have about 15 or so invisible characters that are invalid.

    When I highlight the code in Firefox, I can see that the height of the highlighting is taller right there. And when I go into “edit” mode, it takes several keystrokes to move the cursor past that point.

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

Sidebar

Related Questions

Relatively new to python. I recently posted a question in regards to validating that
From another question I recently posted, it seems that Classic ASP might not be
I've recently posted a new question in How jQuery can prevent reopening a new
I recently asked a question and posted some code, to which a suggestion was
Recently I posted a question about the html helper dropdownlist and got it working
Recently I posted a answer to a question that I thought was quite an
I recently posted a question about a WCF Restful web service that I am
Recently I posted a question on Highcharts column charts drilldown. I have found that
I recently posted this question about codes for a gift-card-like voucher that users can
All, I recently posted this question on DAL design. From that it would seem

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.