where clause with multiple fields : Arcgis api for javascript -


i tring perform query 3 fields .i have 3 combobox,each 1 populated field values.i want query value selected combobox each field.i want know how gather 3 fields in clause? idea please?

<select id="myselect"> <option>apple</option> <option>orange</option> <option>pineapple</option> <option>banana</option> </select>  var si = document.getelementbyid("myselect").selectedindex; var arrayofoptionsy=document.getelementbyid("myselect").options; //alert("index: " + arrayofoptionsy[si].index + " " + arrayofoptionsy[si].text);  query.where = "fruit = '" + arrayofoptionsy[si].text + "' , not_gis = '"... 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -