<HTML>
<HEAD>
<SCRIPT language="JavaScript">
function myFunc(my, p)
{
alert(my + " : " + p);
}
function get_added_text()
{
var textpart1 = "A ";
var textpart2 = "B";
var added_text = textpart1 + textpart2;
return added_text;
}
myFunc("A",1500);
var alert_text=get_added_text();
window.alert(alert_text);
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
|