Search code examples
jquerytwitter-bootstrapbootbox

why bootboxjs scroll my page to top?


I use button as well as div but in all cases bootbox.js scroll my page to top.

$("#sampleButton").click(function(){
    bootbox.alert("hey");
});

Solution

  • I solve this problem by using jquery-impromptu