0

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

Renjitha22
  • 213
  • 1
  • 7
  • 22

3 Answers3

0

try this code if u r using bootstrap modal popup

$("#balloon").modal('hide');    
Shibon
  • 1,552
  • 2
  • 9
  • 20
0

You can use addclass function to add hidden class to modal div

0

try this

$("#baloon").hideBalloon({hideDuration:80});
Beginner
  • 4,118
  • 3
  • 17
  • 26