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.

HTML-Formular - was ist hier falsch?

Empfohlene Antworten

Veröffentlicht

Hallo liebe Leute,

<form name="triggerPDF" action="/servlets/annabane" method="post">

	<table border="0" width="100%">

		<colgroup>

			<col width="33%"/>

			<col width="33%"/>

			<col width="33%"/>

		</colgroup>

		<tr>

			<th align="left">

				<input type="button" value="Save PDF" name="trigger">

			</th>

			<th align="center">

				<input type="button" value="Print" onclick="window.print();" name="trigger">

			</th>

			<th align="right">

				<input type="button" value="Send PDF (e-mail)" name="trigger">

			</th>

		</tr>

	</table>

</form>

Bei Betätigung eines Buttons soll das Servlet annabane aufgerufen werden.

Wieso funktioniert das nicht?

zum abschicken eines formulars ist der Typ des knopfes nicht type="button" sondern type="submit"

ja, das kenne ich ^^

ich vergess beim form tag meistens den actionwert einzutragen und wunder mich dumm und dämlich wiesos net geht :D

Bei dem PrintButton würd ich den Typ auf "button" stehen lassen, sonst läd der da die seite neu...

Gruß,

Markus

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.