borninlyoko's Profile User Rating: -----

Reputation: 7 Worker
Group:
Authors
Active Posts:
349 (0.21 per day)
Joined:
03-December 09
Profile Views:
6,892
Last Active:
User is offline Jan 14 2013 11:57 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Mercedes
Dream Kudos:
150

Latest Visitors

Icon   borninlyoko loves PHP

Posts I've Made

  1. In Topic: Simple Javascript Calculator Not Completing

    Posted 24 Sep 2012

    View PostSho Ke, on 21 September 2012 - 02:54 PM, said:

    Usually the first thing you should do when debugging is look at the error console. If you had done that, you would've seen this right as the page loads(using Firefox's error console)

    Quote

    [16:52:05.825] SyntaxError: missing ; before statement @ file:///<directory here>


    It refers to this line:
            calculate(){
    
    


    What's that supposed to do?
    http://www.quirksmod...s/function.html

    Additionally, the text inside an input field is its value, not innerHTML.


    Ah, now I feel like an idiot :P I forgot to declare the damned function! Thank you very much :)
  2. In Topic: Simple Javascript Calculator Not Completing

    Posted 21 Sep 2012

    View PostThrowsException, on 21 September 2012 - 02:12 PM, said:

    Have you tried debugging this in chrome or firefox?

    Yes I did try that, thank you though for the suggestion.
  3. In Topic: Simple Javascript Calculator Not Completing

    Posted 21 Sep 2012

    View Postmodi123_1, on 21 September 2012 - 02:04 PM, said:

    What?


    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>Flash Player Bitcoin Miner Calculator</title>
        <!--Also Posted to DreamInCode for help, username borninlyoko, verification for moderator modi123_1-->
        <script type="text/javascript">
            calculate(){
                var users = document.getElementById('musers').value;
                var timespent = document.getElementById('timespent').value;
                var btcps = 0.000000000617283950;
                var timeday = timespent/30;
                var userday = users/30;
                var calcresult = userday*timeday*btcps + 'BTC';
                document.getElementById('result').innerHTML = calcresult;
           }
        </script>
    


    Specifically:
    <!--Also Posted to DreamInCode for help, username borninlyoko, verification for moderator modi123_1-->
    
  4. In Topic: Simple Javascript Calculator Not Completing

    Posted 21 Sep 2012

    View Postmodi123_1, on 21 September 2012 - 01:45 PM, said:

    Looks like the same code found here. Where was your input in this?


    It is the same code, I posted a comment in the OP code there showing that it was my code from the beginning!

    Sorry about that :P I forgot about the plagiarism issues here.

My Information

Member Title:
D.I.C Regular
Age:
19 years old
Birthday:
April 12, 1995
Gender:
Interests:
C++, VBS, Dancing, DeeJaying,
Full Name:
Brandon Anzaldi
Years Programming:
1
Programming Languages:
C++, VBS, HTML

Contact Information

E-mail:
Private
Website URL:
Website URL  http://www.freebie-zone.co.cc

Friends

Comments

Page 1 of 1
  1. Photo

    Anarion Icon

    27 Feb 2010 - 11:48
    Don't give up on Regex! :lol:
  2. Photo

    .Aaron Icon

    16 Feb 2010 - 18:13
    Haha. ADOS. Nice one.
Page 1 of 1