How to select values in a Drop down box within JS
Good evening, I am attempting to access a drop down list, however, I can't seem to change the value of the Drop down box within JS. Here is my code:
var ListOne = this.getField("relationship.0");
var search = ListOne.getItemAt[1];
console.println(search.value);
I can print out the current value that's set in the drop down list, but I can't set it to, "Mother" or, "Brother."
Any help would be greatly appreciated!
