ezis Posted June 30, 2009 Report Share Posted June 30, 2009 hi. kā ar javascript palaist confirm boxi? vienkārši, kad atver failu, tad parādās. bez onload un onclick utml. funkcijas to var izpildīt? Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted June 30, 2009 Report Share Posted June 30, 2009 bez onload un onclick utml. funkcijas to var izpildīt? Nee nevar jo kautkam tachu tas conformBoxis ir japailaizj ... Principaa to var palaist Jebkurh notikums, bet nepieciesams vekt parbaudi ( to pashu OnLoad, Onclick utt... ), jo kaa gan savaadak zinasi ka saads notikums bijis?? faila atversanas gadijumaa tas ir OnLoad .. --- Un Kaadelj gan tas tev taa nepatiik ?? taa ir 1 rindinja koda ( pat ne rindinja, bet parsdesmit simboli, pie Body taaga) Quote Link to comment Share on other sites More sharing options...
v3rb0 Posted June 30, 2009 Report Share Posted June 30, 2009 varbūt pamēģini tāpat bez onload un onclick? Quote Link to comment Share on other sites More sharing options...
ezis Posted June 30, 2009 Author Report Share Posted June 30, 2009 (edited) es kkad nesen biju maņījis kā to dara.. tagad nevaru atrast! :\ izmēģināju nepareizu variantu <script type="text/javascript"> <!-- var answer = confirm ("vai dzēst šo komentāru?"); if (answer){ window.location="linkszz"; } //-> </script> strādāja bet, nobugoja lapu mazliet.. vnk izstiepa uz vienu pusi.. Edited June 30, 2009 by ezis Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.