javascript

Problem with Stock Quote from Google Finance

Hi All, Below is the example I got from google finance for a stock quote. But it doesnt seem to be working. Stock price isnt displayed. Thanks <body> Hello world! Here is your portfolio:<br/> GOOG: <span id=_IG_SYM1_l></span> (<span id=_IG_SYM1_c></span>)<br/> AAPL: <span id=_IG_SYM2_l></span> (<span id=_IG_SYM2_c></span>)<br/> ...

PHP/Javascript/Jquery - Dynamic Website Diagram

I want to have an application that displays all of my website's external links and outputs a diagram. Like for example www.example.com/articles/some-title.html is linked to my homepage. Home - www.example.com/some-text - www.another-site.com/my-title - www.example.com/articles/some-title.html Products Products - www.buy-now.com/pr...

Get offsetTop & IE

Hello I am trying to get the offsetTop in IE but this simply doesn't work like I want to it. var miniMap = $('#miniMap'), parnts = miniMap.parents(), l = parnts.length, i, setVpos, setHPos = $('#showMap').position().left; fo...

how to incorporate a c# variable into parameters of javascript function

I am trying to put a path kept in a string variable (named "ruta") into the parameters of the swfobject.embedSWFfuntion but I don't know how to incorporate a c# code into javascript code. Can someone help me please?? thanks!!!!! <%TarjetaPL tarjetaPl = null; string ruta = null; if (Session[Constantes.TarjetaSeleccionada] != null) { tar...

Javascript debugging - Show variables in use

Is there any way I can view the variables used in a javascript function without trawling through the code? Using javascript on a server so cant really install an app to debug, is there a javascript function i can use in some way? ...

How do I determine what kind of error ajaxError is handling?

I'm trying to handle AJAX errors in a web application that uses jQuery. I'm setting up an event handler to deal with AJAX errors like this: $('body').ajaxError(error_handler); However, despite the information that's passed to that handler, I'm finding it difficult to determine what sort of error occured. The two errors I'm intereste...

Javascript/CSS Rollover menu

A past client of mine contacted me about doing a rollover menu for his website. He has a couple different businesses, and from his main site he wants to be able to have a image menu that shows each of his other businesses and links to their sites. I know that it is possible to do a rollover menu using javascript and css but one thing he ...

asp.net linkbutton onclientclick and postback

I'm experiencing some weird behaviour when using a ASP.NET LinkButton with a OnClientClick-property. ASPX <asp:DropDownList ID="test" runat="server" AutoPostBack="true"> <asp:ListItem>test1</asp:ListItem> <asp:ListItem>test2</asp:ListItem> <asp:ListItem>test3</asp:ListItem> </asp:DropDownList> <asp:LinkButton CssClass="but...

parsing text for contents of database table of limited size

I have a MySQL table of "people" as part of a web site, for example: | people_id | firstname | lastname | ----------------------------------------- | 1 | John | Lennon | | 2 | Paul | McCartney | | 3 | George | Harrison | | 4 | Ringo | Starr | | . | ....

Ext js licensing

hi, We have a CMS which is licensed under Apache 2.0 license and is available on github. Now i want to use extjs to make some kind of table editor for the CMS. I won't modify anything of ext-js but i will write an extension using ext-js. Now i was wondering which license to use for this. I'm a big noob when it comes to licensing and ...

When the submit button is clicked, I want to get the value of a dropdownlist

How do I get the option's value that was selected in a dropdown list when a button is clicked? <select id="d1"><option value="1">One</option>...</select> ...

Javascript match changing the value of a different array

I am having issues with a couple arrays below and the match method. On my page I call the Checkout() function and it sets a temporary array equal to the array I've been building with different options. It then loops through the temporary array and removes html from one of the elements. The issue is that when I alert the array Remote.C...

inline image captions plugin?

Is there such thing as an inline image caption plugin for jquery? So a user can someone select a point on an image, and then insert a text caption. Whenever someone hovers over the image, the caption displays. Flickr has this type of functionality. ...

Passing an object-string to a javascript-function

Hi, I'm trying to pass a string like this: {"key":["value"],"key2":undefined,"key3":undefined,"key4":undefined,"key5":"value"} to a javascript-function like this: <a href="#" onClick="myFunction(myString);"> but can't get the escaping right. Is there a way to pass that object-string to a function or do I need to convert something?...

How can i increase speed for loading of google maps embeded on site?

Are there any javascripts or other method which can decrease loading time of google maps? Google maps are added by iframe code. Update: 12 FEB 2010 Can any jquery plugin be useful for me? ...

IE8 javascript debugger is now broken

I am on Windows 7, using IE8 and Visual Studio 2005. I have been enjoying the built in javascript debugger in IE8 for several months. About 2 weeks ago, I installed some security update for IE 8 (possibly KB978207) and all of a sudden the javascript debugger is now broken. If I get a warning from IE 8 that an error occurred and asking ...

How to get length in Javascript of an array of Form text fields...

I have this HTML code: <form id="form1" name="form1" method="post" action=""> a <input type="text" name="item[]" value="1" /> <br /> b <input type="text" name="item[]" value="1" /> <br /> c <input type="text" name="item[]" value="1" /> </form> I can't seem to pro grammatically pull the length out of the text fields array , is there so...

date string formatting

The best way to take a string that is formated like... YYYY-MM-DD and make it appear like... MM/DD/YYYY The reason it is not a javascript date object is because I am working with massive amounts of data and these dates are being pulled from a database. I see no need to convert it to a date object. ...

How to add a reference to a method in a custom control to a child control created in that same custom control.

I have a custom control that is based off the gridview control located at: here The control is basically a gridview that automatically creates a column of checkboxes that can be used to "check" individual rows in the gridview. During the gridview's "CreateColumns" event, the "checkboxcolumn" is created dynamically. The checkboxcolumn a...

How to Run an External jar file from within a firefox extension.

Here is the code I have so far... // Run the external encryption process var fileExe = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); fileExe.initWithPath("~/tmp/Encrypt.jar"); var process = Components.classes["@mozilla.org/p...