while with "javascript: void(0)" the only browser out is chrome http://jsfiddle.net/MhsYp/4/
2011/6/8 Vito Tafuni <[email protected]> > hi Arian > thanks for the link... i'll try > > but in the meanwhile i've found that using # like src solve the problem in > firefox > http://jsfiddle.net/MhsYp/3/ > > but it's still there in chrome and ie > > > 2011/6/8 Arian Stolwijk <[email protected]> > >> Not that I know, maybe you should've a look at >> https://github.com/arian/iFrameFormRequest/blob/master/Source/iFrameFormRequest.js >> which >> solves the problem by a *loading* variable so the stuff in your load >> event is only called when it is supposed to. >> >> On Wed, Jun 8, 2011 at 12:27 PM, vitotafuni <[email protected]> wrote: >> >>> hi to all >>> >>> http://jsfiddle.net/MhsYp/1/ >>> >>> is there a way to avoid the load event of the injected iframe to be fired >>> on page load? I need it only on form submit! >>> >>> thanks >>> >> >> >
