Ammar Iqbal
asked on
How to include Jquery simple Model dialog in an asp.net project
First of all i wantto include the jquery simple modal dialog in an asp.net application, then
I need to call jquery simple mode dialog behind the click eventof a button in an asp.net project
I need to call jquery simple mode dialog behind the click eventof a button in an asp.net project
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
but how to create a model popup, can you give me a sample
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I have added nad include all the relvant files to invoke a contact form of simple dialog
i have included these files as well:
<link id="Link1" runat="server" type="text/css" href="/css/contact.css" rel="stylesheet" />
<link id="Link2" runat="server" type="text/css" href="/css/demo.css" rel="stylesheet" />
<script src="/js/jquery.simplemoda l.js" type="text/javascript"></s cript>
<script src="/js/jquery.js" type="text/javascript"></s cript>
<script src="/js/contact.js" type="text/javascript"></s cript>
Now the problem is that I need to invoke a contact form or a simple model dialog when the button is clicked. I am not figuring it out how to do this stuff in a right way.
Any suggestions?
i have included these files as well:
<link id="Link1" runat="server" type="text/css" href="/css/contact.css" rel="stylesheet" />
<link id="Link2" runat="server" type="text/css" href="/css/demo.css" rel="stylesheet" />
<script src="/js/jquery.simplemoda
<script src="/js/jquery.js" type="text/javascript"></s
<script src="/js/contact.js" type="text/javascript"></s
Now the problem is that I need to invoke a contact form or a simple model dialog when the button is clicked. I am not figuring it out how to do this stuff in a right way.
Any suggestions?
Simple add this link in your html
<p><a href="#" class="demo button">Demo</a> <a href="http://simplemodal.googlecode.com/files/simplemodal-demo-contact-1.4.1.zip" class="button">Download</a></p>
I mean
<a href="#" class="demo button">Demo</a>
#= your page
<a href="#" class="demo button">Demo</a>
#= your page
ASKER
partial solution
Open dialog on click of any HTML button click event. It works.