Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
[Help wanted FAST] Rookie Javascripter (TAX form)
Old 06-03-2010, 06:03 AM [Help wanted FAST] Rookie Javascripter (TAX form)
Junior Talker

Posts: 2
Name: Magnus
Trades: 0
Hello, Im doing a Javascript test and this question will raise my grade and I'm completley lost and need helpz, So i turned to the interwebs ;p


Used Google translate so It might not be so clear what I'm looking for but any help is welcome


"Make a form on the pricing page that contains two input fields, one called the price and one called VAT. Add Tax button. Moms knappenska trigger a javascript that calculates the sum of VAT in the price field and add in the VAT field, ie, multiply one field's value with 0.8 add VAT results in the field"
zunnyh is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-03-2010, 06:16 AM Re: [Help wanted FAST] Rookie Javascripter (TAX form)
Junior Talker

Posts: 2
Name: Magnus
Trades: 0
This is it so far



<html>
<head>

<title>Piteå Summergames hemsida</title>
<body>
<IMG src="http://www.piteasummergames.se/~sg/files/sg_logo6.gif">
<P><A href="Pite_summergames.html"> Summer games</A>. |
<A href="Aktuellt.html">Aktuellt</A>.
<P> <HTML>
<BODY>

<p><center>
<Head>
<SCRIPT LANGUAGE="JavaScript">
function readText (form) {
TestVar =form.inputbox.value;
alert ("You typed: " + TestVar);
}
function writeText (form) {
form.inputbox.value = "Have a nice day!"
}
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="myform" ACTION="" METHOD="GET">
Enter something in the box: <BR>
<P>Gender<INPUT TYPE="text" NAME="tal1" VALUE=""><P>
Name
<INPUT TYPE="text" NAME="tal2" VALUE=""><P>
Telephone number
<INPUT TYPE="text" NAME="Svar" VALUE=""><P>

<INPUT TYPE="button" NAME="button1" Value="Send" onClick="readText(this.form)">
</FORM>
</BODY>
</HTML>

</body>
</html>
zunnyh is offline
Reply With Quote
View Public Profile
 
Old 06-03-2010, 06:25 PM Re: [Help wanted FAST] Rookie Javascripter (TAX form)
Extreme Talker

Posts: 246
Trades: 0
OK, so let me get this straight. You are writing a test and want us to help you cheat? Hows this, you make an attempt at it and I'll help you (I want to see the code before I help you).
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to [Help wanted FAST] Rookie Javascripter (TAX form)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24844 seconds with 12 queries