In Firefox 3, when I open a new window (or tab), using window.open, the new window has focus, which is what I want.
In IE, the old window still has focus for some reason, so I have researched the problem my window.open code does this now.
var w = window.open("Sheet.aspx", "_blank");
w.focus();
Unfortunately, this isn't working fo...
Hello everyone. I'm trying to create a generic javascript function that would change attributes on events.
The way it would work is
function fooFunction(sourceElement)
{
var newName = sourceElement+'Span';
var newElement = document.getElementById(newName);
//Important line
newElement.property = "enter properties here";...
I'm using the jQuery Cycle plugin (malsup.com/jquery/cycle/) on this page: http://artandculturecenter.org
It works as expected in Firefox and other browsers, but NOT in any version of IE that I've tried -- browser displays all the divs rather then cycling through them. I'm assuming this is because jQuery isn't working/loading at all bec...
I was working on an AJAX-enabled asp.net application.
I've just added some methods to Array.prototype like
Array.prototype.doSomething = function(){
...
}
This solution worked for me, being possible reuse code in a 'pretty' way.
But when I've tested it...
I had created dialogue box at the time of Delete button click.It is overlaying parent Div.
Its working in all browsers except IE 7.Here I mentioned Css for dialog box and div.
dialog_box {
width:219px;
height:100px;
background-image:url(../images/preference/popup.png); background-repeat:no-repeat;
padding:10px;
position:absolute;
righ...
function icPageInit()
{
$("icImgDiv" + icAlternate()).setOpacity(0);
return true;
}
window.onload = icPageInit;
This piece of Javascript code works fine in Firefox and Chrome, but fails with the error 'Object Expected' in Internet Explorer 8. IE8 says the error occurs on line 3 of the above code.
Does anyone know why this is h...
I have an HTML form and iframe like this:
<form id="frmUpload" target="ifrTarget" action='http://....asmx/SampleMethod'>
<input name="title" /><br />
...
<input type="submit"/>
</form>
<iframe id="ifrTarget" name="ifrTarget"></iframe>
Action attribute points to my ASP.NET web service. When the form is submitted, the IFRAME ge...
When I make a jquery ajax call to auto fill a dropdown on page load the dropdown control is cut off by the containing table. I understand that if set the table width to 100% it would fix this but in my case I cannot do that. This code works fine in FF. It's almost like IE won't "re-render" the page after the ajax call completes. Here's t...
Easy.
I have 2 gmails accounts and I want to open both at the same time.
I have Firefox as the default browser and of course, Internet Explorer.
So I want 2 desktop shorcuts to point to gmail.
So if I made a shortcut to http://gmail.com, it will be opened with Firefox (because it's the default browser), so that's ok for one account.
Bu...
On simple forms with one text box pressing enter submits the form (and this is great for easy search forms)
However on a form with multiple fields, pressing Enter in an input="text" box won't do anything (e.g. submit) but in IE it "Dings" as if you have tried to delete an undeletable object.
The question is... what event do I need to s...
Where am i doing wrong?
This is the normal print preview:
But I want to see this picture (without dragging margin arrows)
This is the css codes and preview:
...
I'm helping to try track down and reproduce an issue with our web application in Internet Explorer for one of our clients. Their browser process is launched with the SEE_MASK_NOZONECHECKS environment variable set. I'm trying to find out the changes that variable will have on Internet Explorer's behaviour. A Google search reveals a single...
I know about the double margin bug, but this is different.. the scenario is having an element with a bottom margin, then directly below it an element that contains floating elements (which are cleared at the end), the container element could have say a bottom border that should sit just under the floating elements it contains.. however i...
I have a site with anchor navigation (like gmail, when the anchor value changes a new content for a page is loaded with ajax). In Firefox, when I change the anchor (with js or with a page) a new item in the history is created and works perfectly. But in IE6 it doesn't stores this new item and the back button doesn't work as expected.
Is...
We have a web page that is configured for Integrated Windows Authentication under ISS. When I access this page via its HostName (e.g. http://MyHost/mypage.htm) it works. When I access this page via the IP address of the host (e.g. instead of MyHost, use MyHost's IP address in the URL), I'm prompted for a username & password. Can anyon...
I am a web applications developer stuck working on a Windows machine. Today I got an update notification asking me to upgrade Internet Explorer to version 8. I previously had IE 8 installed during the beta, but uninstalled it due to inconsistencies between it's 'compatibility mode' and a stand-alone version of IE 7 (very weird, albeit ...
Consider the following Javascript:
var anchors = document.getElementsByTagName('a');
for(var i=0; i < anchors.length; i++)
{
alert(a.pathname);
}
When I run this on a page that contains links in the format "http://foo.com/bar", in IE8 I get back a string that looks like "bar". In Safari, Chrome, Firefox, I get back something like...
We are using the Dynamic Script Tag with JsonP mechanism to achieve cross-domain Ajax calls. The front end widget is very simple. It just calls a search web service, passing search criteria supplied by the user and receiving and dynamically rendering the results.
Note - For those that aren’t familiar with the Dynamic Script Tag with Jso...
I recently asked a question that got shot down for being too strongly worded. I'm having another go today because it's something I really am concerned about and I really do want feedback and ideas from the smart people on SO.
IE6 isn't quite the bane of my existence, but it's close. I'm a web-developer and spend too much time fixing thi...
i have a ie7 add on, i'm adding html elements to the page being browsed.
ie throws operation aborted, and dont nevigate to the page,
anyone knows what to do?
i work asynchronously with the html elements adding
...