Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 01-05-2004, 12:15 PM   #1 (permalink)
westiferus
Registered User
 
Join Date: Jan 2004
Posts: 2
westiferus is on a distinguished road
Forms

How do I get the data entered on a form to update the text on the web-page?
westiferus is offline   Reply With Quote
Old 01-05-2004, 01:06 PM   #2 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
straight HTML won't do it. you need some type of backend. my personal preference is PHP & mySQL. learn more about them at the sites below.

www.php.net
www.mysql.com
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 01-05-2004, 01:51 PM   #3 (permalink)
nimaj
Registered User
 
Join Date: Jan 2004
Location: Poughkeepsie, NY
Posts: 18
nimaj is on a distinguished road
Send a message via AIM to nimaj Send a message via Yahoo to nimaj
you could have javascript that changes the text in an input box or text area, but that's about it without using php or something.
nimaj is offline   Reply With Quote
Old 01-09-2004, 11:03 AM   #4 (permalink)
westiferus
Registered User
 
Join Date: Jan 2004
Posts: 2
westiferus is on a distinguished road
Here is the source for the child page, the form. I'm still not having any luck getting the info to the parent page, maybe I'm doing something wrong, check it out:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Status Update</title>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers

function updateParent(textField) {
opener.document.outputForm.msgLine.value
= textField.value
}

// End hiding script from old browsers -->
</script>
</head>
<body bgcolor="#FFFFFF">
<div id="updateform">
<form method="post" action="opcen.html">
Status: <input type="text" name="status" onBlur=
"updateParent(this) SIZE="2">

Comments: <input type="text" name="comments" size="30" />

<input type="submit" value="Submit"/>


</div>
</body>
</html>
westiferus is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Databases, Forms? snowman00000 All Other Coding Languages 9 10-15-2004 12:36 PM
[mfp] Inputting forms to output in PHP DavH27 PHP 6 08-18-2004 06:31 AM
Order Forms? crystal214 HTML, XML, Javascript, AJAX 4 09-29-2002 10:54 AM


All times are GMT -8. The time now is 08:16 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting