I have the following code in a form:
<input type="button" value="Search for this City"
onClick="CreateDate()">
If I click the button is runs the javascript correctly but if I press
enter it doesn't run correctly. Is there something I can put in the
form so if the user presses return or clicks the button that it runs
the javascript CreateDate() ?
Thanks,
Pete