JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 25th, 2012, 12:02 AM
Mindphaser Mindphaser is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 23 Mindphaser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 47 m 16 sec
Reputation Power: 0
Add 2 textfields' values together with button

Hi everyone.

My HTML/Javascript boardgame has 6 players.

Each player keeps track of their own cash, they each have a 'wallet' form.

On each form, I need to have a 'current cash' textfield that gets updated dynamically by entering a number in a 'cash adjustment' field (each player has their own cash-adjustment field).

Then the player simply presses a + or - button to add or subtract that amount to/from the 'current cash' field for that player.

Also, the current cash default should be $6110 (amount given to each player at the start of a game).

I'm a designer moreso than a coder, guys, so go easy on me please

Reply With Quote
  #2  
Old October 25th, 2012, 10:36 AM
leonvv leonvv is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 24 leonvv User rank is Sergeant (500 - 2000 Reputation Level)leonvv User rank is Sergeant (500 - 2000 Reputation Level)leonvv User rank is Sergeant (500 - 2000 Reputation Level)leonvv User rank is Sergeant (500 - 2000 Reputation Level)leonvv User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 h 47 m 48 sec
Reputation Power: 0
I'm not sure how you're going to make a board game with just HTML/JavaScript ?
After reload everything will be back to default.

Anyways, that's not your question ;

I made a little demo .

If you still got any questions please ask.

Léon
Comments on this post
Winters agrees!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Add 2 textfields' values together with button

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap