Javascript "this" keyword is a reference to the object that contains a Javascript function call. For example: We have the code to change the link text when the same ink is clicked.
<html>
<head>
<title>Javascript this keyword tutorial</title>
<script language="javascript" type="text/javascript">
function changetext(thisa)
{
thisa.innerText="After Changing";
}
</script>
</head>
<body>
<a href="#" onclick="javascript: changetext(this);">Before Changing</a>
</body>
</html>