I don't think xpcshell defines an alert() so you'd have to be running under the mozilla browser for this to work. I think xpcshell has a print() function though. Yamini Sharma wrote: > Hi, > > I have written an xpcom component in javascript on the same lines as > nsSample.js. I wish to show an alert box from one of the > functions of this component. Can i invoke other javascript functions as > 'alert' from within a javascript component function ?
- javascript component Yamini Sharma
- Re: javascript component Rick Parrish
- Re: javascript component John Bandhauer
- Re: javascript component Yamini Sharma
