hi , i have a form that works perfectly fine with mozilla and IE but on google chrome there is a slight problem
i am using ajax to submit my form that is there is no submit button ,in IE and Mozilla its working fine but in google chrome when i press enter the form submits and the page redirects to the main page( this is another problem ...
Hey there
I'm having trouble with some JS in IE7. I'm testing to see if a certain object has a className (its possibly an HTMLElement object from the DOM) assigned.
Now, testing the page in Firefox tells me that Yes, the variable is undefined (all my tests below do the Alert().
In IE, none of the tests pass, the variable gets assigne...
What is the correct (modern) method for tapping into the window resize event that works in Firefox, WebKit, and IE?
and can you turn both scrollbars on/off?
...
I would like to know if anyone optimizes their web pages to have some friendly behavior if the user has Javascript disabled. Are there any tricks to provide some pseudo-scripting behavior in such instances? I'm talking basic things like opening links in new windows. I would imagine there is still a lot you can do without Javascript. ...
How can i start the development of a site that can be browse from mobile phones? For example, if you browse Gmail site from an iPhone the site looks different from the normal site. You have to design two differents sites to do this? How can I know if the site is accessed by a mobile browser?
...
I'm trying to achieve the following behaviour in html: user is presented with a form involving several text fields. The fields are populated with default values, but in many cases the user will wish to enter their own. When the page loads, the value in the first field is selected, so the user can either replace it by simply starting t...
I have a blog, www.realcanadianenglish.blogspot.com. I use Firefox to write it. Sometimes I check the blog using Internet Explorer. With the later it shows a gap between the picture and the text sometimes. Can I change the HTML code to fix this? Why is there a difference between the two: Explorer and Firefox?
...
As a rule of thumb, which of these methods of writing cross-browser Javascript functions will perform better?
Method 1
function MyFunction()
{
if (document.browserSpecificProperty)
doSomethingWith(document.browserSpecificProperty);
else
doSomethingWith(document.someOtherProperty);
}
Method 2
var MyFunction;
if...
How awful is that, after an hour of hunting and pecking, I figured I might as well contribute to the world the awful truth that the only reason your javascript failed to work in IE is because you thought you could pull a fast one on it and use your fancy xHTML shortcut.
I've read the dtd and I can't really find any basis for IE being s...
I have a public-facing website that is used to manage business infrastructure equipment for my clients. A security breach on this website could cause expensive problems for clients.
A number of different websites--mostly banks, health care, and government--disable the "save password" dialog from appearing in Firefox, IE, and other brows...
Is there a way to do browser specific conditional CSS inside a *.css file? I want to define all of the styles inside of the same physical file.
...
I have a CAB file that contains a few DLLs, and an OCX ActiveX control, an OSD describing the contents, and an INF for installing the DLLs and ActiveX control. These are coming from a 3rd party, so I can't control anything except how they are distributed to the client.
They are being used within a Java applet, and they work cross brows...
I'm doing:
alert($("#div").text());
on something like this:
<div id="div">
<div>
Some text
<div>
</div>
Why the escaped content? Because it is sometimes malformed and I don't want it interfering with or breaking the rest of the document.
In FF it shows up preserving newlines. In IE7 it doesn't. I need to preserve th...
I have a Java applet consisting of a wizard-like form with three steps. At the final step, the user can click a "finish" button. I want that button to cause the web browser to navigate to a specific URL.
Question: Is there a way to cause the browser to navigate to a specific URL, in such a way that it will work across all modern browser...
i have a page which calls some contents in an iframe and when i try to print the contents of the iframe it prints blank in google chrome , but its working fine in mozilla and explorer
how can i make it work in google chrome also?
...
Hello,
First time question here.
I have a site that I built around tables, I know not good, but it has been done. It looks fine in Firefox, but the text is all over the place in IE.
Link is http://www.mothershipinc.com Warning: contains music
Here is the code for the index page:
<?php
include "db.php";
function imageResize($width,...
What is the preferred method to determine if the Sun Java Plugin is installed in the browser?
...
Is there a way to use PHP to detect if the page is being loaded using IE6?
...
http://madisonlane.businesscatalyst.com
I'm trying to get the div#sign-post to sit above the div#bottom. This works fine in all browsers except IE6 & IE7. Can anyone see what the problem is here?
Also IE6 is displaying an additional 198px to the top of div#bottom.
...
http://www.downloadadeal.com.au/
The site above fine in all browsers except IE7 where a strange space appears between the content and the footer at the bottom of the layout? The two footer lines should match up. Has anybody experienced unexplained spacing before?
...