basic modal dialog problem
- by senzacionale
image for opening popup.
<div id='basic-modal'>
<a href="#"><input type="image" name="HelpHealthCenter" class="basic" id="imgHelpHealthCenter" tabindex="-1" title="Some text that will display" src="/images/help.gif" style="border-width:0px;" /></a>
</div>
i am using basic modal dialog (first demo) in thi link: http://www.ericmmartin.com/projects/simplemodal-demos/
This is JS for opening popup windows
jQuery(function ($) {
$('#basic-modal .basic').click(function (e) {
$('#basic-modal-content').modal();
return false;
});
});
but i want to read title="" from image instead of reading text from "basic-modal-content" div when popup is opened.
<div id="basic-modal-content">
text on popup window
</div>
Thx for help.