I'm trying to have the balloon from the balloon plugin show up on document ready but for some reason the .showballoon method isn't doing anything. I would think it would be as easy as this:
$(document).ready(function() {
var bordercolor;
$(".editDisplay").balloon({
contents: "Required",
position: "right",
offsetX: -20,
css: {
border: 'solid 1px red',
fontWeight: 'bold',
backgroundColor: 'rgb(239, 177, 177)',
color: '#000',
display: 'block'
}
});
$('.editDisplay').showBalloon();
}
but it's not showing up, it only shows up on hover. Any ideas?