Torna al Thread

function CallBackHandler(result, context){ if (context.CommandName == "LeggiProgetti"){ document.forms[0].elements['DropDownList3'].options.length = 0; while (result.length > 0) { var indexofSep = result.indexOf(";"); var indexofID = result.indexOf("_"); var itemID= result.substring(0,indexofID); var itemList = result.substring(indexofID+1, indexofSep); result = result.substring(indexofSep + 1); document.forms[0].elements['DropDownList3'].options.add(new Option( itemList , itemList )); } } }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5