mirror of
https://github.com/kingomarnajjar/innovationdrive.git
synced 2026-07-26 06:37:28 +10:00
44 lines
No EOL
1.3 KiB
HTML
44 lines
No EOL
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
|
|
crossorigin="anonymous">
|
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
|
|
crossorigin="anonymous"></script>
|
|
<title>Button</title>
|
|
</head>
|
|
|
|
<body>
|
|
<button id="bootstrap-button" onclick="openLiveChat" type="button" class="btn btn-primary">Primary</button>
|
|
|
|
<script>
|
|
|
|
function openLiveChat() {
|
|
var element = document.getElementById("bootstrap-button");
|
|
element.classList.remove("slaask-button");
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
// document.getElementById("").addEventListener("click", openLiveChat);
|
|
|
|
// function openLiveChat() {
|
|
// $('#slaask-button').onclick(function () {
|
|
// $(this).find('div').removeClass('slaask-button slaask-online-button slaask-mini');
|
|
// $(this).find('div').addClass('slaask-button slaask-online-button slaask-mini slaask-opened');
|
|
|
|
// });
|
|
|
|
// } |