| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| JavaScript Misunderstanding | |
|---|---|
| Tweet Topic Started: Sep 5 2005, 06:46 PM (201 Views) | |
| Epsilekt | Sep 5 2005, 06:46 PM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
When I want to make a number higher, I try doing this:
But instead of making the number higher by one, it just adds the number one next to it, what should I do? |
![]() |
|
| JamesIF | Sep 8 2005, 11:46 PM Post #2 |
|
Member
![]() ![]() ![]() ![]()
|
object.innerHTML = Math.floor(object.innerHTML) + 1; |
![]() |
|
| Epsilekt | Sep 9 2005, 06:21 AM Post #3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks a million man. |
![]() |
|
| JamesIF | Sep 9 2005, 05:30 PM Post #4 |
|
Member
![]() ![]() ![]() ![]()
|
You know, on a completely off topic note, and I do apologise - you, me and Ryan Fan all share the same birthday! Seems like 28th Aug was a good day for coders! |
![]() |
|
| Epsilekt | Sep 9 2005, 05:50 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Holy crap are you serious!? :o HOLY CRAP! That's so wierd! :o You're probably right though.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
8:17 PM Jul 10
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)



8:17 PM Jul 10