2

I'm wondering if its possible to have my bPopup show up below each of my links which trigger the popup?

my js:

;(function($) {
    $(function() {
        $('.notesbutton').bind('click', function(e) {
            e.preventDefault();
            $('#notesdisplay').bPopup({
            position: [1,1]
            });
        });
    });
})(jQuery);

html:

<td align=\"center\"><a href=\"#\" class=\"notesbutton\"><b>Yes</b></a></td>
<div id=\"notesdisplay\">$notes</div>
4

1 に答える 1