JackPustinger
4 years agoQrew Member
Replacement for Javascript Buttons (location.reload)
Hello, with the announcement of Quickbase discontinuing support of Javascript outside of code pages, I have been going through my application and trying to get rid of Javascript wherever it is used. Nearly all of the buttons I use involve Javascript in the following manner:
"<a class='Vibrant Snow' style=\"width:150px; text-align: center;\" href=javascript:$.get('" & $apiEditRecordLinkHere & "',function(){location.reload();});void(0);>Button Text</a>".
This does API_EditRecord or any other api call you make the variable and then reloads to the original page. Does anyone know how to replicate this functionality without the use of Javascript?
------------------------------
Jack Pustinger
------------------------------
"<a class='Vibrant Snow' style=\"width:150px; text-align: center;\" href=javascript:$.get('" & $apiEditRecordLinkHere & "',function(){location.reload();});void(0);>Button Text</a>".
This does API_EditRecord or any other api call you make the variable and then reloads to the original page. Does anyone know how to replicate this functionality without the use of Javascript?
------------------------------
Jack Pustinger
------------------------------