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 gkittelson 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. ctenicki

    onClick event handler in C# from a DataGrid

    Hello, I'm returning values from a (sql server)stored proc into a dataGrid in C#. The retuned values i have turned into clickable buttons for users to select. I'm trying to figure out how to get these buttons from the dataGrid to baiscally run the stored proc again to return new set of data...
  2. ctenicki

    chagne bg color of text field that requires a value

    i was wondering how i might change the color of a select box or text field that are required fields after a submit has run a valitdator script and found that there still exists some null values. so basically it would color the fields that the users still needs to enter a value in after a submit...
  3. ctenicki

    pop-up with no "X" (close) button

    Is it possible to pormpt a user with an alert box after they click submit where the pop-up alert box does not have a "X" (close window) button on it? thus permitting the user to only select the "OK" button on the alert box.
  4. ctenicki

    loop through every select box based on a constant class attribute

    i came up with this code that will validate a select box based on a class attribute. however, i need to cycle or loop through all select boxes no matter how many are generated (based on the class attribute). the following code only validates the first select box. any help would be greatly...
  5. ctenicki

    validate that all select boxes have a selcted value before submitting

    I'm trying to run a validator script from a submit that would check to make sure that all select boxes have a chosen value in them. The problem im having is that I cant just do a .......... if (form.reason.value == "item") { alert("You must select a reason")...
  6. ctenicki

    Validate script to check to make sure drop downs have been selected

    xutopia & tlhawkins, Sorry to bother you again regarding this, but is it possible that this might not work in IE 5.5. I am still able to submit without hitting the validator Thanks again this is what i have so far.... <HTML> <HEAD> <LINK TITLE=&quot;CompactStyle&quot...
  7. ctenicki

    Validate script to check to make sure drop downs have been selected

    in the above code, is the ('sel') just the value of a non-selected dropdown menu. So it would be replaced with ('Select an item') if within the SELECT box code the default option is.... <SELECT name=&quot;SelectBox1&quot;> <OPTION value=&quot;Select an item&quot;>Select an item</OPTION>
  8. ctenicki

    Validate script to check to make sure drop downs have been selected

    I appreciate all your help with this one. However, I implemented the javascript as listed above and my page will still submit without checking the values of the select boxes. The code.... <SCRIPT> <!-- hide script from old browsers function validate(form) { { for (var y = 0; y <...
  9. ctenicki

    Validate script to check to make sure drop downs have been selected

    I was wondering if its possible to run a validator script from an &quot;onclick&quot; action that would check to make sure that all drop down menus(or select boxes) have been selected. However, I need to do this check based on the SELECT attribute and not the name attribute since each name for...
  10. ctenicki

    how to get submit to handle multiple events

    I was wondering if its possible to have a submit button handle multiple events when clicked? So when clicked it would handle a ONCLICK=&quot;return validateUser&quot; and at the same time be able to handle an ONSUBMIT event to prompt the user with a message text box based on some conditional...

Part and Inventory Search

Back
Top