Hi.
How do you call an agent from a button using JavaScript? This button is on a webform.
I have tried various examples posted in this forum, but none seem to work.
TIA
F1H
Hi.
How do you call an agent from a button using JavaScript? This button is on a webform.
I have tried various examples posted in this forum, but none seem to work.
TIA
F1H
Subject: Call an agent using JavaScript
Pls try this.
Subject: RE: Call an agent using JavaScript
So Now I have :
NRevision = confirm(“Create New Revision?”);
if (NRevision) {
http://svr.domain.co.uk/Folder/Folder/DB.nsf/(SetNextRevision)?OpenAgent
}
Is this correct??
Thanks.
F1H
Subject: RE: Call an agent using JavaScript
No.
You should have this :
NRevision = confirm(“Create New Revision?”);
if (NRevision) {
location.href= http://svr.domain.co.uk/Folder/Folder/DB.nsf/(SetNextRevision)?OpenAgent
}
Subject: RE: Call an agent using JavaScript
Thanks very much, I now have :
NRevision = confirm(“Create New Revision?”);
if (NRevision) {
location.href= “http://srv.domain.co.uk/Folder/Folder/InteMatx.nsf/(SetNextRevision)?OpenAgent”
}
I had to put the “” “” round the http://…etc as it was coming up as an invalid label - is this still ok?
Thanks.
F1H