Last active
January 6, 2016 15:55
-
-
Save ElfhirDev/9c8313f01a07cfda67bc to your computer and use it in GitHub Desktop.
Request.QueryString
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div id="block"> | |
<p class="query"> | |
</p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function() { | |
var query='<%=Request.QueryString%>'; | |
$('#block .query').html(query); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For getting parameters in URL with .NET code and injecting it in JavaScript code.