Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
saumyashah90
Specialist
Specialist

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

2 Replies
Not applicable

Hello,

The below should work.

Function myFunction()

{

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

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

}

Anonymous
Not applicable

don't work