let suppose me have two project A and B Now me want to call the function of A in B how me can do plz help me out .....thanks in advance
my A project Function are below
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<script>
function updateMyRentals()
{
alert("its Fine");
}
</script>
</head>
<body>
<h2> Test Function </h2>
<input type="button" onclick="updateMyRentals()" value="Call From Local Page" />
</body>
</html>
now me want to call this javascript funtion in project B on a button click...