function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gcohengcohen 

Custom Button that fires a URL but doesnt return URL's page results

Hi-

I have a custom button that passes an argument to a remote restful web service via an argument in the URL.  Its based on a "URL S-Control".

How do I make it so that it just fires the HTTP request when I press the button, but doesnt actually return / take me to the resulting page that URL points to?

I just want to hit the button, and behind the scenes, hit the remote URL with the argument.  Is there a way to just have the same page return, or no page change at all?

geremy