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.

text oder grafik statt submit button

Empfohlene Antworten

hi,

wenn ich mich recht entsinne gab es doch ne möglichkeit ein formular auch mit nem text oder grafiklink anstelle von einem button abzuschicken, hab aber vergessen wie dass ging. wenn mir da jemeand auf die sprünge helfen könnte? wäre super...

cu TinTin

Original geschrieben von TinTin

wenn ich mich recht entsinne gab es doch ne möglichkeit ein formular auch mit nem text oder grafiklink anstelle von einem button abzuschicken, hab aber vergessen wie dass ging. wenn mir da jemeand auf die sprünge helfen könnte? wäre super...

Sers...

wenn ich dich recht verstehe willst du anstelle von dem grauen Submit-Button einen neuen anderen Button den du selber gemacht hast einfügen...

das sieht normal so aus...

<input type="submit" value="Abschicken">

wenn du ein Bild einfügen willst...

<input type="image" src="../lala.gif" value="Abschicken">

wenn nur der Text gezeigt werden soll...

musst du glaub ich nen href verwenden... weis ich jetzt auch nicht genau...

gReEtZ

dAn

Ja, dass geht... entweder wie's ristic sagte oder so:

<html>

<head>

<script type="text/javascript" language="JavaScript">

<!--

function submitIt(){

abb.submit();

}

-->

</script>

</head>

<body>

<form name="abb" method="POST" action=".">

(...)

<!-- Link Version -->

<a href="JavaScript:submitIt()"> Formular absenden </a>

<!-- Bild Version -->

<img src="muh.gif" onclick="JavaScript:submitIt()">

</form>

</body>

</html>

Die JS-Funktion sendet einfach das Submit für dieses Formular ab (wenn der Name stimmt) und nun kannst du die ja nach belieben aufrufen.

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.