In this article i will show you how to design registration form using modal popup in mvc
write the code in your cshtml page
Example:-
Step1:- Take one button
<input type="button" value="Sumbit" id="btn1" />
Sterp2:-Wreite jquery code
<script type="text/javascript">
$(document).ready(function () {
$("#btn1").click(function()
{
$("#modalbox").modal("show")
})
})
</script>
write the code in your cshtml page
Example:-
Step1:- Take one button
<input type="button" value="Sumbit" id="btn1" />
Sterp2:-Wreite jquery code
<script type="text/javascript">
$(document).ready(function () {
$("#btn1").click(function()
{
$("#modalbox").modal("show")
})
})
</script>