Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
saumyashah90
Valued Contributor

Alert Box in JScript

i want to get a pop up on a click using a JScript Macro

i used

Function myFunction() {

alert("i am an alert!")

}

but this doesnt work, it says "object expected" near alert

and i observed that it doesnt take alert as a key word. Can any please help me on this. if not htis method some other but only i JScript

Tags (1)
2 Replies
Not applicable

Re: Alert Box in JScript

Hello,

The below should work.

Function myFunction()

{

var myMsgBox=new ActiveXObject("wscript.shell");

myMsgBox.Popup ("i am an alert!");

}

bestofwest
Contributor II

Re: Alert Box in JScript

don't work

Community Browser