Javascript: Capturing form submission

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Re: Javascript: Capturing form submission

    Sure you can...

    window.parent.FRAME_NAME.document.FORM_NAME.BUTTON _NAME.onclick=functi
    on() { alert('Troyan'); }

    []s

    --
    - Rio de Janeiro, Brasil
    - Troyan <dnunes[at]email[dot]com>


    Troyan Guest

  2. Similar Questions and Discussions

    1. Submission Form?
      Hi, I am trying to create a submission form that, after hitting the "submit" button, is automatically sent to a specified e-mail address. I tried...
    2. Submission Form
      Hey, At www.HookWeb.net/feedback.htm I am creating a submission form that forwards the information the surfer enters in the form. But I can only...
    3. multiple form submission
      Can someone point me in the direction of a resource to learn how to submit multiple forms on a single page through a single submit button. The...
    4. Form submission fills form values with garbage
      Hey all, I'm attempting to do some form processing on a server that has register_globals off, however, I've run into a confusing situation and...
    5. The woes of a PHP form submission
      Good evening to the skilled Ladies and Gentlemen of the PHP world. I am fairly new to all of this but learning quickly. I have run in to a need...
  3. #2

    Default Re: Javascript: Capturing form submission

    Thanks for the reply Troyan.

    However that does not work since only the child page (form page) gets
    refreshed when the form is submitted. Thus that code in the parent page will
    not get called. I can add code to the child page to refresh the parent page
    but I need to capture it without changing or adding any code to the child page.

    marc_wilson Guest

  4. #3

    Default Re: Javascript: Capturing form submission

    You can use a similar code in the parent page... You'll need to know
    when the child page is loaded (something like constant checking the
    child page) and then add a onclick or on submit to the form.
    window.CHILD_PAGE.document.FORM_NAME.onsubmit=func tion() { ... };

    If you need more help, send me the url of the page. Then I can make
    a personalized code... and it will be almost inexpensive...

    (Ps.: Sorry for the errors, I'm brazilian)


    --
    - Rio de Janeiro, Brasil
    - Troyan <dnunes[at]email[dot]com>


    Troyan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139