Reputation: 213
I'm using jquery.mb.balloon.js, jQuery plugin to add balloon tips in my webpage. I need to close the popup box, after submitting the form.I try hideDuration: 80 method but its not working...
$.ajax({
type: 'GET',
data: dataString,
url: baseUrl + "send/",
contentType: "application/json; charset=utf-8",
success: function (result) {
$('#balloon').balloon({hideDuration: 80}); // hide my popup box
},
error: function (result) {
alert(result);
}
Thanks in advance
Upvotes: 0
Views: 78
Reputation: 618
You can use addclass function to add hidden class to modal div
Upvotes: 0
Reputation: 1574
try this code if u r using bootstrap modal popup
$("#balloon").modal('hide');
Upvotes: 0