Advertisement

05.17.2005 at 03:42AM PDT, ID: 21426684
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

without checking any shipments user can't click another tab like Container details tab

Asked by chaituu in JavaScript

Tags: , ,

i am displaying some records in the view source code;

in our application we have Tab overs are there;

present one is booking info;without checking any shipments user can't click another tab like Container details tab ;

if user doesn't attach any shipments if he clicks Container details tab  then i want to fire below message;

when i click tab validateTabClick method will be called.

if any of the shipments user checks then user can allow to go to the  container details tab;






function validateTabClick(str)
{
      
      if(str=="Containers" && document.getElementById("bookingId").checked == false && "<%=hblMaster.hblFlag%>" == "MHBL")
      {
            alert("Shipments are not attached to the MHBL to enter container details");
            return false;
      }
      return true;
}



HTML>
     <HEAD>
 <head>
     <title>HBL Booking Info</title>
     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

<link rel="stylesheet" href="html/commonLOV.css">
<script src="html/eSupplyDateValidation.jsp"></script>
<script language="javascript" src="html/eSupply.js"></script>
<script language="javascript" src="html/common.js"></script>


</SCRIPT>



</head>

<body">
     <form method="post" action="FCRController" onSubmit='return validate()'>
     <div id="mainDiv" style="visibility:visible;position:absolute;">
     <table width='100%'>
     <tr><td>
        <table border=0 cellpadding=1 cellspacing=1 width="100%"  class=TABLE>
          <tr class='formlabel'>
               <td> Master HBL - FCR Search</font></td>
          </tr>
          </table>
     <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#b3b3d9">
          <tr>
            <td width="100%">
             
 







               <table width="100%" border="0" cellspacing="1" cellpadding="2">
                    <tr class='formdata'>
                         <td>User Id<br>
                              <input type="hidden" name="userId" value="ANIL"> ANIL
                         </td>
                         <td>Origin Station<br>
                              <input type="hidden" name="origin" value="BOM" >BOM
                         </td>
                         <td>Destination Station<br>
                              <input type="hidden" name="destination" value="MAA" >MAA<input type="hidden" name="sType" value="House" >
                         </td>

                         <td>Assembly Type<br>Buyer's Consolidation</td>

                         <td>Load Type<br>
                              <input type="hidden" name="cType" value="FCL" >FCL
                         </td>
                         <td>Created Date<br>
                              <input type="hidden" name="cDate" value="16MAY05" >16MAY05
                         </td>
                         <td>Shipment Number<br>
                             
                              <input type="hidden" name="sNumber" value="70105016" >70105016
                         </td>
                         <td>File Number<br>
                              <input type="hidden" name="fNumber" value="70105016" >70105016
                         </td>
                    </tr>
               </table>
            </td>
          </tr>
     </table>
     <table  class='formlabel' border="0" cellspacing="0" cellpadding="0" width=100%>
          <div id=includeDIV class=formdata>&nbsp;</div>
          <tr>
               <td class=formdata colspan="4">
                    <font color="red" size="2"><b>

                    </b></font>
               </td>
          </tr>
     </table>
          <table border=0 cellpadding=1 cellspacing=1 width="100%"  class=TABLE>
          <tr class=formheader>
          <td>FCR No</td>
          <td>Date</td>    
          <td>Origin</td>
          <td>Destination</td>
          <td>Pieces</td>
          <td>Weight</td>
          <td>Shipper Name</td>
          <td>Consignee Name</td>

          <td>Vessel</td>
          <td>Voyage</td>
          <td>Port Of Loading</td>
          <td>Port Of Discharge</td>

          <td>Shipment Mode</td>
          <td>&nbsp</td>
     </tr>
     <tr>
          <td><input type="text" searchField="true" class='text' maxlength="16" size="8" value="%" name="searchString" onBlur='makeUpperCase(this)' > </td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="8" value="" name="searchDate" onBlur='makeUpperCase(this)' ><input type="button" tabindex=34 class=input name="dateTimeLOV2" value=" ... " onClick="openCalendar('searchDate')" ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="originStn" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="destinationStn" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="peices" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="weight" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="10" value="" name="shipper" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="10" value="" name="consignee" onBlur='makeUpperCase(this)' ></td>

          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="vessel" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="voyage" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="5" value="" name="portOfLoading" onBlur='makeUpperCase(this)' ></td>
          <td><input type="text" searchField="true" class='text' maxlength="30" size="10" value="" name="portOfDischarge" onBlur='makeUpperCase(this)' ></td>

          <td>
               <select name="shipmentMode" searchField="true" size='1' class='select' >
