Hi,
Why cannot IE parse this string as a Date object.
var d = Date.parse("Fri Jun 11 04:55:12 +0000 2010"); // returns NaN
However, it works well in FireFox. I am running IE 8.
Thanks.
I have a contenteditable div where I need to insert text at the caret position,
This can be done in IE by document.selection.createRange().text = "banana"
Is there a similar way of implementing this in Firefox/Chrome?
(I know a solution exists here , but it looks sorta clumsy)
Thank you!
I am work an Desktop Application in which i need to save the name of corrently focused or active window name(mozilla firefox, or any other file name) in an text file currently I am using getActiveWindow() method of KeyboardFocusManager which give the name of active Window, or null if the active Window is not a member of the calling thread's context.
I want to get the name of Global Active window which corrently user is using.
Thanks
Ansh J
Thanks in advance
I'm working on some Javascript that makes use of Firefox 3.5's ability to perform cross-domain XMLHttpRequests… But I'd like to fail gracefully if they aren't supported.
Apart from actually making a cross-domain request, is there any way to detect a browser's support for them?
shortcut.add("up",function() {
alert( document.body.scrollTop)
if (document.documentElement&& typeof document.documentElement.scrollTop=='number'){
document.documentElement.scrollTop-=100
}
else if (document.body) {
document.body.scrollTop-=100
}
})
shortcut.add("down",function() {
if (document.documentElement&&typeof document.documentElement.scrollTop=='number' ){
document.documentElement.scrollTop+=100
}
else if (document.body) {
document.body.scrollTop+=100
}
})
it can running in firefox,but not in chrome and safari
thanks
Hi
Case is I want to prompt a message (Do you want to save changes?) if text box default value is updated on .aspx page before submitting the page. I am using .text() to compare with .val().
It works fine in firefox but failing in IE7 and IE8
if ($("#<%=txt1.ClientID%>").attr("value") === $("#<%=txt1.ClientID%>").text())
return(true);
return confirm('Do you wish to save these changes?');
I have a some javascript that calls is calling for a popup (media player) to load. That works But I want the parent page to close or not even appear to have opened. This works great in Firefox.
Code is:
window.open("radio.html","Levante_Radio_Live","width=323,height=281,scrollbars=no,menubar=no,location=no",);
window.close();
I need to be able to change the background-image property of a SELECT drop-down using JavaScript/CSS. We have been able to accomplish this in Firefox, but it doesn't appear to be supported at all in IE.
From what I've read, IE won't support this. But I'm wondering if there's anything else I could try. Does anyone here have any recommendations?
Hello,
I'm generating some content through an API, accessed by javascript, and I cannot grab the source code of what is plainly displayed, post-load, on the browser. I can highlight the text and view the source of selected text (which is a firefox feature), but I will be using CURL to capture the data automatically with php... How can I capture the data? Is there a way to update the source(maybe through a DOM update) so it displays some how? Any help is appreciated.
I'm looking for cheap SSL certs for running a personal website over https without triggering Firefox's "you may be facing a man-in-the-middle-attack" response that self signed certs provoke. Nothing particularly fancy, no EV, etc. Any recommendations/where do you get your certificates from?
How can I tell if a given javascript function will work across browsers? For instance, I want to use String.trim() and I see that it works in Firefox, but will it work in all the other major browsers? I imagine there is a good doc online somewhere, but I can't find it.
Hi guys, i am creating a new site, based in a pre-existing web page
The original site is http://oasisrio.intermediasp.com/
Its works great in Firefox, Chrome, and IE
But the new one "oasisba.intermediasp.com"
Dont show the right bar in IE, i check all that i can think about and i dont found the problem.
Someone have any ideas why this is happening?
PD: Sorry for my crapy english
<video id="myVideo" src="2.mp4" controls="" tabindex="0">decoder not found</video>
this code show ' decoder not found' on safari (my os is windows xp)
why ?
thanks
and this html5 vedio can be show on firefox and chrome ,but not safari.
http://shapeshed.com/examples/HTML5-video-element/
why ?
I have already test Firefox extension like "Selenium" and "Molybdenum" but they are not really usefull with a dynamic website.
Indeed, the content changes often so all functionnal tests recorded are quickly deprecated.
Hi, I was following the site http://railstutorial.org/
and in the chapter 7, it shows an example of how to
use gravatar_for.
I tried to use it using
<%= gravatar_for @user %
but it does not render correctly in my browser (firefox/opera/chrome)
it render this html:
classgravatartitleratingPGstylewidth:50px;height:50px;background:url(http://www.gravatar.com/avatar/bebfcf57d6d8277d806a9ef3385c078d?rating=PG&size=50) no-repeat;sslfalsealtdefault
Could someone give me the solution for this problem? I got stuck and I really don't know to solve this. Thank very much.
For example, I cannot combine the concepts of this simple example:
link text with the concepts of this example: link text, which uses the styled V3 api.
In Chrome I get an error saying that:
Uncaught TypeError: Cannot read property 'DROP' of undefined
And it refers to this line of code:
animation: google.maps.Animation.DROP,
When I replace the javascript link reference to use the version of the API from the first example, the error goes away, but I lose the custom styling. I have not tried this in Firefox or IE.
EDIT: Link to example: link text
Hi there,
The title says it all, my website looks good in Iexplorer 8 and Firefox but the part of the picure and top navigation is laso noty in place, can anyone figur out why? For me it's a mysterie
http://www.friesecomputerservice.nl/
My website is accessible without www in the front of it in Firefox and Safari however for some reason it is not in Chrome. Is there anything that I need to change on my website host or in the html to make it accessible?
Hello, I'm having a problem similar to the one described here (without a resolution):
http://stackoverflow.com/questions/2467745/ie7-float-and-clear-on-the-same-element
The following HTML renders as intended in Firefox but not in (both) IE7 and IE8:
<html>
<head>
<style>
ul {
list-style-type: none;
}
li {
clear: both;
padding: 5px;
}
.left {
clear: left;
float: left;
}
.middle {
clear: none;
float: left;
}
.right {
clear: right;
float: left;
}
</style>
</head>
<body>
<ul>
<li>1</li>
<li class="left">2</li>
<li class="right">3</li>
<li class="left">4</li>
<li class="middle">5</li>
<li class="right">6</li>
<li>7</li>
</ul>
</body>
</html>
This is a form layout, and in Firefox the results appear like:
1
2 3
4 5 6
7
That's what I'm going for. In IE7 and IE8 however, the results are:
1
2 3 5 6
4
7
[Note: I don't want to float anything to the right because I want the fields on my form to left-align correctly, without a giant space in-between the floated fields to account for the parent container's width.]
Apparently I need a full clear, and can probably add an empty list-item element to the list to force clearing, but that seems like a dumb solution and sort of defeats the purpose.
Any ideas? I've spent a few hours reading and trying different options without success.
I am using simple jQuery
$.get( .... );
Here instead of getting GET response I get OPTIONS.( checked in firebug Net)
Same code is working fine in Safari. Looks like some problem with Firefox.
Any workaround / solutions to fix this problem..
Thanks
Kurund
My form works in firefox but not ie. I've tried using a hidden text field (fail)... I tried using an image instead of a submit button (fail)... are there any other solutions?
I tried to upload xml file using xmlhttprequest object on Javascript.
It works perfectly well on Firefox.
However, it fails on IE 8.
I tried several machines.
Same result......
any insights?
my problem looks strange. when I enter www.upitr.com in browsers, it works, but for upitr.com, It works just in FireFox and Safari while it doesn't work in IE and Chrome.
Any ideas? Thanks
even with a piece of code like this
$.get('getforums.php', function(data) {
alert(data);
});
works well in chrome, firefox, safari, opera but not this baby.
tried everything, cleared cache, recreate this file in different editor,
even make this file just echoed a 's', but no,
it just don't like this file, works perfect on other file
thanks for the help!
I have inlcuded a JQuery Lightbox plugin on my first site and for some reason it is not showing the gallery images on click. the first one works but the others are blank.
I built the site in Dreamweaver and it worked fine in testing on Safari and Firefox but the live version isn't playing ball.
Any suggestions.