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. jagprg

    validate struts dropdown list

    Hi, I have a Struts custom tag (a drop down list) about 5 items in the list with the first just being blank. I want to validate this using javascript but I dont know how to read/get its value in javascript. any ideas ? <TCS:doctypes noneallowed="true" /> the above is the tag with...
  2. jagprg

    5 checkboxes only one should be checked..

    ya I know but, business requirement I think at a later stage they say that they might allow user to select more than one check box... So instead of changing a lot this seems to be a good idea.
  3. jagprg

    5 checkboxes only one should be checked..

    Hi, I have five checkboxes out of which only one should be checked. I did the following and it works but very lengthy and redundant. if (tornado.checked == true) { traffic.checked = false; cable.checked = false; holiday.checked = false; outdoor.checked =...
  4. jagprg

    checkbox check using javascript..

    Hi Tracy, I tried that but, the check box disappeared next to the text(I could see only the text but not checkbox). So, I decided to use javascript.
  5. jagprg

    checkbox check using javascript..

    hi, I am using <html:checkbox....tag for my checkbox, I get the value of it true or false from a Object dynamically..shown below <html:checkbox property="trafficSignals" disabled="false" value='<%= home.getTrafficSignals() ? "true" : "false" %>'/>&nbsp;&nbsp;Traffic Signals<br/> I am able...
  6. jagprg

    populate textbox onload

    Thanks Jeff, It did work, now what would I need to pass so as to include the script in an external file .js file thanks
  7. jagprg

    populate textbox onload

    Hi Jeff, thanks for the reply, I get this error this.form.inputSIC is null or not an object. is there anything that I should do?
  8. jagprg

    populate textbox onload

    Hi, I have text box in a form which I want populate when the form loads. I am using <html:text> tags for text boxes, I tried the following but dosent seem to work. any ideas thanks in advance. <script language="JavaScript"> setCode() { if(this.form.inputSIC.value == "")...
  9. jagprg

    jsp checkbox

    Tried that, got the following error jsp/include/worksheet.jsp(19): for tag 'checkbox' handler type 'org.apache.struts.taglib.html.CheckboxTag' has no property 'checked'
  10. jagprg

    jsp/checkbox problem

    HI, I have a jsp page with 2-3 check boxes, I get the object from the database which returns a boolean, How do I use that to set the checkbox <html:checkbox property="Supplies" value='<%= obj.getUnmeteredTO().getSupplies() ? "true" : "false" %>'/> -- Supplies<br/> I am able to set the...
  11. jagprg

    jsp checkbox

    HI, I have a jsp page with 2-3 check boxes, I get the object from the database which returns a boolean, How do I use that to set the checkbox <html:checkbox property="Supplies" value='<%= obj.getUnmeteredTO().getSupplies() ? "true" : "false" %>'/> -- Supplies<br/> I am able to set the...

Part and Inventory Search

Back
Top