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!

Recent content by bizrat

  1. bizrat

    parsing URLs for base URL

    I thought that I was clear enough; but here goes. I have a database table called "urls". I have deposited several thousand urls. They begin with "http://". They have been copied from browsers to ms excel to access. All that I want to do is parse through each url, and find the base url, which...
  2. bizrat

    Simple form validation

    Sorry about the cut/paste errors. The replacement code did the trick.
  3. bizrat

    Simple form validation

    I know how to do form validation. I have many forms to validate. I am trying to write (borrow and change) a JS function that receives a string that is broken down and then verified. The string format is a1;a2|b1;b2|... a1 = name of field to validate a2 = Engligh words about field being...
  4. bizrat

    javascript menu systems

    Thanks again. I like this alternative. I hope it meets all of our needs.
  5. bizrat

    javascript menu systems

    Looks like a good place to start. Thanks.
  6. bizrat

    javascript menu systems

    This forum was such a great help on my last issue, I thought I would try it again. The current web systems I work with use many dropdown menus written in JS. They all seem to be from the same source Netscape and later Macromedia (mm_menu, fw_menu, menu). They have many dates - latest 2002/3...
  7. bizrat

    Issue with document.body.innerHTML not being set properly,

    Thanks to all! Vongrunt's code works well. I made a small revision to highlight the words individually. No big deal but here it is: function highlightSearchTerms( sText, sClass ) { oReg = new RegExp; sta = sText.split(" "); for (var i = 0; i < sta.length; i++) {...
  8. bizrat

    Issue with document.body.innerHTML not being set properly,

    The site is written in PHP but is mostly hardcoded. I have a search tool that finds the pages matching the criteria. When the page is displayed, I want to highlight the area on the page that match. I got the JS from the web. It works except it strips out the <script> field. The other JS is...
  9. bizrat

    Issue with document.body.innerHTML not being set properly,

    I tried your script and it works. I retried mine and it didn't. Could Javascript code be trashing memory? The other JS is a "borrowed" mm_menu system written in 2002. Could it be causing the problem? Any ideas would be greatly appreciated.
  10. bizrat

    Issue with document.body.innerHTML not being set properly,

    Is there a problem with setting document.body.innerHTML? My code does the following: var bodyText = document.body.innerHTML; document.body.innerHTML = ""; document.body.innerHTML = bodyText; At first innerHTML is set to "<A name=top><script...

Part and Inventory Search

Back
Top