I am new at coding.
Below is a function of a JS acrobat.
try {
app.alert\("error"\)
} catch \(e\) {
app.alert\(e.message\);
}
app.alert does a pop up!My questions:
How can I insert a URL instead of the alert pop up?
Let's just say I want www.google.com to be visited instead of the pop up!
( e.g, the function does a error pop-up! Now I want to redirect a site in the same browser window. )