HI,
I am trying to determine if onchange in Javascript is no longer supported in JIRA (7.2.10). Below is my logic. It will not trigger the onchange function. I want to do something simple and not invest in ScriptRunner right now as this is the only functionality I need currently. Is there a solution to which someone can direct me? I thought JS would be the simplest way to populate some custom text fields based on the selection in a SelectList component.
<script type="text/javascript">
var equipLabel = document.getElementById("customfield_11404");
if (equipLabel) {
equipLabel.onchange=function() {
alert("in onchange");
var selectedEquip = this.value;
//will do something with the value here
}
}
</script>