$(document).ready(function() { $('#btnUpdate').click(function(e) { // Button which will activate our modal $('#modal').reveal({ // The item which will be opened with reveal animation: 'fade', // fade, fadeAndPop, none animationspeed: 200, // how fast animtions are closeonbackgroundclick: true, // if you click background will modal close? dismissmodalclass: 'close' // the class of a button or element that will close an open modal }); return false; }); });
<pre lang="HTML"> <asp:ImageButton ID="btnUpdate" ImageUrl="~/Images/GridItemUpdate.gif" runat="server" CommandName="Update" ToolTip="Save Record"> </asp:ImageButton>
$(document).ready()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)