4 ms·
But you can run different languages inside a browser. Activestate had Perl running inside browser: http://docs.activestate.com/activeperl/5.8/Components/Window
by adamzochowski 16y ago
But you can run different languages inside a browser.
Activestate had Perl running inside browser:
http://docs.activestate.com/activeperl/5.8/Components/Windows/PerlScript.html http://docs.activestate.com/activeperl/5.8/Components/Window...
<script language="PerlScript">
$window->document->write('Hello world!');
</script>
Also you can run VBScript. I have seen code that avoid javascript confirm() and tries to check first if it can use VBScripts msgbox function, just so it can provide 'yes'/'no' buttons. Aka:
function confirmVB (text)
confirmVB = msgbox ( Text , VBYesNo )
end function
and then javascript
function confirmYesNo(txtText)
{
if (window.vbSupported)
{
return confirmVB(txtText);
} else {
return confirm(txtText + " (ok = yes, cancel = no)" );
}
}
Cheers