cancel
Showing results for 
Search instead for 
Did you mean: 

how to define an initial value in Ibrowser

Former Member
0 Kudos

hello, i have an iBrowser with 3 values and i define second value as initial value but i have another ibrowser that is influenced by the chosen value..but this dont happen, i need to go to the iBrowser that have the initial value and confirm again...how i can solve this?

regards and thanks in advance

Mário

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks to all for your answers

regards

Mário

0 Kudos

Hi Mário,

In the function which will be called as FirstUpdateEvent you can code like:

	document.FirstBrowserName.getBrowserObject().setSelectedItemByIndex(2);
        selectedValue=document.BrowserName.getBrowserObject().getSelectedItem();
        document.SecondBrowserName.getQueryObject().setParam(1,selectedValue);
	document.SecondBrowserName.updateBrowser(true);

Hope this helps.

Regards

Khaleel

Former Member
0 Kudos

In your parameters section of your applet tag in html you need to add a "FirstUpdateEvent" then call some javascript to extract out the current selected value


<PARAM NAME="FirstUpdateEvent" VALUE="<Function Name>"> 

In your javascript code you'll need to use the .getBrowserObject().getSelectedItem() to get the value

and .getQueryObject().setParam(INDEX,NEWVALUE); to set the parmeters of the next browser and so on

That should get you started.