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 Wanet Telecoms Ltd 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: *

  • Users: bryanfl100
  • Content: Threads
  • Order by date
  1. bryanfl100

    "Var" question

    Hopefully this is simple. For the following code: var Item = /157210/; The 157210 is an id from our database for a product. If I wanted the code above to have multiple id's such as 157210-157290 how could I modify that code to make this work? Thanks, Bryan
  2. bryanfl100

    Replacing characters in text field

    I have the current code for a text field that automatically replaces an "&" for "and" if someone types it in the field. Is there a way to add additional characters such as "@" for "at": The current code is: <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function replaceChars(entry) { out = "&"; //...
  3. bryanfl100

    Removing characters from function

    Below is part of the javascipt: <script> function look_$data[computer.id](s){ When the actual search is done from the website the function results looks like this: <script> function look_Dell|Optiplex(s){ How do remove the character "|" from the function results so it looks like this...
  4. bryanfl100

    Javascript to disable Retry message

    When I use the following script (automatic browser refresh) it pops up a message saying "Retry". Is there a way to disable this pop up box and resend the information automatically? <script language="JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if...
  5. bryanfl100

    Var question

    The script below is just a small section of the script but what I wanted was to know is how to make the /Dell/; also equal to other values such as /Dell|Optiplex/; and /Dell|Dimensions/; etc: <script> function look_$data[computer.id](s){ var regex = /Dell/; if (regex.test(s)) { var look = 1...
  6. bryanfl100

    Javascript stack erro

    Is there a way to stop the following javascript from giving a stack error? Also the onclick="bookNow('airlines.id%3D$data[airlines.id]') cannot change. <script> function bookNow(s) { if ( s.match('Delta') ) { bookNow(s); } else { alert('call us'); } } </script>...
  7. bryanfl100

    Onclick script question

    In the java code below is there a way that if someone clicks on the 'Order Now' link it pops up and alert saying "Please call us to order." if only the following happens: 1. The data in the hyperlink is not "Dell" The java code is: <A...

Part and Inventory Search

Back
Top