Problem, Element script is missing an attribute

J

Jeff

hi

..NET 3.5

In my code the "script" of "<script language="javascript">" gets underline
with a red line. When I hover the mouse over it, it says: Element script is
missing an attribute

<script language="javascript">

</script>

any suggestions?
 
J

Jeff

okay it was missing runat="server"

So I changed it to this:
<script runat="server">
function OnClick()
{
}
</server>

but now I get an error saying the type or namespace function could not be
found

any suggestions?
 

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

Top