What is the difference between <script runat="server">
and <script>
?
When you add runat="server"
attribute the tag will become available in server side code like any other asp.net
control.
Then you will be able to manipulate/add c#/javascript code within the blocks directly.
If you don't add the runat
attribute you will be able to only have client side scripting.