Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » HTML
Re: HTML [message #353250 is a reply to message #353195] Sat, 04 October 2008 20:16 Go to previous messageGo to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma:
Colonel

Ethenal wrote on Sat, 04 October 2008 14:15

Drkpwn3r wrote on Sat, 04 October 2008 04:36

Precisely why I suggested javascript first. *cough*

Mind you, the only reason I wrote the javascript like I did was for it to be easiest to understand while remaining fully functional.

<html>
<head>
<title>Your page name</title>
<script type="text/javascript">
<!--
function proc_form(obj)
{
	var correct_spell = "__RIGHT HERE__correct_spelling_here__RIGHT HERE__";
	var word_entry = obj.the_word;
	if ( word_entry == "" )
	{
		alert("Please enter a word to spell.");
	}
	else
	{
		if ( word_entry.value == correct_spell )
		{
			alert("You have correctly spelled " + correct_spell);
		}
		else
		{
			alert("Please try again.");
		}
	}
	return false;
}
-->
</script>
</head>
<body>
<form onsubmit="javascript:return proc_form(this);">
	<input type="text" name="the_word" />
	<input type="submit" value="Check Spelling" />
</form>
</body>
</html>


Seemed pretty obvious but okay...

LOL Thank you you where a big help.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide

[Updated on: Sat, 04 October 2008 20:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Qantas Airlines: Repair Divison
Next Topic: Now that Tiberium is canceled...
Goto Forum:
  


Current Time: Sat Aug 03 15:07:40 MST 2024

Total time taken to generate the page: 0.01105 seconds