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
Old 06-17-2010, 10:02 AM urgent assistance!
Junior Talker

Posts: 3
Name: miraslav
Trades: 0
been trying to get this to work but i keep failing anyone have code to do the following?

"Input a user’s age. If the user’s age is greater than, or equal to 18, request the user to enter a common access code. If the entered access code was “SECRET”, display the restricted webpage. However, if the user entered a code that was incorrect, display an error page."
Prelude is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-17-2010, 10:03 AM Re: urgent assistance!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And what code do you have already?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-17-2010, 10:08 AM Re: urgent assistance!
Junior Talker

Posts: 3
Name: miraslav
Trades: 0
<script type="text/javascript" >
function CreateTextbox()
{
var i = 1;
createTextbox.innerHTML = createTextbox.innerHTML +"<input type=text name='mytext'+ i/>"

}
</script>

</head>


<body>

<form name="form" action="post" method="">
<input type="button" value="clickHere" onClick="CreateTextbox()">
<div id="createTextbox"></div>
</form>

</body>
Prelude is offline
Reply With Quote
View Public Profile
 
Old 06-17-2010, 10:17 AM Re: urgent assistance!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Is this purely an academic excercise or are you hoping to implement it as a "security" measure?

See your other thread
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to urgent assistance!
 

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.29466 seconds with 12 queries