<option value='20' selected>Select</option>
<option value='2'>Ocean</option>

     </select>
     </td>
     <td><input type="button" name = "searchBookingName" value="Search" searchField="true" onClick="searchBooking()" class="input" ></td>
     <input type="hidden" id="orderByFeild" value="1">
     <input type="hidden" id="isDescending" value="false">
     
<input type=hidden name=advancedSearch value=true>
<input type=hidden name=searchActivity value='null'>
<input type=hidden name=parentPage value='null'>
<input type=hidden name=terminalId value='BOM'>
<input type=hidden name=customerId value=''>
<input type=hidden name=terminalType value='null'>
<input type=hidden name=fromDate value='null'>
<input type=hidden name=toDate value='null'>
<input type=hidden name=consoleId value='null'>
<input type=hidden name=newSearch value='true'>

     </td>
     </tr>
     </table>
 
     <TABLE cellSpacing = 1 cellpadding = 0  width = "100%" id = lovTable bgcolor = white class = TABLE onclick="checkLoadType();">
          <tr CLASS=formheader>
               <td width=1%></td>
               <td width='10%' id="td1" style="cursor:hand;" onClick="sortData(1);"><u>F</u>CR No</td>
               <td width='10%' id="td2" style="cursor:hand;" onClick="sortData(2);">FCR Da<u>t</u>e </td>
               <td width='5%'  id="td3" style="cursor:hand;" onClick="sortData(3);"><u>O</u>rigin </td>
               <td width='5%'  id="td4" style="cursor:hand;" onClick="sortData(4);"><u>D</u>esti-<br>nation</td>
               <td width='5%'  id="td5" style="cursor:hand;" onClick="sortData(5);"><u>P</u>ieces</td>
               <td width='10%' id="td6" style="cursor:hand;" onClick="sortData(6);"><u>W</u>eight</td>
               <td width='25%' id="td7" style="cursor:hand;" onClick="sortData(7);"><u>S</u>hipper Name</td>
               <td width='25%' id="td8" style="cursor:hand;" onClick="sortData(8);"><u>C</u>onsignee Name</td>

               <td width='10%'>Vessel</td>
               <td width='10%'>Voyage</td>
               <td width='10%'>Port Of Loading</td>
               <td width='10%'>Port Of Discharge</td>

               <td width='10%' id="td9" style="cursor:hand;" onClick="sortData(9);">Shipment <u>M</u>ode</td>
     <td width='10%' id="td10" style="cursor:hand;" onClick="sortData(10);">L<u>oadType</td>
          <td width='11%' id="td11" style="cursor:hand;" onClick="sortData(11);"></td>
          </tr>
<tr id='tr0' class=formdata originalClassName=formdata style='font-size:8pt;'>
<td width='1%' id="refTD0" bookingId='70104149'  bookingDate='10MAY05' originTerminal='BOM' destinationTerminal='DEL' totalPieces='20' weight='2000.0' shipperId='131009' consigneeId='131424' shipperName='(001) Sushma Vijay Dasari' consigneeName='(006) FourSoft Limited' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70104149'  ></td>
<td width='10%' >70104149</td>
<td width='10%' >10MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >DEL</td>
<td width='5%' >20</td>
<td width='10%' >2000.0</td>
<td width='25%' >(001) Sushma Vijay Dasari</td>
<td width='25%' >(006) FourSoft Limited</td>
<td width='10%'>VESSEL-KATZ</td>
<td width='10%'>VOYS</td>
<td width='10%'>INBOM</td>
<td width='10%'>INDEL</td>
<td width='10%' >Ocean</td>
<td width='10%' >L</td>

               <td width='10%' ><input type=hidden name='sealno1' value=''></td>
</font></tr>
<tr id='tr1' bgcolor='#33CC00' originalClassName=formdata1 style='font-size:8pt;'>
<td width='1%' id="refTD1" bookingId='70104801'  bookingDate='13MAY05' originTerminal='BOM' destinationTerminal='DEL' totalPieces='0' weight='46.0' shipperId='118220' consigneeId='118884' shipperName='EAGLE-BBY INC' consigneeName='"BALKANS SUPPORT CONTRACT"' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70104801'  ></td>
<td width='10%' >70104801</td>
<td width='10%' >13MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >DEL</td>
<td width='5%' >0</td>
<td width='10%' >46.0</td>
<td width='25%' >EAGLE-BBY INC</td>
<td width='25%' >"BALKANS SUPPORT CONTRACT"</td>
<td width='10%'>VESSEL</td>
<td width='10%'>SDFSF</td>
<td width='10%'>INDEL</td>
<td width='10%'>INBOM</td>
<td width='10%' >Ocean</td>
<td width='10%' >F</td>

               <td width='10%' ><input type=hidden name='sealno1' value=''></td>
