Javascript customization

J

Jill Graham

Hi,

My ASP .NET pages contain some client-side javascript variables and
functions :

<html>
<head>
<script language="Javascript">
pageId = '[pageId]';

function init() {
... do some work using the value of pageId ...
}
</script>
</head>
<body>
<form ...>
...
</form>
</body>
</html>


The variable [pageId] (e.g. 10, 20, 30, ...) should be filled in by my ASP
..NET script (server side) before the result is sent to the browser.
How can this be accomplished ?

Jill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,052
Latest member
KetoBeez

Latest Threads

Top