السلام عليكم
أريد أن أعمل صفحة تطلب من الزائر إدخال إسمه على سبيل المثال
وعند كتابة إسمه ويضغط على enter ينتقل إلى صفحة جديدة تكون مرتبطة بنفس الصفحة حيث يظهر الإسم المكتوب في الصفحة الأولى في الصفحة الثانية داخل< textarea>
وجزاكم الله خيرا
السلام عليكم
أريد أن أعمل صفحة تطلب من الزائر إدخال إسمه على سبيل المثال
وعند كتابة إسمه ويضغط على enter ينتقل إلى صفحة جديدة تكون مرتبطة بنفس الصفحة حيث يظهر الإسم المكتوب في الصفحة الأولى في الصفحة الثانية داخل< textarea>
وجزاكم الله خيرا
السلام عليكم
الملف الاول واسمه 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>
(مشاركة فارغة)
السلام عليكم
اسف على عدم قدرتي معونتك في طلبك.....الحقيقه لااعلم طريقه في الجافا سكربت تقوم بنقل قيمه من فورم لاخر الا الكوكيز
وكان بودي ان اعمل المثال لك لكن ارجو منك المعذره
من الممكن ان ترى عمل الكوكيز في
http://javascript.internet.com/cookies/
وارجوا ان يقوم احد الاخوه بتقديم طريقة افضل
تحياتي

[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
[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
(مشاركة فارغة)
تحياتي لك أخوي .. يا ريت توضح المطلوب أكثر ..
أي ما تحتويه صفحة ال login و ما تحتويه صفحة الدردشة مثلا ..
حدد اكثر ..
وشكرا
You can fly while you can touch the sky
هذا الموضوع مغلق.
المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية
جارٍ التحقق من المتواجدين…