Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 25
Search took 0.05 seconds.
Search: Posts Made By: CodyJava
Forum: Java and JSP 12-02-2012, 01:32 AM
Replies: 1
Views: 619
Posted By CodyJava
How to add user input in an array

Hey I'm trying to have the user input a value and store it in an array. The only problem is it's saying I can't do it due to a lack of percision (double to int). I've looked and all my values are...
Forum: Java and JSP 12-01-2012, 03:20 AM
Replies: 1
Views: 1,370
Posted By CodyJava
Need help passing variable to another class

I'm trying to call the variable r from another class, but I'm having trouble making it.

public class Circle {

final double PI = 3.14159;
CircleTester temp = new CircleTester();
...
Forum: Java and JSP 11-30-2012, 10:06 PM
Replies: 4
Views: 546
Posted By CodyJava
Okay than you for your help so far. I'm not sure...

Okay than you for your help so far. I'm not sure if I understand are you saying I can't change the value of radius in the other class?

Here's the constructors I'm trying to call
public class...
Forum: Java and JSP 11-30-2012, 09:20 PM
Replies: 4
Views: 546
Posted By CodyJava
Yeah we haven't covered that, but thanks that...

Yeah we haven't covered that, but thanks that worked. Sorry I'm kinda confused on this one but is that taking the user input and setting it equal to c? I was hopping to set it equal to radius from...
Forum: Java and JSP 11-30-2012, 08:05 PM
Replies: 4
Views: 546
Posted By CodyJava
Need turning user input into an object

I need to ask a user for the radius of a circle. Which will then be turned into an object that i can use in a different class to find different measurements. My question is how do i set the user...
Forum: JavaScript programming 11-16-2012, 02:58 PM
Replies: 13
Views: 662
Posted By CodyJava
I had a template from something else so I copied...

I had a template from something else so I copied and pasted a lot of it and when I started doing new code I just kept doing it I'll use a variable next time thanks for all the help.
Forum: JavaScript programming 11-16-2012, 01:31 AM
Replies: 13
Views: 662
Posted By CodyJava
Need help using if statement to check checkboxes

I'm trying to protect against empty check boxes. The code works when their empty but also when they aren't so I guess it's not truly working. Also I know there has to be an easier way to check to see...
Forum: JavaScript programming 11-15-2012, 07:24 PM
Replies: 9
Views: 543
Posted By CodyJava
Thanks I changed the name of the function and...

Thanks I changed the name of the function and used separate if statements and it worked. The assignment was to display an error message if nothing is entered in the input boxes that's why I left them...
Forum: JavaScript programming 11-15-2012, 02:14 PM
Replies: 9
Views: 543
Posted By CodyJava
I checked all my brackets and it validates, also...

I checked all my brackets and it validates, also I posted that before you edited your post.
Also I typed all that code you did not all I need is help with a problem, what is this forum for if you...
Forum: JavaScript programming 11-15-2012, 02:01 PM
Replies: 9
Views: 543
Posted By CodyJava
its a homework assignment and we were suppose to...

its a homework assignment and we were suppose to call it submit() so no answer on why it doesn't work just critique?
Forum: JavaScript programming 11-15-2012, 01:17 PM
Replies: 9
Views: 543
Posted By CodyJava
Trouble with onsubmit event in form

I'm trying to test some input boxes on submit, but its not working for some reason I tried playing with the action and method in the form with no luck. Maybe its my script but i couldn't find where....
Forum: JavaScript programming 11-09-2012, 09:47 PM
Replies: 9
Views: 672
Posted By CodyJava
Thanks I think i need to send the onclick back to...

Thanks I think i need to send the onclick back to a function though because I need to use the same <a> tag to change it from 1 picture to the other. Also change the text that the link says. Thats why...
Forum: JavaScript programming 11-09-2012, 09:30 PM
Replies: 9
Views: 672
Posted By CodyJava
I know this is aggravating but here's the code...

I know this is aggravating but here's the code now it's still not working in fact its opening up windows explorer and going to the file when i use IE when I use chrome it just does nothing. Can you...
Forum: JavaScript programming 11-09-2012, 06:50 PM
Replies: 9
Views: 672
Posted By CodyJava
Update

I have updated my code but still nothing. Any help is appreciated.

Code:
<!DOCTYPE HTML>
<html>
<head>
<title>Chapter 11</title>
<meta http-equiv="content-type" content="text/html;...
Forum: JavaScript programming 11-09-2012, 04:45 PM
Replies: 9
Views: 672
Posted By CodyJava
Thank you do you know how I would change the...

Thank you do you know how I would change the links. Originally it says larger image and after click i want it to say smaller image. Would I use innerHTML thanks again.
Forum: JavaScript programming 11-09-2012, 03:31 PM
Replies: 9
Views: 672
Posted By CodyJava
Trying to change pic from link with onclick

I'm having trouble using the onclick. What im trying to do is by clicking a link i want it to change a picture. I've tried using the onclick with the getElementById and i've also tried to send it...
Forum: JavaScript programming 10-12-2012, 09:21 PM
Replies: 8
Views: 479
Posted By CodyJava
Wow thank you Wolfshade I was looking for a...

Wow thank you Wolfshade I was looking for a simple answer not a high level answer that I wouldn't understand. Your a life saver
Forum: JavaScript programming 10-12-2012, 09:17 PM
Replies: 8
Views: 479
Posted By CodyJava
I didn't like yesterdays because it used if...

I didn't like yesterdays because it used if statements and things I don't yet understand. I would rather understand it than just copy someones code. Your saying i need to pass 2 values but aren't I...
Forum: JavaScript programming 10-12-2012, 08:32 PM
Replies: 8
Views: 479
Posted By CodyJava
Hi thanks for the reply i updated it and am now...

Hi thanks for the reply i updated it and am now having trouble with NAN.
Forum: JavaScript programming 10-12-2012, 08:23 PM
Replies: 8
Views: 479
Posted By CodyJava
javascript not working

When i run this it says NAN can anyone help I'm suppose to use parseInt() but it still says NAN

<!DOCTYPE HTML>
<html>
<head>
<title></title>
<meta http-equiv="content-type"...
Forum: JavaScript programming 10-12-2012, 02:43 AM
Replies: 1
Views: 270
Posted By CodyJava
Need help with using text boxes and linking them back to java script

Hi I recently posted, I'm having trouble taking 2 values from 2 text boxes and sending them to another text box. Im suppose to calculate the BMI without using function arguments and using the...
Forum: JavaScript programming 10-11-2012, 10:29 PM
Replies: 3
Views: 345
Posted By CodyJava
Okay if I understand you correctly I need to...

Okay if I understand you correctly I need to change

document.getElementById('finalbmi').value = calcBMI;

to

document.getElementById('finalbmi').value = final;

I did this and it still...
Forum: JavaScript programming 10-11-2012, 10:21 PM
Replies: 3
Views: 345
Posted By CodyJava
Need help with returning value from function

Hi my problem is that I am suppose to calculate the BMI from two text boxes while using a function to do it. I'm having trouble returning the value from the function. I'm new to javascript and I'm...
Forum: PHP 10-08-2012, 02:46 AM
Replies: 2
Views: 248
Posted By CodyJava
Need Help with if than statements

Hi I'm trying to echo out some text when the user submits a form. My problem is i can't get an if statement to work for the option tag under the select tag. I played around with the value and name of...
Forum: Java and JSP 09-30-2012, 03:18 PM
Replies: 2
Views: 336
Posted By CodyJava
Need Help Question About Variables

Hi my assignment was to ask the user how many floors in a hotel building there were. Then ask the user for the number of rooms on each floor then the number occupied rooms. I put all of this in a do...
Showing results 1 to 25 of 25

 
Forum Jump

All times are GMT +1. The time now is 05:33 PM.