Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting a record mixing ASP and JavaScript
Message
De
04/03/2003 15:37:18
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Deleting a record mixing ASP and JavaScript
Divers
Thread ID:
00761166
Message ID:
00761166
Vues:
64
Hello, i'm trying to delete a record but the problem is in my syntaxis this is my code:
<script language="JavaScript">
  function eliminar(){
    sw=0;
    for(var i=0; i<document.form1.radiobutton.length; i++){
       if (document.form1.radiobutton.checked){
        <%sqlborra='delete from RegistroPersonas where email='&document.form1.radiobutton.value
         set rsborra=conn.execute (sql)  ;
         alert("Record erased");
       sw=1;
                                           }
                                                           }
       if (sw==0){alert('Por favor seleccione un item a eliminar');}
                    }
</script>
do i have something wrong, how can i solve it?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform