tagged [cross-browser]

How to fix Array indexOf() in JavaScript for Internet Explorer browsers

How to fix Array indexOf() in JavaScript for Internet Explorer browsers If you have worked with JavaScript at any length you are aware that Internet Explorer does not implement the ECMAScript function...

Detecting when Iframe content has loaded (Cross browser)

Detecting when Iframe content has loaded (Cross browser) I'm trying to detect when an iframe and its content have loaded but not having much luck. My application takes some input in text fields in the...

26 Feb at 11:9

Online Internet Explorer Simulators

Online Internet Explorer Simulators (Tried to find simular questions / duplicates, failed) I develop on a mac. I love my mac. I develop using Chrome, Firefox, and Safari. I love them all for different...

Can I run multiple versions of Google Chrome on the same machine? (Mac or Windows)

Can I run multiple versions of Google Chrome on the same machine? (Mac or Windows) [This fabulous answer](https://stackoverflow.com/questions/717026/how-can-i-test-my-webpage-using-different-browsers/...

23 May at 11:47

Show datalist labels but submit the actual value

Show datalist labels but submit the actual value Currently the HTML5 `` element is supported in most major browsers (except Safari) and seems like an interesting way to add suggestions to an input. Ho...

.innerHTML opera issue?

.innerHTML opera issue? I'm trying to do : It's working fine with every browser except Opera (I'm running the latest version). Browsing the internet I found people saying that Opera does not support i...

3 Jun at 16:49

Are the PUT, DELETE, HEAD, etc methods available in most web browsers?

Are the PUT, DELETE, HEAD, etc methods available in most web browsers? I've seen a couple questions around here like [How to debug RESTful services](https://stackoverflow.com/questions/165720/how-to-d...

23 May at 10:31

What is WebKit and how is it related to CSS?

What is WebKit and how is it related to CSS? More recently, I have been seeing questions with the tag "webkit". Such questions usually tend to be web-based questions relating to CSS, jQuery, layouts, ...

Javascript switch vs. if...else if...else

Javascript switch vs. if...else if...else Guys I have a couple of questions: 1. Is there a performance difference in JavaScript between a switch statement and an if...else? 2. If so why? 3. Is the beh...

How can I prevent the backspace key from navigating back?

How can I prevent the backspace key from navigating back? On IE I can do this with the (terribly non-standard, but working) jQuery But is it possible to do in a way which works on Firefox, or in a cro...

How is the default submit button on an HTML form determined?

How is the default submit button on an HTML form determined? If a form is submitted but not by any specific button, such as - - `HTMLFormElement.submit()` how is a browser supposed to determine which ...

Special mouse events in a browser: wheel, right-click?

Special mouse events in a browser: wheel, right-click? Google maps is an impressive display of what you can do with JavaScript and Ajaxy-goodness. Even my mouse scroll wheel and right-click works to p...

How to bring back "Browser mode" in IE11?

How to bring back "Browser mode" in IE11? : The old question applies only to IE11 preview; browser mode had returned in final release of IE11. But there is a catch: it is next to useless, because it d...

Cross-browser custom styling for file upload button

Cross-browser custom styling for file upload button I'm trying to style a file upload button to my personal preferences, but I couldn't find any really solid ways to do this without JS. I did find [tw...

23 May at 12:18

OnChange event handler for radio button (INPUT type="radio") doesn't work as one value

OnChange event handler for radio button (INPUT type="radio") doesn't work as one value I'm looking for a generalized solution for this. Consider 2 radio type inputs with the same name. When submitted,...

2 Mar at 15:29

How to compress an image via Javascript in the browser?

How to compress an image via Javascript in the browser? Is there a way to compress an image (mostly jpeg, png and gif) directly browser-side, before uploading it ? I'm pretty sure JavaScript can do th...

Why do jQuery fadeIn() and fadeOut() seem quirky in this example?

Why do jQuery fadeIn() and fadeOut() seem quirky in this example? I've been playing with jQuery in an ASP.NET project and am finding some odd behavior with the `.fadeIn()` and `fadeOut()` functions. I...

Cookies with and without the Domain Specified (browser inconsistency)

Cookies with and without the Domain Specified (browser inconsistency) I've noticed that there are some real inconsistencies between browsers in terms of cookies. This is going to be rather long so bea...

6 Jun at 07:35