One Response

  1. Or:

    pseudocode:
    confirmDelete(this);

    in confirmDelete:
    if are you sure
    go to this.href + ‘?delete=1′ (or &delete=1 if there already is ? in the url)

    if users don’t have js they will instead see a confirmation page (because there is no ?delete=1 in the orig url)

Leave a Reply