0

I do something like this in Asp.net under c#

<script  type="text/javascript" runat="server">
    function hi()
       {}
</script>

Even the keyword "function" is not recogonized.But when I do the same using VB.net it's working fine. I am using Visual Studio 2012 Ultimate.

4

1 回答 1

0

删除 runat="server" 属性。

你真的需要吗?

于 2013-06-30T10:32:42.953 回答