Explizites Umwandeln der Arrayähnlichen listen in Arrays
This commit is contained in:
@@ -145,17 +145,18 @@
|
||||
<!-- Popper.JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
function TableRowClick(listtemp, Kennzeichen, Nat) {
|
||||
debugger
|
||||
function TableRowClick(listtemp, Kennzeichen, Nat) {
|
||||
let Speditionslabel = document.getElementById("<%=lbl_sped_Placeholder.ClientID%>")
|
||||
let natplaceholder = document.getElementById("<%=lbl_Placeholder.ClientID%>")
|
||||
|
||||
Speditionslabel.textContent = Kennzeichen
|
||||
natplaceholder.textContent = Nat
|
||||
const arr2 = list.split(",",4);
|
||||
const arr2 = Array.from(listtemp.split(",",4));
|
||||
for (let i = 0; i < arr2.length; i++) {
|
||||
//alert(arr2.length)
|
||||
const Arr = Array.from(listtemp(i).split(";"));
|
||||
debugger
|
||||
alert(Arr)
|
||||
for (let arrint = 0; arrint < Arr.length; arrint++) {
|
||||
let SDLNr = Arr[0]
|
||||
let Bez = Arr[1]
|
||||
@@ -200,15 +201,15 @@
|
||||
newCell2.innerHTML = par3
|
||||
newCell3.innerHTML = par4
|
||||
}
|
||||
function TableRowClick_M(list, Kennzeichen, Nat) {
|
||||
function TableRowClick_M(listtemp_M, Kennzeichen, Nat) {
|
||||
let Speditionslabel = document.getElementById("<%=lbl_sped_Placeholder_M.ClientID%>")
|
||||
let natplaceholder = document.getElementById("<%=lbl_Placeholder_M.ClientID%>")
|
||||
|
||||
Speditionslabel.textContent = Kennzeichen
|
||||
natplaceholder.textContent = Nat
|
||||
const arr2 = list.split(",", 4);
|
||||
const arr2 = Array.from(listtemp_M.split(",", 4));
|
||||
for (let i = 0; i < arr2.length; i++) {
|
||||
const Arr = Array.from(list(i).split(";"));
|
||||
const Arr = Array.from(listtemp_M(i).split(";"));
|
||||
for (let arrint = 0; arrint < Arr.length; arrint++) {
|
||||
let SDLNr = Arr[0];
|
||||
let Bez = Arr[1];
|
||||
|
||||
Reference in New Issue
Block a user