Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. marzke

    2 Submit buttons, "Enter" always uses first

    OK. Here's the code that represents what I ended up doing. The major problem is that when &quot;ENTER&quot; is pressed with a single text field, neither button is passed. So, I created a hidden field that I change the name of when ENTER is pressed. <html><head><title>Test...
  2. marzke

    Why can't I veiw my own source?

    This has happened to me, too. Eventually, (1) the computer gods make it work again for no apparent reason or (2) I use another browser to view the source.
  3. marzke

    2 Submit buttons, &quot;Enter&quot; always uses first

    Here's a workaround that I'm using when there are at least two fields in a form (no JavaScript required). I'm creating a table so that the second button actually appears first in the list. (Works in Opera 6 and Netscape 7, too). I still need a solution for forms with a single field (which, I...
  4. marzke

    viewing document after modifying using DOM

    Thanks a million! That's what I was looking for.
  5. marzke

    viewing document after modifying using DOM

    Yes, I'm using &quot;document.write(...);&quot; statements. However, these sections are executed conditionally, so (if they are writing the same text in two different places) I'm not sure (sometimes) exactly which statements were actually processed. However, when I &quot;view source&quot;, I...
  6. marzke

    2 Submit buttons, &quot;Enter&quot; always uses first

    I'm not sure what you mean by &quot;evaluate the buttons&quot;. I modified my HTML so that the following is my onSubmit script, and I get alerts for both &quot;values&quot; whether I press ENTER, Cancel, or Submit. What should I be checking for? I checked all the properties of INPUT/type=submit...
  7. marzke

    viewing document after modifying using DOM

    I have this same question, but no one posted an answer... Does someone have an answer?
  8. marzke

    2 Submit buttons, &quot;Enter&quot; always uses first

    I checked this forum for possible solutions, but none seem to work. I have a text field and two submit buttons. The left button is &quot;Cancel&quot; and the right is &quot;Submit&quot;. The default behavior is that the left button is selected when &quot;Enter&quot; is pressed. I'm trying to...

Part and Inventory Search

Back
Top