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 6724863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:44:22+00:00 2026-05-26T09:44:22+00:00

Has anyone else encountered the problem that jquery-1.6.2.min.js does not at all seem to

  • 0

Has anyone else encountered the problem that jquery-1.6.2.min.js does not at all seem to work on a Samsung Galaxy S running Android 2.1? And if so, does anyone know what modifications I can make to be able to use it for this device?

I recently started to develop a mobile version of a javascript-based web site I made earlier this year. All went fine and everything seemed to work on both a wide range of Android emulators as well as my own Samsung Galaxy S2. But when I tested the site on a Samsung Galaxy S1 running the standard Android 2.1, all my javascript code seemed to be broken. So I went back to testing it once again on the emulators for both Android 2.1 and the Galaxy Tab (using the default WebKit browser), and on those the site worked just fine.

I tried numerous solutions and searched the web non stop for differences between the standard Android 2.1 and the one with which the Galaxy S ships, until I decided to downgrade the Jquery version I was using from 1.6.2 to 1.4.2. This solved my problem immediatly. However, because of improvements made to jquery for use with mobile devices, I would still like to be able to use 1.6.2.

Thanks in advance.

Edit Nov 5:

As Manuel Holzhauser points out, replacing “//” by ‘//’ in the jQuery 1.6.2 script solves the problem. It seems to have something to do with the combination of two forward slashes and double quotation marks, as both the latter and “/* are used in the script with no problem.

For reference, the code snippet with the single occurence of “//” reads:

// Main method
ajax: function( url, options ) {

    var // Create the final options object 
    s = jQuery.ajaxSetup( {}, options ), // (...)

    // Remove hash character (#7531: and string promotion)
    // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
    // We also use the url parameter if available
    s.url = ( ( url || s.url ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );

    // (...)

}
  • 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-05-26T09:44:23+00:00Added an answer on May 26, 2026 at 9:44 am

    We had exactly the same problem, but I have found the solution!

    You have to replace "//" with '//' in your compressed version.

    It changes nothing in functionality but it will work on your phone!

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

Sidebar

Related Questions

Has anyone else run into this problem before? I've got a method that calls
Wondering if anyone else has encountered this problem when utilizing the new ability to
Has anyone else found VIM's syntax highlighting of Javascript sub-optimal? I'm finding that sometimes
I don't know if anyone ELSE has noticed this, but I noticed the jQuery
was wondering if there are anyone else here that has signed up with the
Has anyone else seen people do this: private string _name; public string Name{ get{
Has anyone else had any problems using google's Domain Tracking API, I am specifically
Has anyone else had this issue and found a working solution? I've enabled the
has anyone else experienced this . I have SP1 but i have to kill
Has anyone else experienced this? I have uninstalled and reinstalled TortoiseSVN as well as

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.