Forum Discussion
ClaytonRountree
8 years agoQrew Cadet
I'm interested in modifying the javascript above to include a location redirect in the script.
var text DisplayRecord=
URLRoot() & "db/" & [_DBID_TASKS_POC]
& "?a=td";
"javascript:" &
"$.get('" & $AddRecordOne & "').then(function(){" &
"$.get('" & $AddRecordTwo & "').then(function(){" &
"$.get('" & $AddRecordThree & "').then(function(){" &
"$.get('" & $AddRecordFour & "').then(function(){" &
"$.get('" & $AddRecordFive & "').then(function(){" &
"$.get('" & $AddRecordSix & "').then(function(){" &
"$.get('" & $AddRecordSeven & "').then(function(){" &
"$.get('" & $AddRecordEight & "').then(function(){" &
"$.get('" & $AddRecordNine & "').then(function(){" &
"$.get('" & $AddRecordTen & "').then(function(){" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"});"
& "void(0);"
Where do I insert $DisplayRecord? I've tried numerous different spots, can't get it to work. Thanks in advance!
var text DisplayRecord=
URLRoot() & "db/" & [_DBID_TASKS_POC]
& "?a=td";
"javascript:" &
"$.get('" & $AddRecordOne & "').then(function(){" &
"$.get('" & $AddRecordTwo & "').then(function(){" &
"$.get('" & $AddRecordThree & "').then(function(){" &
"$.get('" & $AddRecordFour & "').then(function(){" &
"$.get('" & $AddRecordFive & "').then(function(){" &
"$.get('" & $AddRecordSix & "').then(function(){" &
"$.get('" & $AddRecordSeven & "').then(function(){" &
"$.get('" & $AddRecordEight & "').then(function(){" &
"$.get('" & $AddRecordNine & "').then(function(){" &
"$.get('" & $AddRecordTen & "').then(function(){" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"})" &
"});"
& "void(0);"
Where do I insert $DisplayRecord? I've tried numerous different spots, can't get it to work. Thanks in advance!