Fix tutorial links to support query-languages
Change-Id: Ic32258b8421bc7a0b90a49fc4ec4b3d29790bf74
diff --git a/dev/js/src/selectMenu.js b/dev/js/src/selectMenu.js
index dc0f863..d44d756 100644
--- a/dev/js/src/selectMenu.js
+++ b/dev/js/src/selectMenu.js
@@ -83,6 +83,24 @@
return this._selected || this._select.selectedIndex || 0;
},
+
+ /**
+ * Set the select value
+ */
+ selectValue : function (vParam) {
+ var qlf = this._select.options;
+ var i;
+ for (i in qlf) {
+ if (qlf[i].value == vParam) {
+ this.hide();
+ this.select(i);
+ this.showTitle();
+ break;
+ };
+ };
+ return this;
+ },
+
/**
* Show the select menu
*/