|
|
Commercial Projects
(!isNaN(parseInt(nIndex)) && nIndex >= 0 && nIndex < this.getCount())
{
this.item(Number(nIndex)).value = value;
return true;
}
return false;
}
function _LB_getText(nIndex)
{
if (typeof(nIndex) == 'undefined')
nIndex = this.selectedIndex;
if (!isNaN(parseInt(nIndex)) && nIndex >= 0 && nIndex < this.getCount())
return this.item(Number(nIndex)).text;
return '';
}
function _LB_setText(strText,nIndex)
{
if (typeof(nIndex) == 'undefined')
nIndex = this.selectedIndex;
if (!isNaN(parseInt(nIndex)) && nIndex >= 0 && nIndex < this.getCount())
{
this.item(Number(nIndex)).text = String(strText);
return true;
}
return false;
}
function _LB_selectByValue(value)
{
for (var i=0; i < this.getCount(); i++)
{
if (value == this.options(i).v
|