07-10-2006, 23:23
|
|
|
חבר מתאריך: 07.10.06
הודעות: 1,795
|
|
שינוי תוכן של תיבת טקסט ב-VBS לא עובד כאשר התיבה נמצאת בתוך טופס
אני כתבתי קוד VBS שמשנה טקסט בתוך קופסת טקסט.
זה עבד מצוין כל הזמן, אבל איך שאני היכנסתי את הפקדים למיסגרת, זה היפסיק לעבוד וזה מוציא הודאת שגיאה. איך אני יכול שזה ישאר בתוך המיסגרת אבל ה-VBS גם יעבוד?. הנה כל הקוד. מצ"ב הקובץ (עם זה לא כל כך ברור)
<html dir="rtl">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>עדכון</title>
</head>
<body>
<script language="vbscript">
Function enter()
t1.value = t1.value & "<br>"
End Function
</script>
<form method="POST" action="--WEBBOT-SELF--">
<p> </p>
<p> </p>
<p><input type="text" name="T1" size="20" dir="ltr"></p>
<p><input type="text" name="T2" size="20"></p>
<p> </p>
<p><input type="submit" value="Submit" name="B1">
<input type="button" onclick=enter value="אנטר" name="B2"></p>
</form>
</body>
</html>
https://2006-uploaded.fresh.co.il/2006/10/08/93726126.htm
|