Skip to content

Instantly share code, notes, and snippets.

@audiodude
Created June 26, 2015 16:41
Show Gist options
  • Select an option

  • Save audiodude/54213dd9831c96806888 to your computer and use it in GitHub Desktop.

Select an option

Save audiodude/54213dd9831c96806888 to your computer and use it in GitHub Desktop.
PACER site using onclick handler to send user to a different "ShowDoc" URL
<a HREF="https://ecf.ca9.uscourts.gov/docs1/009027142706" ONCLICK="return doDocPostURL('009027142706','269610');" title="Open Document">&nbsp;1&nbsp;</a>
<SCRIPT type='text/javascript'>
function doDocPostURL(dls, caseIdStr){
aWin = window.open("TransportRoom?servlet=ShowDoc&dls_id="+dls+"&caseId="+caseIdStr+"&dktType=dktPublic","_blank","location=no,resizable,toolbar,status,scrollbars",false);
return false;
}
</SCRIPT>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment