javascript,html,internet-explorer,internet-explorer-10Related issues-Collection of common programming errors
stevebot
java javascript json httpwebrequest
Is there any performance advantage of using content type application/json sending an object serialized to json over text/plain? I know many frameworks (like Spring) can map and serialize data based on the content type, but in general I find that this process is easy enough that it isn’t a compelling reason to use application/json over text/plain for JSON objects.
stealthjong
javascript android phonegap
I have and application built with PhoneGap, and I’m trying to communicate with Javascript from native code.in my DroidGap extending class:@Override public void onCreate(Bundle savedInstanceState) {Logger.log(“oncreate”);super.onCreate(savedInstanceState);super.init();super.appView.getSettings().setJavaScriptEnabled(true);super.appView.getSettings().setSupportZoom(true);super.appView.getSettings().setBuiltInZoomControls(true);super.appView.getSettings().setDisplayZoomControls(false);jsinterface =
Ram
javascript html tomcat web-applications jetty
I have a very simple webapp where I am trying to plot graphs using flot javascript library. My JSP file goes this way where I am importing the required *.js files as follows. Relative to the hello.jsp file at WEB-INF/pages/hello.jsp, scripts directory with the relevant .js files are at ../../scripts (i.e. directly under ROOT)<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> <html> <head><meta http-equiv=”Content-Type” content=”text/ht
Rick Rickk
java javascript android android-emulator
Possible Duplicate:The application has stopped unexpectedly : mrsnakey Hello guys I am very new to programming and recently borrowed the book Beginning Android Games by Mario Zechner. He taught me how to create a game named mr nom. I followed every single instruction and renamed mr nom to mrsnakey.My logcat error is as follows:04-25 08:37:16.422: I/Process(856): Sending signal. PID: 856 SIG: 9 04-25 08:39:58.712: W/dalvikvm(863): Unable to resolve superclass of Lcom/zardtechnologies/mrsnakey/Mr
clint
javascript objective-c ios phonegap cordova
I am using phonegap/cordova(2.1.0) to create IOS app. i want to call a javascript function in index.html file of the phonegap from an objective-c function. So, i am creating an instance ‘theWebView’ of the ‘UIWebView’ class like below:Code in AppDelegate.h:#import <UIKit/UIKit.h>#import <Cordova/CDVViewController.h> #import “sqlite3.h”@interface AppDelegate : NSObject < UIApplicationDelegate > {NSString* invokeString;}@property (nonatomic, strong) IBOutlet UIWebView* theWebView
SSH
javascript vaadin jsni google-wallet gwt-widgets
I need to integrate Google wallet into my Vaadin 6 application, downloaded wallet api/demo from here.First I was trying to run this given sample into vaadin but after a long effort I am stuck now. Tried lots of ways/examples , studied lot about widgets but only this example was found to be simple and working. I added my lines of code, the process going smooth upto the purchase() call but when it calls wallet API function buy() the browser’s page get cleared and nothing happened as if program end
Brij Raj Singh
javascript parse.com
I am facing 2 issues with writing a background job in parseHere is my codeParse.Cloud.job(“createSilentUsers”,function(request,response){// Set up to modify user dataParse.Cloud.useMasterKey();//get all the users from backupusers table where isbiscootactivated = 0 and issnsactivated=0// Query for all usersvar query = new Parse.Query(“biscootusers”);query.equalTo(“isbiscootactivated”,0);query.equalTo(“issnsactivated”,0);query.first({success: function(result) {// Successfully retrieved the object.
Yahya KACEM
javascript angularjs
this code is from the AngularJs docs for ngRouterangular.module(‘ngViewExample’, [‘ngRoute’, ‘ngAnimate’],function($routeProvider, $locationProvider) {$routeProvider.when(‘/Book/:bookId’, {templateUrl: ‘book.html’,controller: BookCntl,controllerAs: ‘book’});$routeProvider.when(‘/Book/:bookId/ch/:chapterId’, {templateUrl: ‘chapter.html’,controller: ChapterCntl,controllerAs: ‘chapter’});// configure html5 to get links working on jsfiddle$locationProvider.html5Mode(true); });function MainCntl($rout
user2122206
php javascript jquery html5 phonegap
So I have it set up to upload images via Phonegap native apis from devices images/camera with random numbers attached to the image name. I’m trying to figure out how to access the final url of the image location on the server so that I can utilize that url of the image when making a Facebook post since they require external uploaded images.Code: .php<?php $dir = “upload”; $randomImg = rand(1, 9999).”image”.rand(1, 999999).”.jpg”; if ($_FILES) {print_r($_FILES);mkdir ($dir, 0777, true); move_
user2548513
c# javascript httpclient content-type boundary
I have a bit of a messy situation that I am hoping someone can offer a solution for. So please bare with me while I offer a bit of background. Basically I am using javascript to communicate with a third party service. As part of their authentication process they need the “multipart/form” body of the post message including an image to be encrypted in md5, this is added to a string including the date, and a few other things and then a HMAc/SHA1 run on it. So in the end they have the multipart b
?s??o?
android html css forms
I have a mobile web app that displays a dialog box within a position: fixed element overlaying the entire screen. No matter how much content is displayed or how far the page has scrolled, the overlay element dims the page content and the dialog appears on top of it all. There is an <input type=”search /> field in the dialog.On Android, when the user taps the input field to give it focus, some pretty erratic behavior often (but not always) ensues:The soft keyboard appears, then immediatel
Ram
javascript html tomcat web-applications jetty
I have a very simple webapp where I am trying to plot graphs using flot javascript library. My JSP file goes this way where I am importing the required *.js files as follows. Relative to the hello.jsp file at WEB-INF/pages/hello.jsp, scripts directory with the relevant .js files are at ../../scripts (i.e. directly under ROOT)<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> <html> <head><meta http-equiv=”Content-Type” content=”text/ht
Sander Marechal
html css
I need some help with my design. I want to display three equal-height boxes next to each other, like this ASCI art:+——+ +——+ +——+ | | | | | | | | | | | | | | | | | | +——+ +——+ +——+I also have an example online (with all the CSS).The contents of the boxes varies in height. The tricky thing is that these boxes also need to have rounded corners. For that I am using the “sliding doors” technique. Basically, the markup of a box is s
user3264898
java html eclipse jsp
I had created a simple web application project in eclipse. It includes- A jsp page A servlet and A html file.jsp page simply includes a text to print like Hello After deploying this project on Google app engine, the only html page is get display. for jsp page it shows 500 server error. Why this is so ? web.xml`<?xml version=”1.0″ encoding=”utf-8″?> <web-app xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns=”http://java.sun.com/xml/ns/javaee” xmlns:web=”http://java.sun.com/xm
Troels Larsen
jquery html css css3
I’ve been exposed to the commandment of ‘no tables for layouts’ for years now, but I’m wondering if CSS still has no easy (readable) way of doing grid layouts?It’s been ages since I last did web development, and coming back to it from WPF, CSS still seems like a very limited way of coding layouts.What I’m trying to achieve is show in the Basically, I want my form to contain 5 columns:1 holding s. Autosized after the widest element 4 taking up the remaining space in the parent container, divided
Eric Ryan Harrison
javascript jquery html title disabled-input
I am building a very dynamic web-based application using a lot of Javascript to handle user events. I am in the process of making things a little more usable and came across a problem that I’ve never had before.I am using jQuery, so factor that in to your answers. Thanks in advance.I have a set of button elements defined as: <input type=”button” title=”My ‘useful’ text here.” disabled=”disabled” />I have these buttons with a default style of:div#option_buttons input {cursor: help; }Then, u
grammar
html css flex json rollovers
I am using JSON to parse HTML data with customized html tags in Flex. Flex’s support for HTML is pretty minimal, so I am wondering if it’s possible to do a simple font color change rollover effect on these links. Currently I have found that Flex only supports a few HTML tags, but also supports CSS through Flex’s whack CSS methods. Can I manipulate HTML that is written in my JSON files through an external CSS file? Or better still using a simple tag with the JSON file?
Dasun
php html mysql forms joomla
I’m trying to add a new field type for Joomla’s AdsManager (advertising board) as it can’t be achieved properly with native fields. The field should contain 2 text inputs – from [ ] to [ ]. My current code is:$return .= ” <label for='”.$name.”from’>from</label> <input id='”.$name.”from’ name='”.$name.”[]’ type=’text’ size=’3′ maxlength=’2′ /> <label for='”.$name.”to’>to</label> <input class=’adsmanager’ id='”.$name.”to’ name='”.$na
blue-sky
java html spring google-app-engine
EDIT : This has begun working and I have not changed anything, this is the second time that I’ve encountered this issue, my app works for a while and then just stops suddenly working. Is GAE unreliable when it comes to Spring ? Has anyone else experience similar GAE issues ?I’m unable to display an animated gif on a jsp page. The gif displays locally but when I put live on app engine server an error is thrown. Here is my setup :Ive added the images dir in appengine-web.xml :<static-files>
Cody Gray
html css design layout single-page-application
There’s a general consensus that using tables for layout in HTML should be avoided. But there are exceptions to every rule. I am designing an SPA (single page application)-with pages that resemble the layout used by a desktop application.Obviously HTML isn’t well equipped for these types of pages, but I have little other choice. Implementing these layouts with DIVs is pure hell, requiring a mix of CSS tricks, hard-coded values and even JS calculations on resize events. I’ve recently asked this q
Gino
internet-explorer selenium webdriver ui-automation
I have created tons of automated selenium tests for our company. The server part is running on the vm and sometimes that vm pot is under big load. I keep seeing tests that fail due to selenium. Let say i have an element and i do .click on it. What i’m seeing is that some tries that click is happening and sometime it does not. I am using wait.until(ExpectedCondition… on all of my elements and have enough of additional timing between the clicks. My manager asked me to make those tests more reli
Rolan
java oracle internet-explorer oracle10g oracleforms
I’m trying to debug an oracle forms application. In production, when I load the application I get an error: java.lang.ClassNotFoundException: oracle.forms.engine.MainI’m uncertain as to what is causing this issue. I’ve been searching forums for a bout half a day now, and it seems like it may have something to do with a java versioning issue.I’ve included the (slightly modified to protect my company) java console output, and if I’m reading it right, it looks like a certificate needs to be repacka
sircapsalot
java internet-explorer selenium
I am getting an error when running selenium on ie11. When I run this, the first url loads, but the second throws an error. Enable Protected mode is turned offpackage testproject;import org.openqa.selenium.*; import org.openqa.selenium.ie.InternetExplorerDriver;public class testclass{ public static void main(String[] args) throws InterruptedException {System.setProperty(“webdriver.ie.driver”, “D:\\development\\Selenium\\IEDriverServer.exe”);InternetExplorerDriver driver;driver = new InternetExplo
Josh Unger
javascript internet-explorer canvas internet-explorer-8 easeljs
I am using EaselJS and want to allow for backwards compatibility with ExplorerCanvas.This should be possible using the following code (see here): createjs.createCanvas = function () { … return canvas implementation here … }However, If I put an alert in this function and run the code, the function is never run.How do I go about getting this to work?Edit:Here is a simplified example of the code I am using:<!DOCTYPE html> <html lang=’en’> <head><meta charset=’utf-8′ />&l
michas
django internet-explorer firefox https applet
We have developed an analytics application that use a special Java applet (developed by IBM) to view some data. It’s a Django application that runs on Apache. Everything worked fine until we moved to SSL. The behavior is very strange and we are confused and a little bit worried how to make the applet work on HTTPS. Ok, I have read many threads about security updates that were introduced in JRE 7u51 (Java JRE plugins) but I think that this is not the reason of our problems. My current environment
Sean Kinsey
javascript internet-explorer xmlhttprequest
We are running windows IIS 6 and use it’s native ability to protect files with Windows Authentication as our login method.It works fine, except that when I try to post method XMLHttpRequest from IE i get the login dialog again, which causes the request to fail. The weird thing is that Mozilla and Safari work well.Is there something I can do with the headers or something to make IIS recognize it as the same session, and not promt a re-login?function ajaxQuery(method, url, params, asynchronous, re
Motti
internet-explorer dom vbscript automated-tests qtp
I have rich web app btuil with ExtJS. It has multi-select list control (created with JS+CSS). I want to click on some item in that list using HP QuickTest Pro 10 with Internet Explorer 6. I added that item into Object repository and found that following code works – selects some item:Browser(“blah”).Page(“blah”).WebElement(“SomeElem”).Clicknext code also works:Browser(“blah”).Page(“blah”).WebElement(“SomeElem”).FireEvent(“onMouseDown”) Browser(“blah”).Page(“blah”).WebElement(“SomeElem”).FireEven
claus
c# .net internet-explorer http com
In order to be able to filter URLs fetched (including JS, images, etc.) with the C# web browser (WinForms), the only containable option seems to be a Asynchronous Pluggable Protocol wrapping HTTP (and later on others as well). Unfortunately this fails with an InvalidCastException thrown by the original original protocol implementation after several calls <- this is also the weird part, it seems to succeed several times before failing.Now some code:Firstly the factory for the protocol is regis
Wyatt Anderson
javascript c++ multithreading internet-explorer com
I’m trying to make 2 different browsers communicate with each other through native code host (C++) using JS window.external.The syntax is something like: on destination.js:window.external.register(“dest”, eventCallbak); function eventCallback(senderID, data) { alert(“message recieved from ” + senderID + ” with data of ” + data); }on source.js:window.external.sendMsg(“source”, “dest”, “Hello dest! this is source…”);I’ve managed to do so synchronously, by saving the eventCallback parameter
Ferdy
internet-explorer webfonts
My website www.jungledragon.com makes heavy use of the icon font “FontAwesome”. This week I upgraded my system to Windows 8.1, which comes with IE11 installed. I noticed that the FontAwesome font fails to load completely, and the browser console shows these errors:CSS3117: @font-face failed cross-origin request. Resource access is restricted. File: fontawesome-webfont.eot CSS3117: @font-face failed cross-origin request. Resource access is restricted. File: fontawesome-webfont.woff CSS3114: @font
pstenstrm
node.js selenium2 internet-explorer-10 internet-explorer-11 saucelabs
We’ve been using SauceLabs for our nightly Jenkins CI tests. We’ve run the tests in Firefox 24 under Windows 8 without any problem. Now we want to expand the tests and run them on more platforms and browsers. Our goal is to run the tests in the latest Firefox and Chrome browsers under Windows and OSX and IE11, 10 and 9.The tests are written using a node.js client for webdriver/selenium2 https://github.com/admc/wdThe problem I have now is getting our dragAndDrop method to work in IE11 and IE10. I
enjiner
iis redirect web-browser internet-explorer-10 internet-explorer-11
I have an IIS redirection configured to redirect all browser requests to a single page, where the HTTP_USER_AGENT matches ‘rv:11.0’. This is mostly working as expected (Internet Explorer 11 requests are being redirected to the specific page). However, we are also experiencing some false positives. A user on Internet Explorer 10 is also being incorrectly redirected to this page after following particular links, despite having a different user agent. When we test this user agent string using the ‘
Dirk
c# selenium internet internet-explorer-10 ui-automation
I tried the code below a 100 times and still get this error:Unexpected error launching Internet Explorer. Could not get document from window handle (NoSuchDriver)Not much on this error except the Protected Zone sync which is worthless.InternetExplorerOptions options = new InternetExplorerOptions(); options.IntroduceInstabilityByIgnoringProtectedModeSettings = true; IWebDriver driver = new InternetExplorerDriver(pathContainingIEDriverServer, options);driver.Navigate().GoToUrl(“http://www.google.c
Jonathan Sampson
html doctype internet-explorer-10
I have an application which works fine on IE8 and IE9. But the same application throws errors similar to the following on IE10. Any one knows what changed in IE10 that can trigger this issue?HTML1502: Unexpected DOCTYPE. Only one DOCTYPE is allowed and it must occur before any elements.HTML1513: Extra “<html>” tag found. Only one “<html>” tag should exist per document.In my application I have a set of main jsp which included other jsps on a need basis. Each jsp has a and tag in i
giammin
c# asp.net iis internet-explorer-10
I’m migrating one of our website to new server, running Windows Server 2008 R2 and IIS 7.Web is perfectly running under Google Chrome, but there is something weird while using IE 10.Example in Google Chrome (which is OK):Entering www.ourweb.com/Login.aspx Logging in Redirected to www.ourweb.com/Home.aspxExample in IE 10:Entering www.ourweb.com/Login.aspx Logging in Redirected to www.ourweb.com/(F(UTq2wZuGLRl0BKou8K0HshpBua96yAkY81e7lJOeUvuhO5Njmsh1cHhPeiJkO7tnPBj7xxUI6zy1XVkX_BfV5vMJiKlNz76kd1dW
phun-ky
cookies internet-explorer-10
I’m struggling with IE 10 and document.cookie, and this behaviour is for me unexpected..If I use this code in the developer console in IE 10document.cookie=”withactualpathanddomain=nb; path=/pathname/; domain=localhost”; document.cookie=”withactualpath=nb; path=/pathname/;”; document.cookie=”withpathanddomain=nb; path=/; domain=localhost”; document.cookie=”withdomain=nb; domain=localhost”; document.cookie=”justname=nb;”;The browser only sets two cookies: “justname” and “withactualpath”.If I do t
jon3laze
windows-server-2008 iis7 http-error-401.2 internet-explorer-10
I am not sure if this is more of a coding issue or server setup issue so I’ve posted it on stackoverflow and here…On our production site we’ve run into an issue that is specific to Internet Explorer 10.I am using jQuery doing an ajax POST to a web service on the same domain and in IE10 I am getting a 401 response, IE9 works perfectly fine. I should mention that we have mirrored code in another area of our site and it works perfectly fine in IE10. The only difference between the two areas is th
balpha
javascript internet-explorer-10 requestanimationframe
So I’ve been a good net citizen, using feature detection to see whether the browser supports requestAnimationFrame and only fall back to a setTimeout-based solution otherwise (something around the lines of Paul Irish’s famous post).var NOW = Date.now || function () { return new Date.getTime(); }; var reqAnimFrame =window.requestAnimationFrame ||window.webkitRequestAnimationFrame ||/* … || */function (callback) {setTimeout(function () { callback(NOW())
Konstantin D – Infragistics
javascript windows-8 microsoft-metro winjs internet-explorer-10
I’ve started playing with Windows 8 recently, and (as a web developer) I’m using JavaScript to build my Metro-style app.I’ve learned how to use the debugging tools in VS Express 2012… but it occurs to me that the wrapping WebView (or whatever it’s called) could simply be a stripped-down IE10. I’ve never heard an explanation for what the HTML/JS engine is in this environment. Does anyone know what is happening under the hood?
user1470516
actionscript-3 flash internet-explorer-10 usb-drive
I’m running a website from a USB drive and trying to pass parameters through the address bar to a new window when a button is clicked in the embedded flash swf.The problem is that on some workstations the parameters are stripped from the URL. On others it works fine.I have a movieclip button that when clicked calls this function:function onReleaseHandler(myEvent:MouseEvent) { var printURL = “html/certPopup.html”;var request:URLRequest = new URLRequest(printURL);var variables:URLVariables = n
Web site is in building