There is an issue with jQuery.get() in Internet Explorer when trying to update content on the fly because IE caches XMLHttpRequest response and the AJAX call made via jQuery.get() is therefore always returning the same result. I encountered this problem when I was writing a function similar to facebook Like feature where the [...]
To turn off iPhone auto correction feature (predictive dictionary) on textboxes, add autocorrect=”off” attribute to your input tag.
<input type="text" id="keyword" name="keyword"
autocorrect="off" />
You can also turn off auto capitalising/capitalizing feature by adding autocapitalize=”off” attribute.
<input type="text" id="keyword" name="keyword"
autocorrect="off" autocapitalize="off" />
And lastly, you can turn off auto complete in a similar way.
<input type="text" id="keyword" name="keyword"
autocorrect="off" autocapitalize="off" [...]
This is a lazy fix to redirect any url that doesn’t exist (resulting in 404) to the homepage.
Add the following line of code into the .htaccess file inside the root directory of your website.
ErrorDocument 404 /
All these CSS are used in a conditional CSS file for IE 6 to ensure CSS validity as some of the properties used here are proprietary to the IE 6 browser.
<!–[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]–>
Setting an opacity
.transparency {
filter: alpha(opacity=50);
}
Change the link to a hand cursor
a.link {
cursor: [...]
Problem in IE8:
The upper half of the <fieldset> border goes missing. This problem has been discussed here and shown here.
HTML:
<form action="login.php" method="post" id="login">
<fieldset>
<legend>Login</legend>
<label for="username" class="label">Username</label>
<input type="text" name="username" id="username"/>
<label for="password" class="label">Password</label>
<input [...]