Giter Site home page Giter Site logo

Comments (6)

websanova avatar websanova commented on June 28, 2024

Thanks, will take a look soon.
On Mar 4, 2013 6:46 PM, "jrhooker" [email protected] wrote:

Hello,

Very nice script, but doesn't work in IE 9 due to its dependence on the
"split" function.

Cheers,
Jeff.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.

from js-url.

websanova avatar websanova commented on June 28, 2024

Wait a second, IE supports split function, what are you running that is giving you the error? It could be a specific string that's breaking it.

from js-url.

jrhooker avatar jrhooker commented on June 28, 2024

IE does "support" it, but in IE9 it's broken.

On Tue, Mar 5, 2013 at 4:56 AM, Nova [email protected] wrote:

Wait a second, IE supports split function, what are you running that is
giving you the error? It could be a specific string that's breaking it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-14438467
.

from js-url.

websanova avatar websanova commented on June 28, 2024

Just ran this in ie9: http://jsfiddle.net/Xnvrf/

Seems to work fine.

Do you have any specific info you can attach, links, examples, device
you're using, anything might be useful to pinpoint the problem.

On Tue, Mar 5, 2013 at 12:07 PM, jrhooker [email protected] wrote:

IE does "support" it, but in IE9 it's broken.

On Tue, Mar 5, 2013 at 4:56 AM, Nova [email protected] wrote:

Wait a second, IE supports split function, what are you running that is
giving you the error? It could be a specific string that's breaking it.


Reply to this email directly or view it on GitHub<
https://github.com/websanova/js-url/issues/15#issuecomment-14438467>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-14451773
.

from js-url.

evoactivity avatar evoactivity commented on June 28, 2024

I've never had a problem with ie9 and split, do you have any examples
jrhooker?

On 05/03/2013 17:26, Nova wrote:

Just ran this in ie9: http://jsfiddle.net/Xnvrf/

Seems to work fine.

Do you have any specific info you can attach, links, examples, device
you're using, anything might be useful to pinpoint the problem.

On Tue, Mar 5, 2013 at 12:07 PM, jrhooker [email protected]
wrote:

IE does "support" it, but in IE9 it's broken.

On Tue, Mar 5, 2013 at 4:56 AM, Nova [email protected] wrote:

Wait a second, IE supports split function, what are you running
that is
giving you the error? It could be a specific string that's
breaking it.


Reply to this email directly or view it on GitHub<
https://github.com/websanova/js-url/issues/15#issuecomment-14438467>
.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/15#issuecomment-14451773
.


Reply to this email directly or view it on GitHub
#15 (comment).

from js-url.

jrhooker avatar jrhooker commented on June 28, 2024

Profoundly odd.

The function that brought this to my attention was:

function doOnRowSelected(rowId) {
var rowIdArray = rowId.split( "|" );
if (rowIdArray[1] == null){
window.location.assign(rowIdArray[0] +
'.html' + '?origin=' + escape(window.document.title));
} else {
window.location.assign(rowIdArray[0] +
'.html?row=' + rowIdArray[1] + '&origin=' + escape(window.document.title));
}
}

It worked in every browser but IE9, so I did some digging and found a bunch
of threads saying that "split" was broken in IE9.

So I found a function to replace it, but once that was fixed, URL
processing was broken too, so I looked into your JS files and found a great
whack of "split" function use, thought "AhHa!", replaced your URL parser
with another, and now everything works.

An now, of course, I can't make "split" break in IE9 any more.

My apologies; it was likely just a mistake on my part. If I have time to
restore my code from source and track the problem down a second time I'll
update you with the outcome, but at this point I've got to keep moving
forward.

Cheers,
Jeff.

On Tue, Mar 5, 2013 at 9:27 AM, Liam Potter [email protected]:

I've never had a problem with ie9 and split, do you have any examples
jrhooker?

On 05/03/2013 17:26, Nova wrote:

Just ran this in ie9: http://jsfiddle.net/Xnvrf/

Seems to work fine.

Do you have any specific info you can attach, links, examples, device
you're using, anything might be useful to pinpoint the problem.

On Tue, Mar 5, 2013 at 12:07 PM, jrhooker [email protected]
wrote:

IE does "support" it, but in IE9 it's broken.

On Tue, Mar 5, 2013 at 4:56 AM, Nova [email protected] wrote:

Wait a second, IE supports split function, what are you running
that is
giving you the error? It could be a specific string that's
breaking it.


Reply to this email directly or view it on GitHub<
https://github.com/websanova/js-url/issues/15#issuecomment-14438467>
.


Reply to this email directly or view it on
GitHub<
https://github.com/websanova/js-url/issues/15#issuecomment-14451773>
.


Reply to this email directly or view it on GitHub
#15 (comment).


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-14452944
.

from js-url.

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.