User Profile

Collapse

Profile Sidebar

Collapse
Ibys
Ibys
Last Activity: Nov 17 '09, 01:59 AM
Joined: Nov 6 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ibys
    replied to arrays
    should the <form> tags be before or after the javascript part, or around it? I think my textbook is a bit outdated, and my teacher has just told me to do what the textbook says... not much of a help, it doesnt even mention the <form> tags! :( i have edited the HTML body to include the output, but so far I havnt been able to get it to put in the right amount for the users input, its putting its own amount there with the wrong labels! will...
    See more | Go to post

    Leave a comment:


  • Ibys
    started a topic arrays

    arrays

    hi,

    I am trying to create an array, that will prompt the user for the amount of items they have for sale, then to name the items they have for sale. I then want the correct amount of boxes to appear on screen, with labels beside each box that match the users input. I then have to do some further things, but im doing the code in sections, and before I go on to make it do the next thing, I want to make sure this part works! so far i...
    See more | Go to post

  • Ibys
    replied to error: object expected
    ok i have managed to fix it now, i went back through until i could figure out what i had done wrong, i had been trying to declare it as a variable again, while sking it in an if statement- still only a beginner, so i still am making silly little mistakes :) thanks for the help!!
    See more | Go to post

    Leave a comment:


  • Ibys
    replied to error: object expected
    ok, I think I have fixed the first error you mentioned, but how would you recommend i fix the syntax error? not too sure what I have done wrong with that line, as it was in the instructions for how to complete the code, to insert an 'if' statement with "if flag=="OK"", then to put in the coding that is below to make the correct alert come up, which worked in the more simple code i copied it from.

    I have found I only...
    See more | Go to post

    Leave a comment:


  • Ibys
    started a topic error: object expected

    error: object expected

    hi,
    hoping i have posted this in the right section this time :)
    i am doing my javascript still, and cant figure out why i keep getting an error: object expected message for validateform()
    im just not sure what i have done wrong with it, i have tried to give it a function, just cant find where my mistake is. any help would be greatly appreciated, thanks :)

    Code:
    <html>
    <head>
    <title>activity
    ...
    See more | Go to post

  • thankyou so much! it works fine now :)
    See more | Go to post

    Leave a comment:


  • Code:
    HoursWorked=prompt("How many hours did you work this week?","25");
    RateOfPay=prompt("How much are you paid per Hour?","15")
    i dont even know how it is getting the result it is, 3800... all the other tasks i have been doing have been working fine, even the more complicated ones.
    See more | Go to post

    Leave a comment:


  • Ibys
    started a topic very simple question, regarding maths in java

    very simple question, regarding maths in java

    Hi, i am just starting to learn javascript, so i am probably doing something very simple wrong. i have read a lot of articles on maths in java, but cant find anything simple enough for my problem. I am looking for how to get an IF statement to give me the correct output. I am trying to get it to give me a result for a weeks pay, taking that the code worked before i tried to add the IF statement, to make it that if HoursWorked >= 20, the rate of...
    See more | Go to post
No activity results to display
Show More
Working...