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 Chriss Miller 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. TheMuffin

    Reusable Functions

    Ultimater at webdeveloper.com showed this to be better for x-browser compatibility: function updateForm(doit,total) { document.getElementById(total).firstChild.data = doit.value; } TheMuffin!
  2. TheMuffin

    Reusable Functions

    Found the solution thanks to rwedge at codingforums.com: <html> <head> <script type="text/javascript"> function updateForm(doit,total) { document.getElementById(total).innerText = doit.value; } </script> </head> <body> <table> <form name="myForm" id="myForm"> <tr><td name="48"> <select...
  3. TheMuffin

    Reusable Functions

    Hi! How can a function be written so that it is reusable within the same form? eg, if I wish to place another select menu and result in the following code (eg.mySelect2, mySpan2) so that whichever select menu is chosen displays its own result: <html> <head> <script type="text/javascript">...

Part and Inventory Search

Back
Top