Question
Calling a function from onClick
I have a scriptUI palette I'm working on. Making progress but now my button won't run the function. Is this correct?
myPanel.grp.groupOne.groupTwo.createSnipesButton.onClick = function() {
alert("trying to run the function");
createSnipes();
}then my function should run when that button is clicked. I have this dialog stuff happening in a function and the createSnipes() function is outside this. Does something need to happen differently? Maybe it can't reach outside itself?

I collapsed all the functions so you can see the top level structure.
