This is javaScript based ASP.net web application.
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script language="javascript" type="text/javascript">
function oddEve(){
var rand = Math.random();
rand = Math.ceil(6*rand);
if(rand % 2 == 0){
document.write("Odd number: ");
}
else{
document.write("Even number: ");
}
document.write(rand);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>JavaScript1</title>
</head>
<body>
<form id="form1" runat="server">
<div>
[B][U]<asp:[/U][/B]
</div>
</form>
</body>
</html>
Please tell me how to make function call of 'oddEve()' at the marked place ???
thnx