vendredi 8 mai 2015

Javascript not loading when using HttpContext.Current.Response.WriteFile

I am opening PDF file in my aspx page using HttpContext.Current.Response.WriteFile(). My problem is I have some script in same page and it is not triggering.

<script type="text/javascript">
    $(document).ready(function () {
        alert("in");
    });
</script>

Aucun commentaire:

Enregistrer un commentaire