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 Westi 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. NoviceJavaUser

    Time Related Hyperlinks

    AH!! Sorry... as an afterthought, i need different times of a weekend so for example Mon -Fri 0800 - 2100 Sat & Sun 1000 - 2000hrs Is this anymore difficult? Sorry, i really am quite new to Java script :-(
  2. NoviceJavaUser

    Time Related Hyperlinks

    That is perfect Chris, just tested it and it works fine, to the second!! Many thanks to you all for your time and comments :-)
  3. NoviceJavaUser

    Time Related Hyperlinks

    It has to be client side, and it is not a problem to use the Users PC's Time as it is a small business network that the web page will be located on, so not a problem with the system time being out.
  4. NoviceJavaUser

    Time Related Hyperlinks

    Hi, Hope this is a simple answer. Basically, i have 1 hyperlink, and dependant upon the time of day i want it to go to different pages, for example between 0800 and 2100 hyperlink goes to page A between 2101 and 0759 hyperlink goes to page B Any ideas???
  5. NoviceJavaUser

    Add a carrage return to a dropdown value.

    Excellent!! That works fine, however i need to change the variables back to the long sentences, and these are a mix of upper and lowercase and numerical characters, so i changed: if (addText.toLowerCase()=='no') window.alert ('YOU SHOULD ONLY SEE THIS IF YOU SELECT NO!'); to if...
  6. NoviceJavaUser

    Add a carrage return to a dropdown value.

    Ah i see i see i see!! Sorry! :-) I did say i was a novice!! OK, got the window.alert working, have changed the values to "yes" and "no" for now... but the alert is popping up whichever option i select... how do i tell it only to pop up on "NO"?? PS Many thanks for your quick responses, much...
  7. NoviceJavaUser

    Add a carrage return to a dropdown value.

    I think we may have our wires crossed here.... The putText function is fine, it writes what i want it to in the big text box on the other side of the screen and in the correct order. So you could say my form is fine. However, at the moment it has NO window.alert functions, and this is what i...
  8. NoviceJavaUser

    Add a carrage return to a dropdown value.

    Billy Ray, Not too sure why you are asking me to do that??? the problem is, i'm not sure how to get the window.alert to work if the user was to select "NO" for example. But if they where to selct "YES" then it would NOT show the alert. I've managed to do it with checkboxes, but these are not...
  9. NoviceJavaUser

    Add a carrage return to a dropdown value.

    Sorry about using "IE"! This is also the first time i have used a forum!! However, saying that, you seem to have solved the problem! I had already tried using \n in lots of other places, but didn't think of adding it as another variable, thank you very much for your quick response. :-) Have...
  10. NoviceJavaUser

    Add a carrage return to a dropdown value.

    Hello there, I am fairly new to Javascript, all i want to do is add a carrage return to a value, IE when a dropdown option is selected, it writes some text in a text box, but i cannot get it to automatically carrage return so that when the next text box is selected it starts on a new line...

Part and Inventory Search

Back
Top