Kirix Support Forums

isItemSelected

Please post any help questions, requests or other feedback here.

isItemSelected

Postby abenitez77 on Fri Mar 11, 2011 10:24 am

I am selecting a listbox item and then trying to check if the item is selected in my if statetement below by using "isItemSelected()". I get "NULL" as the value in the alert(). Is my syntax correct?

alert(listbox.isItemSelected());
alert(listbox.getSelectedItem());

if (listbox.isItemSelected() && listbox2.isItemSelected())
{
selected_items = listbox.getSelectedItem();
}
abenitez77
Registered User
 
Posts: 143
Joined: Fri Jan 21, 2011 12:42 pm

Return to Strata Help & Feedback