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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -