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/ String.prototype.trim = function() String.prototype.endsWith = function(str) String.prototype.startsWith = function(str) function getClientIdByEndsWith(strid) + Compatible with all major browsers: IE6+, Firefox, Opera, Safari and Chrome ref: http://getfirebug.com/releases/lite/chrome/ Tip#3: Try to use CAST instead of CONVERT. CAST is ANSI-92 standard but CONVERT works in MS SQL server only. Also, some CONVERT styles may be deprecated in future MS SQL releases. |
||||||
|
Copyright © 2010 Private: Code & Script Snippet - All Rights Reserved |
||||||