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 strongm 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. xencade

    Error on Page

    Thank you, that worked perfectly!
  2. xencade

    Error on Page

    <HTML> <HEAD> <SCRIPT LANGUAGE=&quot;JavaScript&quot;> function getKeyCode() { var character = document.characterCode.character.value.substring(0,1); var code = document.characterCode.character.value.charCodeAt(0); var msg = &quot;The ASCII Decimal Key Code for the...
  3. xencade

    document.write form validation of Enter Key

    This js file is simply being referenced by a html file as a script src tag. The form at the bottom of this js file will load. The enter zip section is the section I need an enter key validated in addition to pressing the GO button. _________ var weatherstate; weatherstate='show'; function...
  4. xencade

    document.write form validation of Enter Key

    I need a script that is solely written as a .js file. It needs to use document.write statements. Could someone could provide me with a simple example that does the following: Any form name, as a button type. If the cursor is a active in the input field, the enter key needs to be checked and...
  5. xencade

    How to submit a form by usage of enter key

    Here is the entire .js file. It is being sourced from the main css. The GO function and button work fine, but hitting enter simply refreshes the page. I tried changing the form input type to button, but it doesn't work at all. ____________________________ var weatherstate...
  6. xencade

    How to submit a form by usage of enter key

    Here is the code... I've tried changing the form input to submit, but it only refreshes the page... ______________________________ document.write(&quot;</select></form></div>&quot;); document.write(&quot;<div align=\&quot;center\&quot;><form name=\&quot;zipsearch\&quot...
  7. xencade

    How to submit a form by usage of enter key

    Could someone give me an example of using the ENTER KEY if the cursor is active in a given form field? The form I created is in a .js file within a function. What the users want is to hit enter after they have entered the form data instead/in addition to the submit button. Thanks!
  8. xencade

    Can OnClick reference a .js file?

    Yeah, I agree. Would that be in my html form code to do that sort of checking? Thanks for your feedback, this forum is great. I am a native Wise/Winbatch programmer and am new to java and html still. With this type of feedback, I'll be up on my feet in no time..
  9. xencade

    Can OnClick reference a .js file?

    Xutopia - that portion worked great - Thank you for the feedback. I'm now faced with a dilemna like this: I want to use the form value that I define a variable within a function (to make it simple) and splice in the form inputed value into a url. For example, let's say the form asks for a...
  10. xencade

    Can OnClick reference a .js file?

    I have a form that I want to kick-off a .js file. I can get the form to kick-off a function withhin the .html, but I need it to be integrated into a &quot;already written&quot; .js file. Basically what I want this to do is give a user two options - 1. Either lookup weather by zip, in which...

Part and Inventory Search

Back
Top