</font></tr>
<tr id='tr2' bgcolor='#33CC00' originalClassName=formdata style='font-size:8pt;'>
<td width='1%' id="refTD2" bookingId='70104895'  bookingDate='13MAY05' originTerminal='BOM' destinationTerminal='DEL' totalPieces='46' weight='46.0' shipperId='118220' consigneeId='118884' shipperName='EAGLE-BBY INC' consigneeName='"BALKANS SUPPORT CONTRACT"' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70104895'  ></td>
<td width='10%' >70104895</td>
<td width='10%' >13MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >DEL</td>
<td width='5%' >46</td>
<td width='10%' >46.0</td>
<td width='25%' >EAGLE-BBY INC</td>
<td width='25%' >"BALKANS SUPPORT CONTRACT"</td>
<td width='10%'>VESSEL</td>
<td width='10%'>SDFSF</td>
<td width='10%'>INDEL</td>
<td width='10%'>INBOM</td>
<td width='10%' >Ocean</td>
<td width='10%' >F</td>

               <td width='10%' ><input type=hidden name='sealno1' value=''></td>
</font></tr>
<tr id='tr3' bgcolor='#33CC00' originalClassName=formdata1 style='font-size:8pt;'>
<td width='1%' id="refTD3" bookingId='70104896'  bookingDate='13MAY05' originTerminal='BOM' destinationTerminal='DEL' totalPieces='46' weight='46.0' shipperId='118220' consigneeId='118884' shipperName='EAGLE-BBY INC' consigneeName='"BALKANS SUPPORT CONTRACT"' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70104896'  ></td>
<td width='10%' >70104896</td>
<td width='10%' >13MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >DEL</td>
<td width='5%' >46</td>
<td width='10%' >46.0</td>
<td width='25%' >EAGLE-BBY INC</td>
<td width='25%' >"BALKANS SUPPORT CONTRACT"</td>
<td width='10%'>VESSEL</td>
<td width='10%'>SDFSF</td>
<td width='10%'>INDEL</td>
<td width='10%'>INBOM</td>
<td width='10%' >Ocean</td>
<td width='10%' >F</td>

               <td width='10%' ><input type=hidden name='sealno1' value=''></td>
</font></tr>
<tr id='tr4' bgcolor='#33CC00' originalClassName=formdata style='font-size:8pt;'>
<td width='1%' id="refTD4" bookingId='70104983'  bookingDate='16MAY05' originTerminal='BOM' destinationTerminal='DEL' totalPieces='3' weight='535.0' shipperId='118220' consigneeId='118884' shipperName='EAGLE-BBY INC' consigneeName='"BALKANS SUPPORT CONTRACT"' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70104983'  ></td>
<td width='10%' >70104983</td>
<td width='10%' >16MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >DEL</td>
<td width='5%' >3</td>
<td width='10%' >535.0</td>
<td width='25%' >EAGLE-BBY INC</td>
<td width='25%' >"BALKANS SUPPORT CONTRACT"</td>
<td width='10%'>SOFT</td>
<td width='10%'>VOYAGE</td>
<td width='10%'>BOMIN</td>
<td width='10%'>INDEL</td>
<td width='10%' >Ocean</td>
<td width='10%' >F</td>

               <td width='10%' ><input type=hidden name='sealno1' value='89888'></td>
</font></tr>
<tr id='tr5' bgcolor='#33CC00' originalClassName=formdata1 style='font-size:8pt;'>
<td width='1%' id="refTD5" bookingId='70105009'  bookingDate='16MAY05' originTerminal='BOM' destinationTerminal='DEL' totalPieces='40' weight='57.0' shipperId='118220' consigneeId='118884' shipperName='EAGLE-BBY INC' consigneeName='"BALKANS SUPPORT CONTRACT"' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70105009'  ></td>
<td width='10%' >70105009</td>
<td width='10%' >16MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >DEL</td>
<td width='5%' >40</td>
<td width='10%' >57.0</td>
<td width='25%' >EAGLE-BBY INC</td>
<td width='25%' >"BALKANS SUPPORT CONTRACT"</td>
<td width='10%'>SOFT</td>
<td width='10%'>VOYAGE</td>
<td width='10%'>BOMIN</td>
<td width='10%'>INDEL</td>
<td width='10%' >Ocean</td>
<td width='10%' >L</td>

               <td width='10%' ><input type=hidden name='sealno1' value=''></td>
