I use the button as well as the div, but in all cases bootbox.js scrolls my page up.
$("#sampleButton").click(function(){ bootbox.alert("hey"); });
I solve this problem using jquery-impromptu
Try using
$("#sampleButton").click(function(e){ e.preventDefault(); bootbox.alert("hey"); });
Source: https://habr.com/ru/post/1531983/More articles:JavaScript API for Google Maps v3 25,000 usage restrictions - google-mapsSASS and Compass in Rails handling with passed variables - cssTypeError: list indices must be integers, not a list. How to fix? - pythonMySQL Atomic Transactions in Anorm - scalavb.net send an email with a picture - emailQEMU "tgc fatal error" on an ARM laptop? - armHow can I import the SBT project library from GitHub into a local directory? - sbtImage LibGDX ImageButton not scaled? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1531987/using-git-local-repository-as-dependency-in-sbt-project&usg=ALkJrhhy7_f6RiK1DDnhqVlGx4UKIxA0sQКак скомпилировать Pharo VM без изображения? - virtual-machineAll Articles