jquery - Modal dialog boxes -
how dynamically change content of dialog box.
i have table has user information.for every record user email made hyperlink. when user clicks on of email, dialog has open details of clicked record. how that? please guide me.
regards, sitaram
ajax! snubbed out of methods, should in motion.
$('.email_link').click(function(e){ e.preventdefault(); var id = $this.data('email_identifier'); data = dosomeajaxcallwiththisuniqueid(id); //have ajax call email based data openmodal() //create modal. $(.modal-body).html(data); // after, populate it. })
Comments
Post a Comment