QuickBaseCoachD
11 years agoQrew Captain
Javascript refresh and position to a spot on the form
This works wonderfully. But is there an easy way to get it to also position to a spot on the form when it refreshes? Say to an anchor tag placed on the form like this?
"<a name=DealerClaim></a>"
var text NewStatus= If([Backorder Status]="Filled", "On Backorder", "Filled");
var text URL = URLRoot() & "db/" & [_DBID_BACKORDER_LINES] & "?act=API_EditRecord"
& "&rid=" & ToText([Record ID#])
& "&_fid_6=" & $NewStatus;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"