J
Jeronimo Bertran
A couple of questions I am having problems with converting my JavaScript to
C#.
I have the following code using JavaScript for the mouseover handler that
works fine:
<SCRIPT language=JavaScript>
function MyMouseOver()
{
alert("We are there!");
}
</SCRIPT>
<H3>Walk over <A onmouseover=MyMouseOver() ref="http://msdn.microsoft.com"
ME!</A></H3>
1- How can I change the script to C# using <script language=C#
runat="server">
Changing the script in the following manner doesn't work:
<SCRIPT language=C# runat="server">
void MyMouseOver()
{
// Do something
}
</SCRIPT>
2- Can I call server side functions from within JavaScript functions?
Thanks !!!
Jeronimo
C#.
I have the following code using JavaScript for the mouseover handler that
works fine:
<SCRIPT language=JavaScript>
function MyMouseOver()
{
alert("We are there!");
}
</SCRIPT>
<H3>Walk over <A onmouseover=MyMouseOver() ref="http://msdn.microsoft.com"
ME!</A></H3>
1- How can I change the script to C# using <script language=C#
runat="server">
Changing the script in the following manner doesn't work:
<SCRIPT language=C# runat="server">
void MyMouseOver()
{
// Do something
}
</SCRIPT>
2- Can I call server side functions from within JavaScript functions?
Thanks !!!
Jeronimo