Jquery event function
// pop up message box click d1 $ ( '# d1') click (function () {alert ( 'ha');});