Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

kann mir mal jemand verraten, warum bei folgendem Code der value nicht gesetzt wird.


<form action="input_file.htm" enctype="multipart/form-data">
<p>
Wählen Sie eine Textdatei (txt, html usw.) von Ihrem Rechner aus:<br>
<input name="Datei" type="file" value="C:\autoexec.bat" size="50" maxlength="100000">
</p>
</form>
[/code]

Danke.

Frank

Hier ist die Erklärung von SelfHTML dazu:

Das Attribut value= in Verbindung mit <input type="file">, mit dem das Vorbelegen der Dateiauswahl möglich wäre, wird von moderneren Browsern aus Sicherheitsgründen nicht mehr unterstützt.

  • Autor

Aha. Mist.

Dann muss ich mir was anderes überlegen. Ich hatte nur in der Offline SelfHTML Version geschaut da steht nämlich

Mit dem Attribut value= in Verbindung mit <input type="file"> können Sie das Feld mit einem Wert vorbelegen, z.B. value="C:\autoexec.bat".

Trotzdem Danke.

Frank

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.