Last active
July 29, 2020 20:03
-
-
Save danilowm/ddd9240cec3bddcdbd10202a95d35e37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// COLOCA O ID DO FORM | |
$('form#id_do_contact_form7').on('submit', function(){ | |
// COLOCA O ID DO SELECTBOX | |
var select = $("#elementId :selected").val(); | |
if (select == 'data1') { | |
window.location.href = "http://mufasa.com.br"; | |
} else { | |
window.location.href = "http://mufasa.agency"; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment