From: Mike B. <mb...@Ga...> - 2005-03-11 12:12:39
|
I'm just about to head out the door so I'm only going to answer part of this. Hopefully someone else can just in with more. nikola wrote: >== CALLING JAVASCRIPT == >GargoyleWrapper15() >======= EXCEPTION END ======== > > any ideas are welcome ...it's strange that sometimes >I get GargoyleWrapper18(), sometimes >GargoyleWrapper15(), sometimes GargoyleWrapper13() >and sometimes works just fine :) > > When you specify javascript in an event handler like onclick="alert('foo');", we have to convert that snippet of code into a javascript function before we can call it. The function that we wrap around this code is called GargoyleWrapper plus some incrementing number. So, the fact that you're seeing an exception in a GargoyleWrapper function means that the original code was specified in an event handler like onload, onclick, onblur etc. -- Mike Bowler President, Gargoyle Software Inc. Website: http://www.GargoyleSoftware.com Weblog : http://www.SphericalImprovement.com/blogs/mbowler/ |