trouble with this javascript in a webpage

J

Jeff

hi

..NET 3.5

I have trouble with this script, I get an compile error:
"The type or namespace name 'function' could not be found (are you missing a
directive or assembly)"

( I'm trying to create an DropDown Calendar Control, based on this example:
http://www.developer.com:80/net/asp/article.php/3327181 )

<script type="type/javascript" runat="server">
function OnClick()
{
if (divCalendar.style.display == "none")
divCaledar.style.display = "";
else
divCalendar.style.display = "none";
}
</script>

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

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top