עבור לתוכן
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.

מישהו זוכר איך אני מדפיס משתנה של javascript בתוך קוד html ?

Featured Replies

פורסם

שאלה קצת מפדחת אבל אני לא זוכר :smile1:

פורסם

document.write(variable);

פורסם
  • מחבר

א. תודה על היחס

ב. אבל נניח שאתה בתוך HTML רוצה להדפיס את המשתנה הזה.

אני יודע שיש דרך קיצור מבלי לפתוח תג של סקריפט, אלה בדרך יותר קצרה ??

פורסם

אתה רוצה להשתמש ב JAVASCRIPT בלי לרשום את ה TAG שלה ? בספק רב, אבל בהצלחה (גם אם יש איזה משהו דבילי, זה בטח מפר את התקנים ולא עובד בכל הדפדפנים). או שלא הבנתי מה אתה רוצה (ואתה מדבר על משהו של איזה EVENT)

פורסם
  • מחבר

לא נשמה.... זה תקני לחלוטין , אבל קיבינימט שכחתי איך עושים את זה....

זה אמור להיות משהו כזה

javascript:"javascript command"

פורסם

ה- javascript משמש באירועי onload onmove onclick וכו'.

ארכיון

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

דיונים חדשים

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.