make it so when you hit return, it loads the URL

This commit is contained in:
sspitzer%netscape.com 1999-09-18 01:04:26 +00:00
parent 8bc490a93b
commit af7020147c

View File

@ -12,6 +12,7 @@
<html:script language="JavaScript" src="DOMDataSourceViewer.js"/>
<box align="vertical" flex="30%">
<html:input type="text" name="url" id="url" onkeyup="if (event.which == 13) loadUrl();"/>
<box align="horizontal">
<html:input name="url" id="url" value="http://www.mozillazine.org/"/>
<titledbutton onclick="loadUrl();" value="Load"/>