Enlist (DEPRECATED)
This widget is deprecated and might be removed in the future. Please don't use it (anymore)!

Frontend implementation
Syntax
Parameters
Example usage
Last updated
This widget is deprecated and might be removed in the future. Please don't use it (anymore)!

Last updated
window.TNB(methodName, buttonName)<!-- 1. Load TheNextBid SDK -->
<script>
(function(d, w, s, id){
if (d.getElementById(id)) {return;}
w.TNB = function(){w.TNB.calls.push(arguments)}; w.TNB.calls = [];
var js, x = d.getElementsByTagName(s)[0];
js = d.createElement(s); js.id = id; js.async = true;
js.src = 'https://thenextbid.com/sdk-v.1.0.js'
x.parentNode.insertBefore(js, x);
}(document, window, 'script', 'thenextbid-jssdk'));
</script>
<!-- 2. Custom button to enlist -->
<button id="enlist-button">Start Using TheNextBid</button>
<!-- 3. Open the widget when needed -->
<script>
document.getElementById('enlist-button')
.addEventListener('click', function () {
window.TNB('enlist', 'enlist for monthly subscription from example.com');
});
</script>