Coverting old javascript to qb formula
I've got a formula that was created before javascript was banned from outside codepages. I need to convert the code below so that it will run. Any suggestions?
var text style = "style=\"text-decoration: none; border: 2px solid white; width:140px; padding: 12px 0; background: " & $bgcolor & "; text-align: center; color: " & $txtcolor & "; display: inline-block; font: normal 24px/1 \"Calibri\", sans-serif; text-shadow: none;";
"<div style=\" position:relative; width:960px; padding: 2px 0; height: auto; \">" &
"<a " & $style & " href=\"javascript:" & "$.get('" & [Add Blood Collection Kit] &
"', function(){" & "location.reload();" & "});" & "void(0);\">Blood Collection Kit</a>" &
"</div>"
It's the href that's giving the issue the problem is I don't understand how to recreate this functionality without javascript. I've read the 'Configure URL Fields' document and have been through the QB University but I'm still at a loss.
------------------------------
Scott
------------------------------