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...
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.
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 =...
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" %>'/> Traffic Signals<br/>
I am able...
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 == "")...
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'
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.