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 Leute,

ich habe folgendes Problem. Ich habe folgende jsp seite:

<html>

<head>

<script type="text/javascript" language="javascript" src="TestJavascript.js"</script>

<SCRIPT type="text/javascript" >

var csprache="";

csprache="<%=customer.getLagertyp().trim()%>";

var var_artikel_von="";

var_artikel_von="";

var letzte_sortierung = ""

var ExcelTitle="";

var ExcelSheetTitle="";

ExcelTitle="Outbound";

ExcelSheetTitle="Outbound";

</SCRIPT>

</head>

<body style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(images/mirrorAxis_up_lines.gif); POSITION: relative; margin-top:0;margin-left:0; BACKGROUND-COLOR: #fff">

<div id='wrapper' style="position:relative; top: 5px">

<div id='searchWrapper' name="searchWrapper"></div>

<div id='gridWrapperWA' name="gridWrapperWA"></div>

</div>

<form id="excelform" name="excelform" target='excel' method="post" action="excel.jsp"><input id="sdata" name="sdata" type="hidden" value=""/>

<input type="button" onclick="blub()" value="go" />

</body>

</html>

Nun möchte ich mit dem Button "Button" die funktion "blub()" aus der ausgelaberten JS-Datei "TestJavascript,js" aufrufen. Geht aber nicht...Fehlermeldung: Objekt erwartet

Die funktion ist testweise ein normales "alert('test');"

Die die restlichen Funktionen, die beim laden aufgerufen werden, funktionieren. Nur der Butto nicht!

Wieso?

Vielen Dank !

Gruß

MaxHitman

An sich schon...hab nur paar sachen rauskopiert, die unwichtig sind.... welche spitze klammer meinst du?

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.