I've been trying to re-implement an HTML5 image uploader like the one on the Mozilla Hacks site, but that works with WebKit browsers. Part of the task is to extract an image file from the canvas object and append it to a FormData object for upl...
I am creating a jQuery plugin.  How do I get real image width and height with Javascript in Safari?  Following works with Firefox 3, IE7 and Opera 9:  var pic = $("img")  // need to remove these in of case img-element has set width and heig...
I'm trying to simulate a keyboard event in Safari using JavaScript.  I have tried this:  var event = document.createEvent("KeyboardEvent"); event.initKeyboardEvent("keypress", true, true, null, false, false, false, false, 115, 0...
I have a bog-standard login form - an email text field, a password field and a submit button on an AIR project that's using HTML/jQuery.  When I hit Enter on the form, the entire form's contents vanish, but the form isn't submitted.  Do...
I know that in Safari on an iPhone you can detect the screen's orientation and change of orientation by listening for the onorientationchange event and querying window.orientation for the angle.  Is this possible in the browser on Android phone...
I noticed a blog post from Google that mentions the ability to paste images directly from the clipboard into a Gmail message if you're using the latest version of Chrome.  I tried this with my version of Chrome (12.0.742.91 beta-m) and it works...
Do common JavaScript engines, such as V8 and WebKit's JavaScriptCore, use string interning for JavaScript strings? Or do they actually keep multiple instances of identical strings in memory?...
So, I've got this -webkit-animation rule:  @-webkit-keyframes shake {     0% {         left: 0;     }     25% {         left: 12px;     }     50% {         left: 0;     }     75% {         left: -12px;     }     100% {         left:0;     } }...
I have a piece of JS code to generate random numbers and output them as variables to be used here in place of the rotation values  @-webkit-keyframes rotate {     0% {-webkit-transform: rotate(-10deg);}     100% {-webkit-transform: rotate(10deg);}...
I am getting the below error when i try to set a hash value to the parent url from iframe which contains another domain url:     Unsafe JavaScript attempt to access frame with URL "URL1" from frame with URL "URL2". Domains, protocol...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.