Java Script Question (i think)

They have: 35 posts

Joined: Aug 2001

Can someone tell me if the following is possible:

To have it so that when the user enters a number in a text box and clicks 'okay' it multiplies the number they entered by another number and the result is displayed some where else on the page.

They have: 601 posts

Joined: Nov 2001

Yup! It certainly can. I've used this technique at this page => http://www.walesyearbook.co.uk/2002/html/order.html <= to calculate your order price at the bottom of the order form. Check it out and feel free to pinch the code Smiling

Cheers

- wil

They have: 35 posts

Joined: Aug 2001

cheers mate, but do you know what I need to put into the stylesheet to make it so the textboxes look different?

They have: 35 posts

Joined: Aug 2001

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

Here's a good article by CSShark on formatting form elements with CSS http://www.macromedia.com/desdev/articles/css_forms.html

They have: 35 posts

Joined: Aug 2001

cheers

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.