Have a web page with a form that selects a file name. Upon submit to a new target window the process retrieves a PDF file. The PDf file opens up in a new tab labeled “Document1 - ViewSpec” where ViewSpec is the name of the NodeJS input.
The PDF name is chosen using a Select List. I would like to name the browser tab the same as the PDF name if possible. I would also like to add/pass dynamic (based on the selected item) parameters to NodeJS.
i.e. action="/ViewSpec?spec=1234567890&typ=31&stat=9"
I can pass static parameter, but can’t get it to set with a client-side script. Because this selection form is interactive on the client-side without returning to the server (due to the low bandwidth area), this has to be done on the client side.
Both items are to ensure that the operators are looking at the correct PDF when they have multiple spec files open.