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.

Auswahlfeld mit asp auswerten

Empfohlene Antworten

Veröffentlicht

hallo,

ich habe ein Auswahlfeld mit 2 Einträgen. Ich möchte, dass beim Auswählen eines Eintrags die entsprechende asp Seite zu diesem Eintrag kommt auf der selben Seite, wo der Auswahlfeld liegt. Auswahlfeld oben und Seite des ausgewählten Eintrags unten. Weiß jemand, wie man das macht in asp, wie wertet man diese Einträge wenn es um ein Auswahlfeld geht?

Für diejenigen die meinen Eintrag nicht verstanden haben hier nochmal:

ich habe ein Auswahlfeld mit 2 Einträgen, die Einträge sind Tabelle1 und Tabelle2. Das Auswahlfeld ist in der Seite "test.asp", Tabelle1 ist in der Seite "Seite1.asp" beinhaltet und Tabelle2 in der Seite "Seite2.asp" (es sind Tabellen von einer Datenbank die mit allen ihren Datensätzen angezeigt werden).

Wenn ich z.B. Tabelle1 auswähle und auf den Button klicke, muß der Inhalt der Seite1 unten von dem Auswahlfeld angezeigt werden. Weisst jemand wie man das macht?

dein code?

hast du ein form aussenherum?


<?php

if ( !isset($_POST)) {
?>
<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post">
<select name="table">
<option value="Seite1">Tabelle 1</option>
<option value="Seite2">Tabelle 2</option>
</select>
<input type="submit" value="Anzeigen"/>
</form>
<?
} else {
include( $_POST['table']);
}
?>
[/PHP]

so würde das in PHP aussehen.

Wie du formulare in ASP verarbeitest musste jemand zu fragen der sich damit auskennt..

grundsätzlich wertest du mit

request.form

bzw.

request.querystring aus

je nachdem ob post(1) oder get(1)

hier mal basics:

http://www.jakober.ch/asp/asp_form.php

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.