How can I reading parameters from ResultBox

3 replies. Last post: November 26, 2009 2:06 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

Scenario:

Web page with WebCombo and Button

 

On server side in Page_onLoad I set my WebCombo1.Value=2

My Button has simple javascript where I'd like to get some info

function Button1_onClick() { var WebCombo1 = ISGetObject("WebCombo1");

alert(WebCombo1.Text);  // return "Condiments"
alert(WebCombo1.Value);  // return 2
alert(WebCombo1.IsValueInRange());  // return false - Why?
...

// WebCombo1.GetRowsCount()  => -1
// WebCombo1.GetRow(0)  => undefined
//WebCombo1.GetSelectedRow() => null
//resultBox => null

}

How can I init resultBox to get some info ?

All times are GMT -5. The time now is 1:49 PM.
Previous Next