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 TouchToneTommy 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. Davidwe

    Javascript to control a DDL in D#

    The subject should be: Javascript to control a DDL in C#
  2. Davidwe

    Javascript to control a DDL in D#

    I would like to use JavaScript to have the current month selected in a dropdown list created in C#. The dropdown list has the twelve months as items. The name of the ddl is cmbMonth. It needs to show the current month when another dropdown list (cmbSearch) changes. Here is the C# code that...
  3. Davidwe

    JavaScript to Change Label Text in C#

    I case anyone is interested, here is the answer to my above question: <script language="JavaScript"> function SetSearchIndexChanged() if (window.document.Form1.MemberSearchControl1_ddListSearchFor.selectedIndex == 1) { window.document.Form1.MemberSearchControl1_txtSearch2.style.visibility =...
  4. Davidwe

    JavaScript to Change Label Text in C#

    Perhaps this is the wrong forum, but I'll try it anway. Can anyone tell what is wrong with the code below? The statement setting txtSearch2 to "hidden" works. The one below it changing the lblDefine text to "ID" does not work. I know that the problem is how I am going about referencing the...
  5. Davidwe

    JavaScript to Change Label Text in C#

    The missing quotes were probably from carelessly copying & pasting. I believe text should be lower case. I'm posting my question in several forums. My problem seems to be getting the JavaScript to access a label created in C#. That is why I'm posting here. I did get the code to work using...
  6. Davidwe

    JavaScript to Change Label Text in C#

    I am unable to clear or change text for a label created in C# using JavaScript. I am able to hide a text box and a drop down list. Here is the function (placed in the head). The statement for the textbox works fine. The one for the label does not. <script language="JavaScript> function Test() {...

Part and Inventory Search

Back
Top