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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:21:15+00:00 2026-06-17T17:21:15+00:00

I get an error with impromptu ver 4.1 when running under the latest jquery

  • 0

I get an error with impromptu ver 4.1 when running under the latest jquery 1.9

Uncaught TypeError: Cannot read property ‘msie’ of undefined

This was not the case with previous versions of jquery.

The offending line in impromptu is line 20:

var ie6 = ($.browser.msie && $.browser.version < 7);
  • 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-17T17:21:16+00:00Added an answer on June 17, 2026 at 5:21 pm

    You could patch Impromptu replacing this line :

    var ie6 = ($.browser.msie && $.browser.version < 7);
    

    … by this one :

    var ie6 = ( navigator.userAgent.match(/msie/i) && navigator.userAgent.match(/6/) );
    

    … so now it can work with jQuery v1.9.0+. Optionally, you could rollback to jQuery v1.8.3

    EDIT (March 12th, 2013)

    Thanks @johntrepreneur for your comments, you are correct. Two notes:

    1. This edited line :

      var ie6 = ( navigator.userAgent.match(/msie/i) && navigator.userAgent.match(/6/) );
      

      … should be replaced by this one :

      var ie6 = ( navigator.userAgent.match(/msie [6]/i) );
      

      … my bad, I rushed writing the patch. That should do the trick.

    2. Impromptu has completely removed IE6 support in their last commit (on March 25/2013 after this original post). The issue brought by the OP was that Impromptu did break with jQuery v1.9+ … updating the Impromptu js file to the last version does also fix the issue.

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

Sidebar

Related Questions

I use the following jquery statements but i get error in this function onGetDataSuccess(result)
I get error C2027: use of undefined type 'Bridge' and error C2227: left of
Get error 'ClassLibrary3.Class1.a' is a 'property' but is used like a 'type' when i
I get error of Unable to parse Binding, ReferenceError: 'calculateTotalPrice' is undefined; Bindings value:
Why do I get error C2504: 'CEntity' : base class undefined errors, when all
I get the following error while running my app. '-[NSCFString sizeWithTextStyle:]: unrecognized selector I
Why do I get error like this? undefined method `community_topics_path' for #<#<Class:0x00000009d79098>:0x00000009d70a38> Extracted source
Why I get error message printed on the console when running these two simple
Hello i get error E2197: [DCC Error] proj1.pas(34): E2197 Constant object cannot be passed
Because when i compile i get error: I/O Error: Cannot run program jar: CreateProcess

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.