Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Dear,
Is it possible to change "choiseListe" values with javascript.
Exemple il have a choseListe :
Country //// Values
USA us
France fr
Spain sp
When il click in a botton i whant to change this choceListe :
Morocco ma
Portugal pt
............
Thanks
Solved! Go to Solution.
Hi,
Listboxes and dropdowns can be scripted against without too much difficulty.
You would need something like this in the click event of the button:
listbox1.rawValue = null; //clear previous choicelistbox1.clearItems(); //clear the list itemslistbox1.addItem("Moocco", "ma"); //add new list itemslistbox1.additem("Portugal", "pt");
listbox1.rawValue = null; //clear previous choice
listbox1.clearItems(); //clear the list items
listbox1.addItem("Moocco", "ma"); //add new list items
listbox1.additem("Portugal", "pt");
Hope that helps,
Niall
View solution in original post
thanks !!!
Views
Likes
Replies