| 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 anyone?; A little help here people!? | |
|---|---|
| Tweet Topic Started: Jan 27 2007, 06:05 PM (676 Views) | |
| Lulubrfc | Jan 27 2007, 06:05 PM Post #1 |
|
Member
![]() ![]() ![]()
|
I really need a method of gaining the 4 digit code code, then adding 10 to each of the digits, then displaying in a different order (as completed)...does anyone know how to do that?? Or point me in a direction that would help? Thanks! x x |
![]() |
|
| DeltaOne | Jan 27 2007, 06:19 PM Post #2 |
|
House Lucius {gone forever}
![]() ![]() ![]() ![]() ![]() ![]()
|
You wouldn't believe this, but my sister had to do something like it as her homework for school (something easier, but along the same lines, although she had to do it in c++)*I'll think over a bit and if I can help you I'll edit this post, if not, others may help you more than me* |
![]() |
|
| Lulubrfc | Jan 27 2007, 06:54 PM Post #3 |
|
Member
![]() ![]() ![]()
|
Thanks in advance..I've been trying all night.:) x |
![]() |
|
| DeltaOne | Jan 27 2007, 07:27 PM Post #4 |
|
House Lucius {gone forever}
![]() ![]() ![]() ![]() ![]() ![]()
|
Here's some C++ combined with javascript, just so you get the hang of it. Feel free to use whatever you want from the below, it's just a draft with alot of code written that will surely point you in the right direction. (I hope the code is self-explanatory)
|
![]() |
|
| Lulubrfc | Jan 27 2007, 07:49 PM Post #5 |
|
Member
![]() ![]() ![]()
|
Thanks..I can see where I went completely wrong! :-/ |
![]() |
|
| DeltaOne | Jan 27 2007, 07:51 PM Post #6 |
|
House Lucius {gone forever}
![]() ![]() ![]() ![]() ![]() ![]()
|
What was it? Glad to be of service anyway
|
![]() |
|
| xtrackterx | Jan 27 2007, 09:33 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Javascript is easy. |
![]() |
|
| Larksmann | Jan 27 2007, 10:18 PM Post #8 |
![]()
5 Meters Up and Inverted
![]() ![]() ![]() ![]() ![]()
|
I'm sure your input is greatly appreciated. |
![]() |
|
| IceMetalPunk | Feb 4 2007, 08:07 PM Post #9 |
|
We are all IMPerfect. Be proud!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
A much shorter way:
-IMP
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
3:00 PM Jul 11
|



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



(something easier, but along the same lines, although she had to do it in c++)

3:00 PM Jul 11