Jump to content
php.lv forumi

javascript confirm


ezis

Recommended Posts

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)

Link to comment
Share on other sites

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 by ezis
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...