andrisp Posted June 22, 2005 Report Share Posted June 22, 2005 man ir submit poga, kuru nospiežot, vajadzētu, lai tiktu palaista javascript funkcija, kas savukārt palaistu popup logu. kā lai uztaisa, lai vērtos vaļā tikai popup logs, bet lai fonā neatvērtos tā lapa, kas norādīta pie action ? Link to comment Share on other sites More sharing options...
Venom Posted June 22, 2005 Report Share Posted June 22, 2005 osubmit="return popup_func()" iekš pupup_func() { return false ja popups tiek atvērts un return true ja netiek } Link to comment Share on other sites More sharing options...
andrisp Posted June 22, 2005 Author Report Share Posted June 22, 2005 nostraadaaja, paldies :) Link to comment Share on other sites More sharing options...
Delfins Posted June 22, 2005 Report Share Posted June 22, 2005 kāpēc jāliek submit poga formā, ja tā nepilda SUBMIT funkciju ? izmanto <input type="button" /> Link to comment Share on other sites More sharing options...
v3rb0 Posted June 22, 2005 Report Share Posted June 22, 2005 (edited) ja formā nav submit tipa poga, opera nesubmitē formu ar enter iekš input type="text". IE un FF izskatās ka submito arī bez submit tipa pogas. Edited June 22, 2005 by v3rb0 Link to comment Share on other sites More sharing options...
Recommended Posts