I have one html file (file.html) which contains a javascript function as below :
file.html
<html>
<head>
</head>
<script>
function demo()
{
do something using param1;
}
</script>
</html>
'Param1' is the array that I need to pass from an IPython notebook everytime I call this file.html. The requirement is to show the the output of file.html in the notebook itself which I am doing using the following commands.
from IPython.display import IFrame
IFrame('file.html', width=1000, height=550)