OZONE Asylum
Forums
DHTML/Javascript
JS Function & Variable Storage
This page's ID:
27926
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] only thing I want to change is so "enter" key works to execute the function [/quote] Use the following form element instead of yours[code]<form name="parking" onSubmit="calculateCharges(document.parking.hoursparked.value); return false;"> Please enter the number of hours parked for the current customer: <br> <input type="text" name="hoursparked" value=""> <br> <input type="submit" value="Calculate"> <p> Charges for current customer: <input type="text" name="current" value=""> <p> Yesterday's running total: <input type="text" name="running" value=""> </form> [/code] [small](Edited by [url=http://www.ozoneasylum.com/user/2269]HZR[/url] on 05-19-2006 22:12)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »