Sorry, that's how it works. JScript doesn't understand the "::" part on it's own. Since you don't like that answer, why not use the standard, perhaps more elegant, solution?
Greg Collins [InfoPath MVP]
Please visit: http://www.yqcomputer.com/
You *have* to be joking :) Cool? Ugly, more like. Can I do the assignment
somehow not at the definition? Something more like:
var myBtnA = btnA::OnClick;
I feel I could live with that better... But perhaps not, since I couldn't
get to call the function that way in the first place...