Hello, I am new at this forum. I am trying to figure out how, if possible at all, to transfer data from an asp .net page into a javascript script in an HTML page.
sergiofmolina
0
Newbie Poster
Recommended Answers
Jump to Poststring script = "<script type=\"text\\javascript\">function(){alert('some data');};</script>"; Page.RegisterClientScriptBlock("myscript", script);
That's an easy way. There are many others like AJAX google for that.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.