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

Hi Jungs und Mädels,

im Webprogrammieren bin ich die Null 8)

Bin ja auch FiSi. ;)

Also ich will im Intranet die Sendungsverfolgung von GLs integrieren.

Dazu muss ich die URL:

http://www.gls-group.eu/276-I-PORTAL-WEB/content/GLS/DE03/DE/5004.htm?txtRefNo=<Paketnummer>&txtAction=71000

Aufrufen.

Ich brauche als

a) ein Feld wo ich die Paketnummer eingeben kann

B) nen Button der die obige URL in einem neuen Fenster aufruft. Klar <Paketnummer> muss durch die in dem Feld eingegebene Paketnummer ersetzt werden.

Danke schonmal für die Hilfe

Gruß

Enno

Das dürfte vll dem entsprechen was du suchst:


<script type="text/javascript">

	function button_onClick() {

		var pNr = document.getElementById("txt_pNr").value;

		var win = window.open("http://www.gls-group.eu/276-I-PORTAL-WEB/content/GLS/DE03/DE/5004.htm?txtRefNo=" + pNr + "&txtAction=71000");

	}

</script>


	<!--  Textfeld für die Packetnummer -->

	<input type="text" id="txt_pNr">

	<input type="button" onclick="javascript:button_onClick();" value="Öffnen"> 

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.