I am trying to dynamically generate JavaScript with just a URL get request.
I have accomplished this with asp.net MVC by just returning a string from the action and writing the script tag like this. \[code\]<script type='text/javascript' src='http://stackoverflow.com/questions/3152295/script/get/123'></script>\[/code\]The problem is I need to accomplish the same type of dynamically generated script from a asp.net web forms project.How would I return dynamiccally generated string with a GET request to a page (or web service) in a asp.net Web Forms project?
I have accomplished this with asp.net MVC by just returning a string from the action and writing the script tag like this. \[code\]<script type='text/javascript' src='http://stackoverflow.com/questions/3152295/script/get/123'></script>\[/code\]The problem is I need to accomplish the same type of dynamically generated script from a asp.net web forms project.How would I return dynamiccally generated string with a GET request to a page (or web service) in a asp.net Web Forms project?