jquery - how to edit link buttons in Bootbox / Bootstrap confirm window -


i have simple bootbox / javascript confirm window at:

https://www.guard-gate.com/test2/index.html

how edit links sucess point google.com?

i advised following:

window.location.href = "http://www.google.com"; 

but have add code follows?

  buttons: {     success: {   label: "success!",   classname: "btn-success",   callback: function(window.location.href = "http://www.google.com";) {     example.show("great success"); 

your code be

buttons: {     success: {       label: "success!",       classname: "btn-success",       callback: function() {          window.location.href = "http://www.google.com";       }    }; 

Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

SQL Server - MyCTE query based on 24 hour period (next day) -

php - Using str_replace to translate a MySQL Table in html -