function setDropDownList(elementRef, valueToSetTo)
{
var isFound = false;
for (var i = 0; i < elementRef.options.length; i++)
{
if (elementRef.options[i].value == valueToSetTo)
{
[...]
|
||||||
|
function setDropDownList(elementRef, valueToSetTo) for (var i = 0; i < elementRef.options.length; i++) // add var map = new GMap2(document.getElementById(”map”)); // remove function MyApplication() { function StringFormat(str) for (i = 1; i < arguments.length; i++) example using: ref: http://xneuron.wordpress.com/2006/09/29/stringformat-in-javascript-as-in-c/ |
||||||
|
Copyright © 2010 Private: Code & Script Snippet - All Rights Reserved |
||||||