0
The most common is that links to other html files are made through the tag <a href>
, however, how would I call a.html file from within a javascript function? That is, the user clicks on the link whose event onclick is pointing to any function and within that function I would make the call to the file . html.
The common thing is that we do <a href="anyhtmlfile.html">Clickme</a>
What would be the benefit for such a method?
– user60252