<form id="mktoForm_1943">
<select name="custom6" id="custom6">
<option value="">Select</option>
<option value="I have a HireVue interview and need help">I have a HireVue interview and need help</option>
<option value="I would like to learn more about the platform for my business">I would like to learn more about the platform for my business</option>
</select>
<div class="mktoButtonRow" style="padding-top:20px;">
<span class="mktoButtonWrap mktoNative">
<button type="submit" class="mktoButton">Get Your Demo</button>
</span>
</div>
</form>
CSS
.show {display: block;}
.hide {display: none;}
JavaScript
setTimeout(function(){
const form = document.getElementById("mktoForm_1943");
if(form) {
var btn = document.getElementsByClassName("mktoButton")[0];
document.getElementById("custom6").onchange = function() {
var custom = document.getElementById("custom6");
var customSelected = custom.options[custom.selectedIndex].text;
if(customSelected == "I have a HireVue interview and need help") {
btn.setAttribute('disabled',true);
} else {
btn.removeAttribute('disabled',false);
}
}
}
}, 3000);
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.