I have been using cloneNode in Firefox and it is working fine. But in Chrome it doesn't work as I expected. The cloneNode method does clone the node but it doesn't clone the value of the node if the node is file(<input type="file">).
Anyone know how to fix this problem?
...
I have a Google chrome plugin that has to sustain a connection(BOSH) with a outside server. That forces plugin to fire Connect() everytime browser opened. Stumbling through the API can;t really find event that would do this once and only once when browser is opened. Is there any or should I go in a freaky way ?
...
I have a jQuery event handler that essentially looks like this:
$("textarea").live("focus, click", function() {
var o = $(this),
expand_height = "60px";
o.animate({height : expand_height});
}
As you can see, onfocus or onclick it is supposed to animate the expansion of the textarea from it's initial height (20px) to it's exp...
I'm putting together some demo pages, and one of the things I want to demonstrate involves fetching HTML fragments dynamically with subsequent processing. Thus I've got simple jQuery code like this:
$('#target').load('./content_fragment.html', function() {
$(this).doSomething();
});
I'm doing all this from file:// URLs because the w...
Working on an idea for a simple HTMLElement wrapper I stumbled upon the following for IE and Chrome:
for a given HTMLElement with ID in the DOM tree, it is possible to retrieve the div using its ID as variable name. So for a div like
<div id="example">some text</div>
in IE8 and Chrome you can do:
alert(example.innerHTML); //=> 'some...
Hi,
UPDATE
I have now managed to get it working in both Firefox and Safari on Mac OS X but for some reason, it's still not working in Google Chrome 5.0.375.125.
Could it possibly be related to this thread in the jQuery forums about Google not working properly on a file system url but will work when hosted on a server, i.e. see:
jQuery...
Hi.. I recently moved my development environment to my local machine (mac), and setup an Apache virtual host: dev-mysite so in the browser it's: http://dev-mysite/
No .com or anything like that
issue I'm having now is that signing into the site requires setting a cookie and for some reason Google Chrome isn't letting my dev enviroment ...
Hi,
I am using Google Chrome's Inspect Element Developer feature, specifically under "Resources" -> "Images" and have located an image that has a Status Code of 404 Not Found.
My question is, is there anyway of determing/locating where this image that cannot be found referenced in either a stylesheet or html code?
Just unsure where to...
in Chrome when i set z-index to 2147483647 it changes to 1e+06.. what is the maximum possible value for chrome?
...
I wish I could give you more information about this problem, but that is really the problem:
What does Uncaught SyntaxError: Unexpected end of input mean?
I am getting it when I load the background.html file which contains all the JavaScript for my extension. What causes these types or errors? How do I go about debugging them? No line ...
Ive created a 64x64 favicon for a site im making and its displaying fine. But then in Google Chrome when i press "Create Application Shortcut" it resizes the favicon down to [what looks like] 16x16 for the desktop/taskbar icon it makes. This looks really silly - so how do I make Chrome not resize it, and end up with a nice clear, non blu...
Hello there, I'm creating an extension for Google Chrome, so any code has to be compatible with Chrome and Chrome only. In this extension, I need the user to select a folder from his local machine. This simple task is becoming quite a problem. The chrome extensions options page will not run applets, so I couldn't really do Java. It's Goo...
Hello,
Is it possible in Google Chrome's Developer Tools (Developer -> Developer Tools or ctrl+shift+i) when inspecting script's date variables to see their values?
For example,
Google Chrome:
end_date: Date
start_date: Date
Firefox:
end_date: Mon Nov 01 2010 00:00:00 GMT+0200 {}
start_date: Fri Oct 01 2010 00:00:00 GMT+0300 {}
...
Hi All
I'm using the javascript method getElementsByTagName("a") to call all 'a' tags and do some effect with them. The method works in FF and Opera but not in Chrome and Safari.
When I look in the debugging tools of Chrome and Safari they say: "Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"
Why is that and what...
Hello Guys,
I have a problem using $.getScript() on chrome. It doesn't work on chrome browser. I've tested it on firefox, ie and safari and it worked. All I have on my external script is an "alert()" and it doesn't work.
Here's the code:
page
$(document).ready(function(){
$("#btnGet").click(function(){
$.getScript("script.js");
...
We have a tomcat application which works fine in IE7/8 and Firefox. The only browser we are having issues with (that we care about at this point) is google Chrome. Users can navigate to the application fine and log in and do whatever they need to do in Firefox and IE. However, when trying to log in with Chrome, the session is apparently ...
Hi,
I would like to hide menu buttons, navigation buttons and address bar in ChromePortable.
Can i do so? Is it possible ?
I'm trying to use Jetty + war + ChromePortable as desktop application. Any suggestions about that?
...
Hey all,
I have a chrome extension thats very complex, but I'll simplify the issue which can be reproduced easily.
manifest.json:
{
"name": "script",
"version": "1.0",
"description": "script",
"browser_action": {
"default_icon": "icon.jpg"
},
"permissions": [
"tabs",
"http://www.google.com/"
],
"background_...
Hello,
for local development I'm running a local webserver with virtual hosts to manage multiple webprojects requiring their own URL. Normally I use URLs like myproject.com.local and the real project will be located at myproject.com. Everything works fine in Safari, IE or Firefox. But Google Chrome throws a 404. As far as I know they ha...
It seems like the point of window.postMessage is to allow safe communication between windows/frames hosted on different domains, but it doesn't actually seem to allow that in Chrome.
Here's the scenario:
Embed an <iframe> (with a src on domain B*) in a page on domain A
The <iframe> ends up being mostly a <script> tag, at the end of...