This is a discussion on "I need help java isn't adding when its supposed to" within the JavaScript Forum section. This forum, and the thread "I need help java isn't adding when its supposed to are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
I need help java isn't adding when its supposed to
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
http://thesealportal.no-ip.biz/tsp/p...harCreate.aspx the url wasn't supposed to have the team part sorry
Last Blog Entry: Frontpages and Gathering Peak Users. (Jun 16th, 2008)
Last edited by TheSealPortalTeam; May 28th, 2007 at 23:38. Reason: fixed uri/url |
|
|
|
||||
|
Re: I need help java isn't adding when its supposed to
Ok, remenber the following:
1. Java is very different from Javascript. Java: Programming launguage, needs to be compiled, strict data types. Javascript: Scriptting language, needs an interpreter (browser), generic data types. 2. You're adding a number and text. Javascript can't perform the mathematical operation on the text so it converts the number to text and creates a new text string. What you need to do is convert the text into a number, like this:
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
Re: I need help java isn't adding when its supposed to
thanks, I can also do this
Last Blog Entry: Frontpages and Gathering Peak Users. (Jun 16th, 2008)
|
|
||||
|
Re: I need help java isn't adding when its supposed to
I'm not sure that would work, but if you've tested it and it works, then it works!
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
Re: I need help java isn't adding when its supposed to
okay now java is just not working by putting a value deep into the hidden feilds (hid***)
Last Blog Entry: Frontpages and Gathering Peak Users. (Jun 16th, 2008)
|
![]() |
| Tags |
| subtract skill, skill point creater, javascript, help, character creater, adding skill, thesealportalteam |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding 1 to Column Value | Jack Franklin | PHP Forum | 4 | Feb 3rd, 2008 10:19 |
| Adding More Images | crackafaza | PHP Forum | 0 | Jan 3rd, 2008 13:18 |
| Adding quizzes | hawashp | Web Page Design | 12 | Oct 5th, 2007 12:04 |
| Java/GUI/Server Developer (Java, EJB/Hibernate, SWING) - Berkshire | Web JobBot | Job Opportunities | 0 | Jan 16th, 2007 09:30 |
| adding to database | benbacardi | Classic ASP | 17 | Aug 18th, 2004 12:28 |