</font></tr>
<tr id='tr6' class=formdata originalClassName=formdata style='font-size:8pt;'>
<td width='1%' id="refTD6" bookingId='70105018'  bookingDate='16MAY05' originTerminal='BOM' destinationTerminal='MAA' totalPieces='11' weight='21.0' shipperId='127200' consigneeId='131009' shipperName='(001) FOURSOFT LTD' consigneeName='(001) SUSHMA VIJAY DASARI' shipmentMode='Ocean' shipmentStatus=''>
<input  name='bookingId'  id='bookingId' type=checkbox value='70105018'  ></td>
<td width='10%' >70105018</td>
<td width='10%' >16MAY05</td>
<td width='5%' >BOM</td>
<td width='5%' >MAA</td>
<td width='5%' >11</td>
<td width='10%' >21.0</td>
<td width='25%' >(001) FOURSOFT LTD</td>
<td width='25%' >(001) SUSHMA VIJAY DASARI</td>
<td width='10%'></td>
<td width='10%'>VOYAGE2</td>
<td width='10%'>BLRIN</td>
<td width='10%'>MAAIN</td>
<td width='10%' >Ocean</td>
<td width='10%' >L</td>

               <td width='10%' ><input type=hidden name='sealno1' value=''></td>
</font></tr>

      </table>
          <table width="100%" cellpadding=0 cellspacing=0 border=0 class=TABLE>
          <tr>
               <td class=formdata align=left width=55%>
1 to 7 of 7 Records
               </td>
               <td class=formdata align=right width=45%>Total Number of Records : 7</td>
          </tr>
          </table>
     

       
    <table cellpadding="2" cellspacing="1" border="0" width="100%">
     <tr class='formdata'>
      <td colspan="2" class='denotes'><font color="#ff0000">* </font>Denotes Mandatory</td>
      <td colspan="2" align="right">

          <input type=button class='input' value='PRINT LOAD LIST' onClick='showReport()'>


          <input type="submit" name="Refresh"  id="Refresh"  value="Refresh" class='input' TABINDEX="100" onClick = "changeNextOperation('Refresh')" >
        <input type="submit" name="SaveAndExit"  id="SaveAndExit"  value="Save & Exit" class='input' TABINDEX="101" onClick = "setAction('SNE')" >

          <input type="submit" name="Submit"  id="Submit"  value="ENTER" class='input' TABINDEX="102" onClick = "changeNextOperation('Marks')">
          <input type="hidden" name="operation" value="Modify">
          <input type="hidden" name="laneNo" id="laneNo">
          <input type="hidden" name="contractType">
          <input type="hidden" name ="terminalId" value="BOM">
          <input type="hidden" name="searchOperation" value="N">
          <input type="hidden" name="taskName" id="taskName" value="Bookings">
          <input type="hidden" name="ShipmentMode" value="null">
          <input type="hidden" name="terminalType" value="null">
          <input type=hidden name="isSave">
          <input type="hidden" name="NextOperation" id="NextOperation" value="Marks">

     
                 <input type="hidden"   name="houseDocumentId" value="">
     
      </td>
    </tr>
  </table>

          <table width="850" border="0" cellspacing="1" cellpadding="2">
            <tr >    
               <td       width="5"     height="5" bgcolor="#33CC00"></td>
               <td       width="840" style="font-size:7pt;     font-family:Arial;"     >Invoice generated FCRs</td>
            </tr>
          </table>

</td>
</tr>
</table>
</td></tr>
</table>
</div>
<div id="commonDIV" style="visibility:hidden;position:absolute;">
&nbsp;
     <iframe id=iframe1 width=750 height=800 border=0 src="about:blank">
     </iframe>
</div>
   </form>
  </body>
</html>




Start Free Trial
 
 
[+][-]05.17.2005 at 05:33AM PDT, ID: 14017876

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.17.2005 at 05:38AM PDT, ID: 14017912

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.17.2005 at 05:39AM PDT, ID: 14017926

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.17.2005 at 06:10AM PDT, ID: 14018171

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Tags: originalclassname, javascript, inbom
Sign Up Now!
Solution Provided By: chaituu
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.17.2005 at 06:12AM PDT, ID: 14018182

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.17.2005 at 11:15AM PDT, ID: 14021169

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32