home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / CMCD0703.ISO / Software / Freeware / Programare / bugzero / jsp / script / attachment.js next >
Text File  |  2003-02-01  |  615b  |  34 lines

  1. <!-- Begin
  2. function do_attachment(theForm, formId) {
  3.    theForm.action.value="attachment";
  4.    theForm.submit();
  5.    theForm.action.value="save";
  6.    return true;
  7. }
  8.  
  9. function do_attach(theForm) {
  10.    theForm.action.value="attach";
  11.    theForm.submit();
  12.    return true;
  13. }
  14.  
  15. function do_remove(theForm) {
  16.    theForm.action.value="remove";
  17.    theForm.submit();
  18.    return true;
  19. }
  20.  
  21. function do_ok(theForm) {
  22.    theForm.action.value="ok";
  23.    theForm.submit();
  24.    return true;
  25. }
  26.  
  27. function do_cancel(theForm) {
  28.    theForm.action.value="cancel";
  29.    theForm.submit();
  30.    return true;
  31. }
  32.  
  33. // End -->
  34.