Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
function NewGlobalVar( varName, val )
{
window[varName] = val;
}
NewGlobalVar( "new_greeting", "Hello Javascript!" );
alert( new_greeting );
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507