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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:14:59+00:00 2026-06-13T14:14:59+00:00

This is strange. I have a jQuery $.ajax call below. In Firefox it’ll only

  • 0

This is strange. I have a jQuery $.ajax call below. In Firefox it’ll only work if I take out MyAppName. In Chrome it will only work if I include MyAppName in the url. Not sure why

I’m browsing to http://localhost/MyAppName when I test this.

This works in FireFox and in IE 9

$.ajax({
    url: '/MyAppName/Search/Member/260491',

This does not work in FireFox or IE:

  $.ajax({
    url: 'Search/Member/260491',

This works in Chrome

$.ajax({
    url: 'Search/Member/260491',

This does not work in Chrome:

  $.ajax({
    url: '/MyAppName/Search/Member/260491',
  • 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-13T14:15:00+00:00Added an answer on June 13, 2026 at 2:15 pm

    You could use jQuery’s $.browser() funciton in an if statement and correct the issue that way.

    http://api.jquery.com/jQuery.browser/

    Example:

    if ($.browser.chrome) {
        $.ajax({
            url: 'Search/Member/260491',
            ...
        })
    }
    else {
        $.ajax({
            url: '/MyAppName/Search/Member/260491',
            ...
        })
    }
    

    Available Flags are:

    • chrome
    • webkit (as of jQuery 1.4)
    • safari (deprecated)
    • opera
    • msie
    • mozilla
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting strange behavior, below is the jquery ajax call to my page.
I have a strange issue with jQuery's hover, addClass $(document).ready(function(){ $('#selectable li').hover( function(){ $(this).addClass('selecting',
I have this strange error, When I call $element_attrs = $element -> attributes(); I
I have some strange behaviour going on with the jQuery ajax functionality in my
Trying my hand with jQuery. I have this strange situation that i wish to
I have a strange problem with Jquery Ajax with the following code. Situation 1:
I have been struggling with this for quite some time now. jQuery.ajax in the
i have a strange problem with jquery i have this div that shows messages
I'am building simple Ajax application (via jquery). I have strange issue. I found where
I have this strange issue with my web app. You see, I'm using jQuery

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.