<script type="text/javascript">
function a()
{
var s = "<%=a()%>";
document.write(s);
}
</script>
<input οnkeypress="a()" id="aaa" type="text"/>
protected string a()
{
string a="ddd";
return a;
}
<script type="text/javascript">
function a()
{
var s = "<%=a()%>";
document.write(s);
}
</script>
<input οnkeypress="a()" id="aaa" type="text"/>
protected string a()
{
string a="ddd";
return a;
}