Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cross Browser

Javascript - Detect Print (not Print Preview) Event

I have a custom print preview page that shows up when a user wants to print a page. After this page… Read more Javascript - Detect Print (not Print Preview) Event

How Can I Control Javascript Execution Order?

I'm having some concurrency issues with a webpage I'm building. Basically, I have three scr… Read more How Can I Control Javascript Execution Order?

Parsing Iso8601-like Date In Javascript: New Date() Doesn't Work Across Browsers

How do I convert a date string coming from a database into a new Date() object? If I do the followi… Read more Parsing Iso8601-like Date In Javascript: New Date() Doesn't Work Across Browsers

How To Add Non-enumerable Property In Javascript For Ie8?

Is there a way to add 'hidden' non-enumerable properties to a JavaScript object that works … Read more How To Add Non-enumerable Property In Javascript For Ie8?

Ajax Responsexml Errors

I've been having some weird issues when it comes to make an AJAX request and handling the respo… Read more Ajax Responsexml Errors

Html5 Drag And Drop Events And Setdragimage Browser Support

I'm working on a small jQuery plugin that mimics the jQuery UI draggable/droppable behavior wit… Read more Html5 Drag And Drop Events And Setdragimage Browser Support

Are Cookies Fit For Just Client Side Usage?

I want to store some non confidential data on the user's browser (or any device/mobile browser)… Read more Are Cookies Fit For Just Client Side Usage?

Is There A Cross-browser Solution For Getselection()?

I need to make a comment mechanism in which user highlights a piece of text, clicks 'comment th… Read more Is There A Cross-browser Solution For Getselection()?

Menuitem And Contextmenu Crossbrowser Compatibility

Problem 1: I had made my own contextmenu using the following piece of code. function addFullScreenM… Read more Menuitem And Contextmenu Crossbrowser Compatibility

Accessing A User's History Using Js

I'm not looking for code/how to. Just knowledge. A client has just come to us with a question: … Read more Accessing A User's History Using Js

Ho Do I Capture Ctrl + Click On Macos With D3js

I got a report that my script which should trigger on ctrl + click does not work on Mac. Like shown… Read more Ho Do I Capture Ctrl + Click On Macos With D3js

Restore Overridden Window.json Object

Some code that I don't have control over is overriding the global JSON object without checking … Read more Restore Overridden Window.json Object

Check If Background-color Is Undefined?

In the following situation: var bgCol = $(selector).css('backgroundColor'); I'm saving… Read more Check If Background-color Is Undefined?

Reliable Way To Detect Desktop Vs. Mobile Browser

Possible Duplicate: What is the Best way to do Browser Detection in Javascript? I'd like to e… Read more Reliable Way To Detect Desktop Vs. Mobile Browser

X-requested-with Is Not Allowed By Access-control-allow-headers

I am developing one system. In that system there is one add item to cart functionality. In that fun… Read more X-requested-with Is Not Allowed By Access-control-allow-headers

Diagonal Div Overlay

I'm trying to get a diagonal div across some content. I have some select boxes that I would lik… Read more Diagonal Div Overlay

As2(!) : Best Crossbrowser Way Of Calling Javascript Functions?

I have a AS2 project here that makes some troubles on certain browsers. Can someone tell me, what&#… Read more As2(!) : Best Crossbrowser Way Of Calling Javascript Functions?

Title Of History.pushstate Is Unsupported, What's A Good Alternative?

The second parameter of History.pushState and History.replaceState can be used to set the 'titl… Read more Title Of History.pushstate Is Unsupported, What's A Good Alternative?

Svg Renders But Gets Cut Off In Firefox Only - Why?

I am using d3js, which uses SVG, to create a chart. View it at www.uscfstats.com/deltas (use 12842… Read more Svg Renders But Gets Cut Off In Firefox Only - Why?

How To Clear Firefox' Console Via Javascript?

I have some functions that when executed show some info with console.log(). There is no problem wit… Read more How To Clear Firefox' Console Via Javascript?