الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

سؤال بسيط

مغلق
بدأه hatem في 12 فبراير 2002 · 7 رد · 584 مشاهدة · في منتدى تصميم صفحات الويب
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

أريد أن أعمل صفحة تطلب من الزائر إدخال إسمه على سبيل المثال

وعند كتابة إسمه ويضغط على enter ينتقل إلى صفحة جديدة تكون مرتبطة بنفس الصفحة حيث يظهر الإسم المكتوب في الصفحة الأولى في الصفحة الثانية داخل< textarea>

وجزاكم الله خيرا

#2

السلام عليكم

الملف الاول واسمه name.htm

<html>



<head>

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>New Page 2</title>

</head>



<body>



<form method="POST" action="name.asp">

    <p><input type="text" name="t" size="20"></p>

   <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>

</form>



</body>



</html>

الملف الثاني واسمه name.asp

<html>



<head>

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>New Page 1</title>

</head>

<% name = Request.Form("t")%>

<body>



<p><textarea rows="7" name="S1" cols="45" ><%=name%></textarea></p>



</body>



</html>
da3wa_7.jpg
#3

(مشاركة فارغة)

#4

السلام عليكم

اسف على عدم قدرتي معونتك في طلبك.....الحقيقه لااعلم طريقه في الجافا سكربت تقوم بنقل قيمه من فورم لاخر الا الكوكيز

وكان بودي ان اعمل المثال لك لكن ارجو منك المعذره

من الممكن ان ترى عمل الكوكيز في

http://javascript.internet.com/cookies/

وارجوا ان يقوم احد الاخوه بتقديم طريقة افضل

تحياتي

da3wa_7.jpg
#5

[movel]

this is the way which u wanna ..

***************************

// this code by VB SCRIPT

<script language="vbscript">

sub check_form

Dim name

name=document.MyForm.dname.value

if name=""then

msgbox("Fill the name")

else

document.write "Your Name is : " & name

End if

end sub

name:

***********************

// this code by VB SCRIPT

<script language="vbscript">

sub check_form

Dim name

name=document.MyForm.dname.value

if name=""then

msgbox("Fill the name")

else

document.write "Your Name is : " & name

End if

end sub

name:

[/movel]

You can fly while you can touch the sky

#6

[l]

this is the code which u wanna ..

sorry for the above coz i had replaced the code of moving

and alignment ....

**************** ************** ***************

// this code by JAVA SCRIPT

<script language="javascript">

function check_form() {

var name

name=document.MyForm.dname.value

document.write("Your Name is : " + name) ;

}

name:

***************

// this code by VB SCRIPT

<script language="vbscript">

sub check_form

Dim name

name=document.MyForm.dname.value

if name=""then

msgbox("Fill the name")

else

document.write "Your Name is : " & name

End if

end sub

name:

[/l]

You can fly while you can touch the sky

#7

(مشاركة فارغة)

#8

تحياتي لك أخوي .. يا ريت توضح المطلوب أكثر ..

أي ما تحتويه صفحة ال login و ما تحتويه صفحة الدردشة مثلا ..

حدد اكثر ..

وشكرا

You can fly while you can touch the sky

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…