Giter Site home page Giter Site logo

Comments (2)

tonytomov avatar tonytomov commented on August 26, 2024

Hello,
If you set in your grid configuration pginput:"true" instead of pginput:true - it will give you error. Also I do not have such problems.
Best Regards
Tony

from jqgrid.

wilstra2 avatar wilstra2 commented on August 26, 2024

Hi,
yeah it is a really strange behaviour such I didn't set pginput at all.. (it was not set as string..)

but testing now I verified it is probably related to the way IE loads javascript dynamically rather than a coding issue in that line. The problem appears to me when I clear navigator cache, open the page and click a link (which creates and set up jqgrid) very fast, if I wait the page to load completely and click the same link no error appears.

the other day I probably only clicked very fast and the error was always happening

Firefox does handle javascript loading (which occurs in jquery.jqGrid.js) differently.
You can solve this issue by changing line 30 of jquery.jqGrid.js

From:
if(jQuery.browser.safari ) {
To:
if(jQuery.browser.safari || jQuery.browser.msie) {

this way IE will also loads javascript using
jQuery.ajax({url:filename,dataType:'script', async:false, cache: true});

Hope it helps. and thanks for the fast response

from jqgrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.