A little help here...
I'm trying to code an HTML/Javascript page, where a link can open, for example, notepad.
using <a href="file:///c:/windows/system32/notepad.exe"> won't work, well at least I don't want the "Run/Save/Cancel" window to popup.
Searching on google I found
document.location.href could do the trick, but I cannot get it to work.
code:
<script languaje="javascript">
function notepad() {
document.location.href="c:/windows/system32/notepad.exe";
}
</script>
<a href="javascript:notepad();">Test</a>
Anything will be greatly appreciated.
Thanks.