passing data to javascript on page load

Posted by user177883 on Stack Overflow See other posts from Stack Overflow or by user177883
Published on 2010-04-28T23:21:18Z Indexed on 2010/04/28 23:37 UTC
Read the original article Hit count: 237

Filed under:
|
|
|
|

I want to pass data to id

<script language="javascript" src="/foo.aspx?id=1"></script>

I have this code in a aspx page.

The data should be passed on load, before this code is being executed.

how can i do that?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#