Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

robin b
What's the song that has a chorus with "For you" repeated over and over?
I think it's "For you" although it might be "with you" and there's a guitar in the background.
Thanks!
1 AnswerLyrics8 years agoJavaScript Allow Only Numbers?
I am learning a bit on how to code in JavaScript and I just made a basic thing that tells you if the number is prime or not.
Here's the code:
<html>
<body>
<script type="text/javascript">
function calc ()
{
input = document.math_form.user_input.value;
var equ = input / 2
if(equ == Math.round(equ))
{
alert("This number is not prime")
}
else
{
alert("This number is prime")
}
}
</script>
<form name="math_form">
Number:
<input type="text" name="user_input"><br><br>
<input type="button" name="findout" value="Find Out"
onClick="calc ()"><br><br>
Result:
<input type="text" name="result">
</body>
</html>
I was wondering if there is a way to allow only numbers in the input box. Is there some way you can alert the user if it is an invalid number? Thank you
3 AnswersProgramming & Design1 decade agoBravenet edit using notepad?
So, I have a free website on Bravenet and I was wondering if I can edit it with notepad. I know that they have those adds and so I am wondering if it was okay to edit using notepad.
Thanks
2 AnswersProgramming & Design1 decade agoHTML Form Data to Table Question?
So I am making a website where you enter information in a form, then, I would like it to post the data the user put in to be displayed in a table where anyone can view it. Is there any way I can do this?
Thank you
3 AnswersProgramming & Design1 decade agoJavaScript Doesn't Work?
So, My code is the top one and the tutorial code is at the bottom.
Is there any reason my code (the top code) not work? I'm sure this is an obvious mistake.
Thank you.
A few Notes:
I used the Tryit Editor v1.4
I found the tutorial here:
http://www.pageresource.com/jscript/jclock.htm
<HTML>
<HEAD>
<script language="text/javascript">
function startclock()
{
var date = new Date ();
var hour = date.getHours ();
var min = date.getMinutes ();
var sec = date.getSeconds ();
var AMorPM = " ";
if (hour>12)
AMorPM = "P.M.";
else
AMorPM = "A.M.";
if (hour>13)
hour-=12;
if (hour==0)
hour = 12;
if (min<10)
min="0"+min;
if (sec<10)
sec="0"+sec;
document.clockform.clockhere.value=hour+":"+min+":"+sec+" "+AMorPM;
setTimeout('startclock()',1000);
}
</script>
</HEAD>
<BODY onLoad="startclock();">
<FORM Name="clockform">
Current Time in Chicago: <input type="text" name="clockhere" size="15">
<HEAD>
<SCRIPT language="JavaScript">
<!--
function startclock()
{
var thetime=new Date();
var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var AorP=" ";
if (nhours>=12)
AorP="P.M.";
else
AorP="A.M.";
if (nhours>=13)
nhours-=12;
if (nhours==0)
nhours=12;
if (nsecn<10)
nsecn="0"+nsecn;
if (nmins<10)
nmins="0"+nmins;
document.clockform.clockspot.value=nhours+":"+nmins+":"+nsecn+" "+AorP;
setTimeout('startclock()',1000);
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="startclock()">
<FORM name="clockform">
Current Time: <INPUT TYPE="text" name="clockspot" size="15">
</FORM>
</BODY>
</html>
2 AnswersProgramming & Design1 decade agoWhy Does This Code Not Work?
So I am learning how to do Form Validation. I typed the following in the Tryit Editor v1.4:
<head>
<title>A Simple Form with JavaScript Validation</title>
<script type="text/javascript">
<!--
function validate_form ()
{
valid = true;
if( document.contact_form.contact_name.value == "" )
{
alert ("Incorrect!");
valid = false;
}
return valid;
}
//-->
</SCRIPT>
</HEAD>
<FORM name="contact_form" method="POST" action="admin@fsxnetwork.awardspace.com" onSubmit="return validate form ();">
<h1>Please Enter Your Name</h1>
<p>Your Name: <input type="text" name="contact_name">
<input type="submit" name="send" value="Send Details">
I typed this because I am learning how to make it in a tutorial. The tutorial source code is:
<html>
<head>
<title>A Simple Form with JavaScript Validation</title>
<script type="text/javascript">
<!--
function validate_form ( )
{
valid = true;
if ( document.contact_form.contact_name.value == "" )
{
alert ( "Please fill in the 'Your Name' box." );
valid = false;
}
return valid;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
<form name="contact_form" method="post"
action="/cgi-bin/articles/development/javascript/form-validation-with-javascript/contact_simple.cgi"
onSubmit="return validate_form ( );">
<h1>Please Enter Your Name</h1>
<p>Your Name: <input type="text" name="contact_name"></p>
<p><input type="submit" name="send" value="Send Details"></p>
</form>
</body>
</html>
Is there anything wrong with the first code (the code I typed) that makes it not validate the form?
Thanks
1 AnswerProgramming & Design1 decade agoIs there a way that you can drag a file into a folder and it will upload?
Is there a way to take an HTML file and drag it into a certain folder and then it automatically uploads it onto the website? I use Bravenet's FTP.
Thanks
2 AnswersProgramming & Design1 decade agoEasy website host that supports PHP and MySQL?
I have a account on x10hosting but that is a little to complex for me. I just want a simplified version of that like bravenet except a free version.
Thanks
3 AnswersProgramming & Design1 decade agoHow do you hide text in HTML?
I want to organize my script a little. Say I wanted to put "First Name Input" but not show it. Do you use the <!-- First Name Input -->?
Thanks
4 AnswersProgramming & Design1 decade agoWhat code do you add to my form to make the person confirm?
I want to put a checkbox that confirms everything is correct. Can you add the code to mine to make it so they cannot submit the form if they didn't check the box.
Here is the code:
<FORM>
<Form Action="mailto:Blank" Method="POST" Enctype="multipart/form-data" name="Submission">
First Name: <br>
<input type="text" name="firstname" /><br><br>
Last Name: <br>
<input type="text" name="lastname" /><br><br>
E-Mail: <br>
<input type="text" name="lastname" /><br><br>
<br />
Check This Box if you have confirmed everything you have typed in.
<input type="checkbox" name="confirm" value="Check This Box if you have confirmed everything you have typed in."
<br />
<br />
<br />
<input type="submit" value="Send">
</form>
By the way, I know that the "mailto" says "blank" because I don't want to give out the peoples email that the form is submitted to :)
5 AnswersProgramming & Design1 decade agoThis JavaScript isn't real... Right?
On this website
http://www.javascriptkit.com/script/cutindex22.sht...
The:
Scary virus Uploader
Is that really uploading a virus and does it really remove any files? Thanks
1 AnswerProgramming & Design1 decade agoRestricted airspaces in the US?
Is there a link that has a map of all the restricted airspaces in the United States? Please, send me the link if you can.
Thank you
7 AnswersAircraft1 decade agoBasic Way To Describe A VOR?
I need to some way figure out how to describe a VOR to someone that doesn't know what a VOR is in any way. Please don't ask why I am describing a VOR.
4 AnswersAircraft1 decade agoWhen Pilots Say "TAS"?
So I have a Buzz Aldrin G6 Aviator and when I listen to local control, the pilots say something with "TAS" then ATC clears them in to land.
What does this mean? Thanks
2 AnswersAircraft1 decade agoRunescape Grand Exchange???????
In runscape at the grand exchange, I bought a new tinderbox and logs and now when I try lighting a fire, it says nothing interesting happens!!!!!!!!!!!!!! It is frusterating me and so can you help?
5 AnswersVideo & Online Games1 decade agoHigher rank in VATSIM?
I just started playing on the VATSIM network and I am wondering how I get a higher rank. Right now it says I need to be a student to be ATC and I really want to be ATC. How do I do that?
1 AnswerSoftware1 decade agoHow does ATC pick who lands first?
When there is more than one airplanes on final, how do they choose who to go around?
8 AnswersAircraft1 decade agoBenifits of VATSIM......?
What is better about VATSIM than FSX multiplayer?
1 AnswerVideo & Online Games1 decade agoCarbon Dioxide/Carbon Monoxide?
I asked my teacher if Carbon Dioxide is one Carbon and two Oxygen atoms and Carbon Monoxide is one Carbon atom and one Oxygen atom, why does one atom make Carbon Monoxide poision and Carbon dioxide not?
4 AnswersChemistry1 decade agoNo way to activate after trial....?
I finished the trial of Sony Vegas 8 but I got the key but there is no where to put it! It only says Buy or Cancel. Where can I put in my Key?
1 AnswerSoftware1 decade ago