Hello,
I was wondering if anyone knows more about the inner workings of the Google Maps API when paired with Internet Explorer 6. I want to know more about data confidentiality when using this odd couple. What exactly is sent to the google servers? There isn't much information about this. In one of the few posts on the subject (groups.g...
Hi,
Can someone please let me know that if I have a web page that consists of a checkbox (parent) and on this same web page, I also have a iframe that is sourced from another page that displays a number of records, which also has a checkbox (children) against each record, if I tick the parent checkbox, I would like to cascade this throu...
Hi everyone,
I'm looking for one of those fancy upload scripts you see on some sites that upload the file the moment you select it on your hard disk, and optionally allows you to crop to a portion of the original image.
We use PHP and Prototype (so preferable no jQuery plugins... even though we should probably switch).
We currently ha...
I'm building a text input field specialized for entering and editing times. One of the parts of the functionality calls for various ways to focus on the different components of the time (hours, minutes, seconds), which I indicate through a text selection. Direct selection is possible with the mouse and this is working great. The other fe...
I have an app that is run from a compiled DLL on a web server. I need to do some Single Sign On (SSO) integration with the app, and the only way I can "inject" functionality, is to modify an external JavaScript file that gets referenced.
In the JavaScript file are some code blocks to set cookies with the session ID of that App. I trie...
I'm working with a service that gives me broadcast times for Television shows in Unix Time (seconds since midnight, January 1st, 1970, in Greenwich, England). I need to convert this, in javascript, to Eastern Standard time (USA). I need to account for daylight savings time, and for the fact that the client's clock may be set to something...
Below is my code. The problem is that recordsOut[0] is always undefined, whatever I try.
I know it has to do with the callback result. I tried to add some delays to give it more time to give a result back, but that did not help.
Any idea (with example please)? Very much appreciated.
function getAddress(id, searchValue) {
geo.getLo...
I'm a javascript novice trying to build a basic share button as a learning project. I'm a bit stumped about one aspect. While I can grab the URL of the current page and pass that into the url that prepopulates the share form, I'm not sure how to grab the html title.
Here's what I have to far:
<a href="http://www.domain.com/submit" on...
How do you get the length of a string in jQuery?
...
I have an object that hasn't been created yet (so it has no ID), but the user is in the process of filling out fields to create it. For one of the fields, they create an attribute for this object, but that attribute requires the object's ID.
That's where the issue is -- since the object hasn't actually been created yet (the user is in t...
Hi,
Is it possible to style an iframe with a background colour within MS IE6?
If so, how?
Thanks.
Tony.
...
Hello,
I have a javascript code helping me to dynamically create row after row in a table and to delete a row from that table.
each row has four cells. cell 1 for instance contains a text zone.
to differentiate cell1 from row 1 with cell1 from row 2, I rename my cell 1 like that cell1.name= cell1.name + '_' + row.rowIndex.
I create a s...
Hello,
I have been experimenting with John Resig's micro-template, which works great. However, the mark-up will not pass the XHTML 1.0 Transitional validation test. (Among other things, id attributes yield errors.)
Replacing tags identifiers <, > with [[,]], passes validation. Thus, I created a js script which at load time (jQuery doc...
Hey all!
What I would like to get some input on is how to remove certain characters from a textbox (or textarea) with JQuery. I have the code in C# but I can´t seem to translate that to JQuery javascript. My problem is that I don´t know how to get the value from a textbox as a character array which I then can loop through and compare ag...
Scenario: Preloading images
Perform an ajax query
Show loading screen
Retrieve results from ajax query
Insert images into the dom
Wait for images to finish loading
Hide loading screen
I was thinking of doing the following:
function ajaxCallback(results) {
/* snip insert into dom code */
$(".waitForLoad").each(function() {
...
hi,
I have a JavaScript function code where I want to alert.
function msg(x,y)
{
tempstr = x.value
if(tempstr.length>y)
{
alert(c_AcknowledgementText);
x.value = tempstr.substring(0,y);
}
}
Now I have an xml with below format:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<key name="c_ContactUsHeading">Contact Us</key>
...
I've been trying to handle the onkeydown event across multiple frames (no, I unfortunately cannot be rid of the frames) via javascript (see my previous question here). I'm getting a handle on the document in the other frame, and setting it's onkeydown handler equal to my function. No error is thrown, but when I later check the document...
Probably something stupid I'm doing. I want to populate a hidden DIV with values of a form on submit.
The DIV does open with correct data, but then resets after the page is finished loading. What am I doing wrong?
Here's my test:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content=
...
Hello:
I am using the following JavaScript function:
function Projects()
{
var PrjTb1 = "<input type=text id=PrjNme size=100/>"
var PrjTb2 = "<textarea rows=5 col=200 wrap=hard></textarea>"
var Info = "1. Project or activity name:<br>" + PrjTb1 + "<br><br>2. Project or activity description:<br>" + PrjTb2
if (document.g...
I have an element like this:
<div id="foo_<?php echo $id;?>" class="hidden"></div>
I'm trying
if ($("#foo_ " + id).is(':hidden'))
{
//stuff
$("#foo_ " + id).html(html).slideDown('fast');
}
I've checked repeatedly, the div foo_233 is being found in firebug and is being shown as hidden. The id is passed on to the javascript f...