עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

שליחת נתונים אל דף ASP שהוא דף אב מדף ASP שהוא בן...

Featured Replies

פורסם

ברצוני לשלוח נתונים מסויימים מחלון קטן שנפתח בעזרת חלון אחר לתיבת טקסט שנמצאת בחלון ה"אב"

לדוג': יש לי חלון א', פתחתי דרכו את חלון ב' ובחלון ב' לחצתי על קישור, הקישור יסגור את חלון ב', וירשום בתיבת הטקסט של חלון א' מלל מסויים.

איך?

תודה.

פורסם

זה צריך לעבוד:

window.opener.document.getElementById("objName").value = 'bla';
window.close();

פורסם

אני מכיר צורה מעט יתר שונה

בדף הבסיס יהיה לך משהו כזה ושים לב שבפרמטר השני אתה יכול להעביר ארגומנטים אל הדיאלוג


function Button1_onclick()
{
result = window.showModalDialog("p2.htm","111");
alert("result " + result);
}

בדף הדיאלוג יהיה לך משהו כזה


function window_onload()
{
Div1.innerHTML = window.dialogArguments;
}

function Button1_onclick()
{
window.returnValue = "222";
window.close ();
}

את הארגומנט ששלחת בדף הבסיס את יכול למשוך בדף הדיאלוג דרך המאפיין dialogArguments

דף הדיאלוג יכול גם להחזיר ערך לדף הבסיס באמצעות המאפיין returnValue

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.