I am developing a JQuery mobile application in ASP.net MVC4 razor using VSRC, In cshtml page section scripts are written like the following.
@section Scripts
{
<script type="text/javascript">
$(document).ready(function () {
jQuery("#register-form").validationEngine();
});
</script>
}
In layout.cshtml I have...
"@RenderSection("Scripts", false)".
It works for the initial page (page which render first), but when it linked via "ActionLink" to other pages then the section script written in those pages are not working.
Any ideas?
Please help, Thanks.