LoadValue in synchronous mode

5 replies. Last post: November 29, 2009 8:53 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

I try to load WebCombo and next read Value after loading, but no result

 

function LoadExample(){

var WebCombo1 = ISGetObject("WebCombo1"); WebCombo1.SetText("Condiments");

//WebCombo1.XmlHttp.Asynchronous = false;

WebCombo1.LoadValue(true); alert(WebCombo1.Value); //<=always empty WHY?

alert(WebCombo1.Value); //<=always empty WHY?

}

 

It's a copy of help:

Parameters

useSync ( boolean )
Determines whether the LoadValue method is performing the function synchronously or asynchronously. If the synchronous mode is used by inserting true value, then developers can obtain the direct value after the LoadValue method is invoked.

What's wrong with it ?

 

All times are GMT -5. The time now is 12:54 AM.
Previous Next