I have html file with href
hyperlinks
. I wanna show my html files in message box. windows.alert
or any message box in javascript. But, it doesn't show my html file. rather it simply shows htmlfiles/hello.html
. Guide me, how to open html file in message box.
HTML CODE:
<span onclick="alert()">click me</span>
What you want to do is not possible with the standard widget from browser. You have the choice to develop it without or with an existing javascript framework.