I've got a strange error with IE8 and postcode lookups. It may not be postcode lookups as such that's causing it - just an AJAX call that modifies a select. I've set up a test page here. If you click on Find Address, and then double click (quite quickly) on one of the addresses that is within the boundary of the red-bordered div, you see...
The code works as it should in Firefox and Chrome.
When the page loads in Internet Explorer, you get the error
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 2.0.4.16; FDM; InfoPath.3)
...
I've built an online web app using HTML5 databases and it works fine in Mobile Safari. However, when I view the same site in a UIWebView inside an app, the HTML5 database part of the app doesn't appear to be working. Am I doing something wrong? It seems logical that something inside a UIWebView should be able to create HTML5 databases, b...
I'm looking to buy a jQuery book and want to find the best one that refers to the latest jQuery, 1.4.x.
There are a number of threads on here already talking about jQuery books, but the most recent I have seen is Learning jQuery which refers to jQuery 1.3.
...
The fancybox autoscale option doesn't seem to take into account the size of my captions. I need something that will put, not just the image, but the image and the caption in the viewport.
You can see what I mean here: http://getahobbydesign.com/projects.html
...
I have a string
2010-08-02 12:13:06.0
and need to get something like
Fri Aug 6 2010
out of it (the input does not map to the output for the values I gave, just examples)
I fear Im going to have to do some string manipulation to get what I want; the js Date object does not seem to have methods capable of parsing the input string.
...
Hi everyone !
Just a quick question. I want to send data from Javascript to a PHP script to store it in my database, then getting it back the same way (a script calls a PHP function, and data is sent back with JSON).
Which function should I use in the javascript ? I should never need to get the data only with PHP, so is it ok to use e...
Right now, I'm using this fashion:
window.Foo = {
alpha: function() {},
bravo: function(arg) {}
}
window.Bar = {
charlie: function(arg) {}
}
Foo.alpha()
Bar.charlie()
But I suspect that this is not the "correct" way to do things since (1) my IDE chokes up in understanding what I mean in several ways (e.g., won't autocomplete fu...
hello all
i have the following code for search from database show return result to the page and show them with jqgrid, my code works fine with firefox but its not work on ie, when i use of utf8
like arabic letters, i set both of encoding of ie, and firefox to unicode(utf8)
its html code
first name: <input type="text" id="firstname" ...
Hello, I'm trying to make a function that uses jquery's ajaxfunction to get some info from my ajax.php file.
code:
function ajaxIt(dataLine){
$.ajax({
type: "POST",
url: "ajax.php",
data: "ajax=true&"+dataLine,
success: function(msg){
console.log("[AjaxIt]: "+dataLine+" returned "+msg);
...
Is it possible to have a RSS feed by using a Javascript code?
...
I have this code in a function, and want to shorten it - it applies the same style to every item in an array.
document.getElementById(divsArray[0]).style.visibility='hidden';
document.getElementById(divsArray[1]).style.visibility='hidden';
document.getElementById(divsArray[2]).style.visibility='hidden';
document.getElementB...
Hi to all,
I would like to select all the tables where the id starts with the same sentence, with jquery.
This what I mean:
<table id="Tab_01">
<tr>
<td>....
<tr>
....
</table>
<table id="Tab_02">
<tr>
<td>....
<tr>
....
</table>
<table id="Tab_03">
<tr>
<td>....
<tr>
....
<...
I have a scrolling pane div with overflow:hidden. Please check it here. There are products as images with captions shown in the scrolling pane. When I move mouse cursor over a product div, it gets light-yellow background and changes its height - I just add a class to the div using jQuery and it works fine. The problem I need to solve som...
Hi,
I am trying to run the basic fb connect example provided here
http://developers.facebook.com/docs/guides/web#login
Everything works fine except page does not gets refreshes after log in.
How can I achieve that?
...
When creating a cross-browser rich text editor. Which would you use and why?
Keep in mind that pasting has to be resilient to stand against multiple sources (notepad, word, other websites) and it should not be dependent on any Javascript libraries.
...
Hello,
I wondering if it is possible to count the number of elements using jquery and then using that prefix the element with a number, so for example I have 2 selects on a page, is it possible to count the selects and then give the selects, a class e.g.,
<select class="1">
<select class="2">
...
Hey all,
Google wasn't my friend on this one... maybe I wasn't searching for the right terms.
I have a javascript array randomTagLine[0], randomTagLine[1], etc. How do I get the total number of variables in the array? For instance, I can physically see there are 23, but I need to pull that out via JS code...
Thanks in advance..
EDIT
...
I'm looking to implement a live diff inside a webpage that preserves whitespace.
I've done something similar in the past using a combination of TinyMCE and JQuery in IE6 (required for that project) but it didn't preserve whitespace. (It wasn't supposed to, but I didn't add anything to make it do that, it just did). TinyMCE wasn't idea...
The following is code that is within an html file. What is the ideal way to separate the javascript code (if (this.value etc etc)) from html file?
input type="text" name="username" onblur="if (this.value == '') {this.value = 'email';}" onfocus="if (this.value == 'email') {this.value = '';}"
...