I've been trying to call functions from a drop-down menu, but for some reason only shift(CPL) seems be called. I have verified that the functions themselves are working, and have redacted those for easier reading. I'm very new to Javascript and may have made a fairly basic error, apologies for that and thanks in advance!
HTML:
<select onchange="shift(this.value);">
<option value="CPM">CPM</option>
<option value="CPC">CPC</option>
<option value="CPL">CPL/A</option>
</select>
Javascript:
function shift(CPM) {
}
function shift(CPC) {
}
function shift(CPL) {
}
</script>
shiftfunction with value of select as parameter ?