Likhitha Manyam

Greenhorn
+ Follow
since Apr 20, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Likhitha Manyam

function getstateList(){
var radioValue = document.PortinMspForm.portInType.value;
alert("radioValue:::"+radioValue);


document.PortinMspForm.action="mspportinmax.do?dispmethd=countrystatelist";



document.PortinMspForm.submit();

   
}




function showOrHide(val){
/*var ifno =document.getElementsByName("portInType");

for(var x=0;x<ifno.length;x++){
name = ifno[x].getAttribute("name");*/
//alert("val::::"+val);
if(val=='1'){
document.getElementById("ifno1").style.display='block';
document.getElementById("ifno2").style.display='none';



}
else{
document.getElementById("ifno1").style.display='none';
document.getElementById("ifno2").style.display='block';


}

}


<tr>

<td colspan="2" align="center" class="fieldLabel" width="100%" >


<input type="radio" name="portInType" value="1" onclick="javascript:showOrHide(1)" checked="checked"/>
<bean:message bundle='<%=session.getAttribute("pageBundle").toString()%>' key="label.External"/>
<input type="radio" name="portInType" value="2" onclick="javascript:showOrHide(2);"/>
<bean:message bundle='<%=session.getAttribute("pageBundle").toString()%>' key="label.Internal"/>

</td>
</tr>

<tr >
               <td width="24%" align="<%= session.getAttribute("pageRight")%>" class="fieldLabel"  valign="middle"><bean:message bundle='<%=session.getAttribute("pageBundle").toString()%>' key="label.portin.country" />: </td>
               <td width="26%" valign="middle">
             
               <nested:present name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.countryList">
  <html:select tabindex="7" size="1" property="country" styleClass="field"  onchange= "Javascript:getstateList();javascript:selectPortInType();">
<bean:define id="countrylist" name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.countryList" type="java.util.List" />
<html:options collection="countrylist" property="key" labelProperty="value" />
               </html:select>
   </nested:present>  
         
               </td>
              <td width="20%" align="<%= session.getAttribute("pageRight")%>" class="fieldLabel" valign="middle"><bean:message bundle='<%=session.getAttribute("pageBundle").toString()%>' key="label.portin.state" />: </td>
              <td width="30%" valign="middle" class="field">
               <html:select size="1" property="state" styleClass="field">
 <bean:define id="statelist" name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.stateList" type="java.util.List" />
 <html:options collection="statelist" property="key" labelProperty="value" />
     </html:select>
              </td>
           </tr>

<tr>
    <td>
    <table  class="searchBox" width="100%" border="0" cellspacing="0" cellpadding="0" align="center">  
    <nested:present name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails">
    <nested:notEmpty name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails">
    <!-- <tr>
    <td colspan="4" > </td>
    </tr> -->
    <tr id=ifno1  style= "display: block;"name="ifno">
               <td width="25%" align="<%= session.getAttribute("pageRight")%>" class="fieldLabel" valign="middle"><bean:message bundle='<%=session.getAttribute("pageBundle").toString()%>' key="label.portin.currentServeProvider" />: </td>
               <td width="77%" valign="middle">
                <html:select size="1" property="serviceProvider" styleClass="field">
  <nested:present name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails">
<bean:define id="serviceProviderDetails" name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails" type="java.util.HashMap" />
<html:options collection="serviceProviderDetails" property="key" labelProperty="value" />
</nested:present>
</html:select>                                
               </td>
             
     
             </tr></nested:notEmpty></nested:present>
   
   
   
    <nested:present name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails1">
    <nested:notEmpty name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails1">
   
           <tr id=ifno2 style="display: none;" name="ifnos">
               <td width="25%" align="<%= session.getAttribute("pageRight")%>" class="fieldLabel" valign="middle"><bean:message bundle='<%=session.getAttribute("pageBundle").toString()%>' key="label.portin.currentServeProvider" />: </td>
               <td width="77%" valign="middle">
                <html:select size="1" property="serviceProvider" styleClass="field">
  <nested:present name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails1">
<bean:define id="serviceProviderDetails1" name="VoyagerSession" property="accountSummaryInfo.mspSummaryInfo.portinMobileInfo.serviceProvidersDetails1" type="java.util.HashMap" />
<html:options collection="serviceProviderDetails1" property="key" labelProperty="value" />
</nested:present>
</html:select>                                
               </td>
             
     
             </tr></nested:notEmpty></nested:present>


1 month ago
JSP