Why not put your jQuery plugin on the jQuery plugin's page? Seems only natural ;)
On Wed, Mar 3, 2010 at 8:13 AM, Randy Fay <[email protected]> wrote: > I'm interested, if you could solve this generically. It's annoyed me > forever - especially on the admin/settings/performance page where I was > always clearing the cache instead of saving my settings. > > This is browser-dependent behavior. Firefox behaves differently from > Chrome. I believe Chrome just won't act if there's more than one button. > Firefox takes the first. > > I'm definitely interested in a general solution. > > -Randy > > > On Wed, Mar 3, 2010 at 4:01 AM, Pierre Rineau. < > [email protected]> wrote: > >> Found my own solution, a jQuery based script that searchs for a specific >> class on form input elements and trick the browser by preprending a >> cloned version of the default submit button on top of the form. >> >> If works well, the page remains CSS/XHTML compliant, and is, I think, >> cross browser compatible. >> >> Do you people think it worth the shot commiting this really simple >> module on drupal.org cvs and create a new project ? >> >> The fact is I need it on many modules, which are not dependent by the >> way, so I need this to be in its own projet. >> >> Any people interested? >> >> -- >> Pierre Rineau >> Courriel -- Jabber/XMPP(/GTalk): [email protected] >> Tél: +33 (0)6 59 46 62 27 >> >> > > > -- > Randy Fay > Drupal Development, troubleshooting, and debugging > [email protected] > +1 970.462.7450 > >
