I have a Google map into which I add some custom tooltips using custom overlays: http://goo.gl/M6in
However, sometimes the map will work and sometimes it will appear to be "frozen". I can't drag it, I can't click any of the buttons, etc.
The only clue that I've found is that, if I use setTimeout() to wait for ~ 5 seconds, things work. ...
I have two arrays.
A list of urls to JavaScript files that I am registering with $.getScript(url);
A list of inline JavaScript commands to register with $("html").append(inline)
Any items in (2) may be dependant on any items in (1). Meaning that I have to be sure that all items in (1) have finished loading before any of (2) are regi...
Hi guys, I have been trying to apply the remove function to my html page but with no result until now. I have three rows and they all have a remove button, I would like to create an effect that when you click on the remove button the whole row block disappears. Any help would be deeply appreciated.
HTML
<div class="row ...
I have a php page with some functions to recieve POST data, with a page refresh, no AJAX.
Right now I have a form with hidden fields that contain my dynamic data that I send with JS like so: document.my_form.submit();
Is it possible to send the data without using a form?
Basically I want to send an array of URL's from a list with thum...
This is probably more simple than I'm making it but I just can't figure out how to do it. What I've got are tabbed sections created in Coldfusion. The output is that the selected section has a class name that contains the string "tab_selected (+ the UUID created in coldfusion)" versus the unselected tab sections whose class names contain...
I need to build a Win 7 desktop widget, that would display a single value from a certain web page. To view the page you need to login first(with POST form), get session id, and proceed to the page. Then i'll download it and parse, no problem here. I also probably need cookies support for this. So, are there any tools for this in the Wind...
I have a javascript/jquery question.
I have a custom jquery dialog box setup in my project. I set this up with a div and an image tag. The image is populated with a filedownload link.
<'custom jquery dialog' runat="server" ID="dialogView" AutoOpen="false" CloseOnEscape="true" Modal="true" Title="" Visible="true" >
<div runat="se...
How do I prefix a - sign for all the values entered in a textbox in javascript onblur
...
How do I call a function on every update? Below is what I tried. It doesn't work. The function itself works fine when I execute it alone.
new Ajax.PeriodicalUpdater('chatMessages', 'chat/receive_chat',
{
method: 'post',
parameters: {lId: latestId},
insertion: Insertion.Bottom,
...
I'm wondering why php adds a backslash when i remove double quotes.
<input type="text" name="number" id="number" />
<input type="button" name="button" id="button" value="Button" />
Say they user enters the value 5-1/2" and i'm passing it to a processing page via jquery's .get method.
$('#button').click(function(){
$.get('determi...
What I'm trying to do is search a page for an element that has the string 'tab_selected' in the class name. The class name is more than just 'tab_selected'. Its 'tab_selected + the UUID'. The UUID changes so all I really want to search for is if the class name contains 'tab_selected' and then if it does I want to get the ID of that eleme...
I keep getting errors that the function (renamed) does not exist for the given object. Is there a release or setting or something to make it work?
...
Hi!
I was just watching the Wilderness Downtown video - http://www.thewildernessdowntown.com/ - and I couldn't quite work out how the folks behind it did the Google Map which scrolls along and rotates, all on an HTML5 canvas.
I've looked through the Google Maps Javascript API - http://code.google.com/apis/maps/documentation/javascript/...
Hello,
Nearly done my first titanium developer app however, the biggest issue (and lack of documentation of) is the ability to execute a function in the background.
I have a function that basically just queries an external json file and then loops through it inserting about 150 records in the database. This completely hangs the app unt...
I want a string split at every single character and put into an array. The string is:
var string = "hello";
Would you use the .split() ? If so how?
...
I was wondering if there was a way to break javascript execution, something like this
<script>
if(already_done)
{
return; //prevent execution (this yields an error)
}
doSomeStuff();
</script>
I know that this is possible like this:
<script>
if(already_done)
{
// do nothing
}
else
{
doSomeStuff();
}
</script>
But it's not ...
Hi!
I'm trying to get my datepicker (jQuery UI Datepicker), which has one field for "check-in" and another for "check-out" to update the check-out date based on the minimum period (in seconds) pulled in via ajax when the user chooses a check-in date, but to also allow choices to be changed.
For example I want to check-in on January 1, ...
We are currently working on a very simple Webapp, and we would like to "obfuscate" ( what would be the right term? ) or encode somehow the request parameter, so we can reduce the chance an idle user from sending arbitrarily data.
For instance, the url looks like /webapp?user=Oscar&count=3
We would like to have somthing like: /webapp...
I'm trying to figure out a way to read GET method information from a form with javascript. Our IT department has our servers on lockdown, and as the web team we can only use javascript to accomplish our tasks. I'd use PHP if I could, but I can't.
What I need to do is read data sent via GET method in js if possible, so that I can assign ...
Hi all,
I have the following regular expression in a validation rule:
^[a-zA-Z0-9',!;?~>+&\"\-@#%*.\s]{1,1000}$
However, I can enter ====== which I believe should not be allowed.
My thoughts is that somehow the - could cause trouble if not properly escaped or something but this is way over my head.
...