Created
July 20, 2018 10:55
-
-
Save enterpredator/f3c9525408498366d02b24b46a129998 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> | |
<script src="https://270927.selcdn.ru/inwine-static/widget/1.1/inwine.widget.lib.js"></script> | |
<script> | |
$(document).ready(function() { | |
$('#inwine_widget').inwineQuiz(onQuizComplete, onFormSubmit) | |
}); | |
function onQuizComplete(quizResult) { | |
console.log(JSON.stringify(quizResult)); | |
} | |
function onFormSubmit(formValidatedData) { | |
console.log(JSON.stringify(formValidatedData)); | |
} | |
</script> | |
</head> | |
<body style="background-color: #eaeaea;"> | |
<div id="inwine_widget"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment