[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[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!

8.2

Urgent! - Need help with a workaround for a js error - if possible

Asked by saabStory in JavaScript

Tags: calendarpopup, error, popup

I need help here.  I'm working within somebody else's application and am having problems getting some of my functions to work properly.  Let me say up front that I have no control over or ability to change anything outside of the code I a working on myself - I know there are problems but there is nothing that I can about it - I can only endeavor to get my stuff to work within the confines of what is there.  Since the site is a mass of include files with static links, I can't make all the files involved available - so, what is presented here is the view source code from the page I'm working on.  Look for the comments that says 'MY CODE ... HERE' and that is what I can change.

That said, if you bring up this page, towards the bottom of the form, there is a line titled 'Next Contact Date' - on the far right is a link called "select".  If you click on the link, you get a js error referring to "type" being null or not an object - you're supposed to get a popup calendar.  The problem seems to be with the first search form in the header - take that out and the app works fine but the search doesn't of course.  As I said before, I can't change the search but am hoping there is a workaround for the js error that will allow the calendar to work.  I've tried everything from naming both forms to a number of formatting changes but nothing works.  The only thing that works for me is to kill that search form - but that's not an option I have.  I sure hope someone can help - and quick - I have a presentation on this app tomorrow and would like to show the calendar if possible.

Thanks in advance....

code **************************

<!--Start Tracker Code -->

<!--End Tracker Code -->
<HTML>
<HEAD>
<script language='javascript' src='http://dev.intranet.com/js/menu_data.js'></script><script language='javascript' src='http://dev.intranet.com/js/cb.js'></script>

<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<title>Divisions: Public Works: Menu</title>
<LINK REL="StyleSheet" HREF="./css/pwSAM.css" type="text/css">
</HEAD>
<BODY>

<!--script language="JavaScript1.2" type="text/javascript" src="./includes/i_jsScripts.js"></script-->
<script language="JavaScript1.2" type="text/javascript" src="http://www.mattkruse.com/javascript/calendarpopup/combined-compact/CalendarPopup.js"></script>

<DIV class="DivHeader">
<!-- Popup window code -->
<script language="JavaScript">
<!--
// Function For Popup window
function Popup(url) {
      var winWidth = (screen.Width / 4) * 3;
      var winHeight = (screen.Height / 2);
      var winDimensions = "top=100,left=100,"
      var winDimensions = winDimensions + "width=" + winWidth + ",";
      winDimensions = winDimensions + "height=" + winHeight;
      winDimensions = winDimensions + ",scrollbars=yes,toolbar=1,status=1,resizable=1,menubar=1,location=yes";
      window.open(url,"",winDimensions);
}
//-->
</script>
<!-- End Popup window code -->

<!-- BEGIN NAVBAR TABLE -->
<div align="left">
<a name="top"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="65" bgcolor="#EDEDFA">
<!-- BEGIN UNIVERSAL NAV ROW -->
      <tr>
        <td valign="top" align="left" height="40" background="http://dev.intranet.com/images/navigation/U_Background.gif">
          <table border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
              <td valign="top" align="left" height="40" width="160"><a class="quicklink" href="http://dev.intranet.com/index.asp"><img border="0" src="http://dev.intranet.com/images/mycblogo_nothome.gif" alt="MyC-B Home Page"></a></td>
          <td valign="middle" align="left" height="40" width="70"><a class="quicklink" href="JavaScript: Popup('http://theinsider.c-b.com');">The Insider</a></td>
          <!-- <td valign="middle" align="center" valign="middle" height="40" width="1"><span class="quicklink">|</span></td>-->
          <td valign="middle" align="left" valign="middle" height="40" width="60"><a class="quicklink" href="JavaScript: Popup('http://trackit.c-b.com/tiweb/');">Track-It!</a></td>
          <!-- <td valign="middle" align="center" valign="middle" height="40" width="1"><span class="quicklink">|</span></td>-->
          <td valign="middle" align="left" valign="middle" height="40" width="100"><a class="quicklink" href="JavaScript: Popup('http://finrep.c-b.com/');">Financial Reports</a></td>
          <!-- <td valign="middle" align="center" valign="middle" height="40" width="1"><span class="quicklink">|</span></td>-->
          <td valign="middle" align="left" valign="middle" height="40" width="100"><a class="quicklink" href="http://dev.intranet.com/resources/forms.asp">Forms/Templates</a></td>
          <!-- <td valign="middle" align="center" valign="middle" height="40" width="1"><span class="quicklink">|</span></td>-->
          <td valign="middle" align="left" valign="middle" height="40" width="75"><a class="quicklink" href="http://dev.intranet.com/resources/phonebook.asp">Phone Book</a></td>
          <!-- <td valign="middle" align="center" valign="middle" height="40" width="1"><span class="quicklink">|</span></td>-->
          <td valign="middle" align="left" valign="middle" height="40" width="40"><span class="quicklink">Search:&nbsp;</span></td>
          <td align="center" height="40" width="155">
                                    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
                                    <HTML>
                                    <HEAD>
                                    <LINK REL=STYLESHEET HREF="http://dev.intranet.com/css/mycb.css" TYPE="text/css">
                                          <TITLE>My CB Site Search Form</TITLE>
                                    </HEAD>
                                    <BODY>
                                    <div class="divSearch">
                                    <FORM METHOD="POST" ACTION="http://dev.intranet.com/queryMyCB.asp">
                                          <INPUT CLASS="textfield2" NAME="SearchString" SIZE="13" MAXLENGTH="100" VALUE="">
                                          <INPUT TYPE="image" VALUE="Go" onMouseover="this.src='http://dev.intranet.com/images/navigation/U_GoSmall_over.gif';" onMouseout="this.src='http://dev.intranet.com/images/navigation/U_GoSmall.gif';" NAME="go" src="http://dev.intranet.com/images/navigation/U_GoSmall.gif" width="23" height="23" align="top" border="0">
                                    </form>
                                    </div>
                                    </body>
                                    </html>
              <td valign="top" align="left" height="40" width="30"><a href="http://dev.intranet.com/help/index.asp" onMouseover="msover('help','http://dev.intranet.com/images/navigation/U_Help_over.gif'); status='Help'; return true;" onMouseout="msout('help','http://dev.intranet.com/images/navigation/U_Help.gif');"><img name="help" border="0" src="http://dev.intranet.com/images/navigation/U_Help.gif" alt="Help"></a></td>
            </tr>
          </table>
        </td>
      </tr>
<!-- END UNIVERSAL NAV ROW -->

<!-- BEGIN GLOBAL NAV ROW -->
      <tr>
        <td valign="top" align="left" height="24" bgcolor="#EDEDFA" background="http://dev.intranet.com/images/navigation/G_VertSpacer.gif">
    <div align="left">
          <table border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
              <td valign="middle" align="center" width="160" height="24" background="http://dev.intranet.com/images/navigation/G_VertSpacer.gif">
                              <span class="smalldate">
                              <script LANGUAGE="Javascript">
                                    <!--
                                    //JavaScript getting current date and writing it to the page.
                                    
                                    // Get today's current date.
                                    var now = new Date();
                                    
                                    // Array list of days.
                                    //var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
                                    
                                    // Array list of months.
                                    var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
                                    
                                    // Calculate the number of the current day in the week.
                                    var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
                                    
                                    // Calculate four digit year.
                                    function fourdigits(number)      {
                                          return (number < 1000) ? number + 1900 : number;
                                                                                    }
                                    
                                    // Join it all together
                                    //today =  days[now.getDay()] + ", " +
                                    
                                    today =       months[now.getMonth()] + " " +
                                                   date + ", " +
                                                    (fourdigits(now.getYear())) ;
                                    
                                    // Print out the data.
                                    //document.write("Today\'s date is " +today+ ".");
                                      document.write(today);
                                     
                                    //-->
                              </script>
                              </span>
                              </td>
          <td valign="top" align="left" height="25" width="74"><a href="http://dev.intranet.com/aboutcb/index.asp" onMouseover="showMenu('aboutmenu'); msover('aboutcb','http://dev.intranet.com/images/navigation/G_AboutCB_over.gif'); status='About C-B'; return true;" onMouseout="hideMenu('aboutmenu'); msout('aboutcb','http://dev.intranet.com/images/navigation/G_AboutCB.gif');"><img name="aboutcb" border="0" src="http://dev.intranet.com/images/navigation/G_AboutCB.gif"></a></td>
          <td valign="top" align="left" height="25" width="80"><a href="http://dev.intranet.com/depts/index.asp" onMouseover="showMenu('deptsmenu'); msover('depts','http://dev.intranet.com/images/navigation/G_CorpDepts_over.gif'); status='Corporate Departments'; return true;" onMouseout="hideMenu('deptsmenu'); msout('depts','http://dev.intranet.com/images/navigation/G_CorpDepts.gif');"><img name="depts" border="0" src="http://dev.intranet.com/images/navigation/G_CorpDepts.gif"></a></td>
          <td valign="top" align="left" height="25" width="112"><a href="http://dev.intranet.com/divs_groups/index.asp" onMouseover="showMenu('divs_groupsmenu'); msover('divs_groups','http://dev.intranet.com/images/navigation/G_divsgroups_over.gif'); status='Divisions/Groups'; return true;" onMouseout="hideMenu('divs_groupsmenu'); msout('divs_groups','http://dev.intranet.com/images/navigation/G_divsgroups_over.gif');"><img name="divs_groups" border="0" src="http://dev.intranet.com/images/navigation/G_divsgroups_over.gif"></a></td>
          <td valign="top" align="left" height="25" width="119"><a href="http://dev.intranet.com/apps_tools/index.asp" onMouseover="showMenu('apps_toolsmenu'); msover('apps_tools','http://dev.intranet.com/images/navigation/G_appstools_over.gif'); status='Applications/Tools'; return true;" onMouseout="hideMenu('apps_toolsmenu'); msout('apps_tools','http://dev.intranet.com/images/navigation/G_appstools.gif');"><img name="apps_tools" border="0" src="http://dev.intranet.com/images/navigation/G_appstools.gif"></a></td>
          <td valign="top" align="left" height="25" width="91"><a href="http://dev.intranet.com/resources/index.asp" onMouseover="showMenu('resourcesmenu'); msover('resources','http://dev.intranet.com/images/navigation/G_CBResources_over.gif'); status='C&amp;B Resources'; return true;" onMouseout="hideMenu('resourcesmenu'); msout('resources','http://dev.intranet.com/images/navigation/G_CBResources.gif');"><img name="resources" border="0" src="http://dev.intranet.com/images/navigation/G_CBResources.gif"></a></td>
          <td valign="top" align="left" height="25" width="62"><a href="http://dev.intranet.com/websites/index.asp" onMouseover="showMenu('intranetsmenu'); msover('intranets','http://dev.intranet.com/images/navigation/G_WebSites_over.gif'); status='Intranets'; return true;" onMouseout="hideMenu('intranetsmenu'); msout('intranets','http://dev.intranet.com/images/navigation/G_WebSites.gif');"><img name="intranets" border="0" src="http://dev.intranet.com/images/navigation/G_WebSites.gif"></a></td>
          <td valign="top" align="left" height="25" width="60">&nbsp;</td>
        </tr>
      </table>
    </div>
    </td>
  </tr>
<!-- END GLOBAL NAV ROW -->
</table>
</div>
<!-- END NAVBAR TABLE -->
</DIV>
<DIV class="DivSubNavTwo">
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td valign="bottom" align="left" bgcolor="#990000" width="160" height="25">&nbsp;</td>
    <td valign="bottom" align="left" bgcolor="#990000" width="600" height="25">
            <!-- SUB NAV ONE TABLE, START -->
            <div align='right'>
                  <table border='0' cellpadding='2' cellspacing='0' width='600' height='15'>
                        <tr>
                              <td valign='bottom' align='center' width='60' bgcolor=''><a class='subnavone3link' href='http://dev.intranet.com/div_facilities/index.asp'>Facilities</a></td>
                              <td valign='bottom' align='center' width='2'><span class='subnavonetext'>|</span></td>
                              <td valign='bottom' align='center' width='84' bgcolor='#EDCFC0'><a class='subnavone3linkselected' href='http://dev.intranet.com/div_PublicWorks/index.asp'>Public Works</a></td>
                              <td valign='bottom' align='center' width='2'><span class='subnavonetext'>|</span></td>
                              <td valign='bottom' align='center' width='162' bgcolor=''><a class='subnavone3link' href='http://dev.intranet.com/div_udp/index.asp'>Urban Design &amp; Planning</a></td>
                              <td valign='bottom' align='center' width='2'><span class='subnavonetext'>|</span></td>
                              <td valign='bottom' align='center' width='56' bgcolor=''><a class='subnavone3link' href='http://dev.intranet.com/div_groups/index.asp'>Groups</a></td>
                              <td valign='bottom' align='right' width='234'></td>
                        </tr>
                  </table>
            </div>
<!-- SUB NAV ONE TABLE, END -->
             </td>
    <td valign="bottom" align="left" bgcolor="#990000" height="25">&nbsp; </td>
      </tr>
  <tr>
        <td valign="top" align="left" bgcolor="#EDCFC0" width="160" height="20">&nbsp; </td>
    <td valign="bottom" align="left" width="600" height="20" bgcolor="#EDCFC0">&nbsp; </td>
    <td valign="bottom" align="left" bgcolor="#EDCFC0" height="20">&nbsp; </td>
  </tr>
</table>
</div>
</DIV>
<DIV class="DivLeft3a">
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
</DIV>

<DIV class="DivRightSubNav2">
<p><a class="subheading3link" href="../divs_groups/index.asp">Divisions</a> &gt;&gt;<a class="subheadingblacklink" href="../index.asp">Public Works</a> &gt;&gt; <a class="subheadingblacklink" href="default.asp">Strategic Account Manager Login</a> &gt;&gt; Add New Account</p>

<!-- ***  MY CODE STARTS HERE *** -->
<blockquote>
<p class="subheadingblack"> Public Works Strategic Account Manager Menu</p>
<script language="javascript">
      function addRow(tbl)
            {
                  var tb = tbl.firstChild;
                  var ind = tb.childNodes.length;
                  var nr = document.getElementById('cloneThis').cloneNode(true);
                  nr.style.display = "block";

                  with(nr.firstChild.firstChild.firstChild.childNodes)
                  {
                        //   item(0).childNodes[0].innerHTML = "<input type=text name=min" + ind + "/>";
                        item(0).childNodes[1].innerHTML = "<input type=text name=fname" + ind + "/>&nbsp;&nbsp;&nbsp;LName&nbsp;<input type=text name=lname" + ind + "/>";
                        item(1).childNodes[1].innerHTML = "<input type=text name=phone" + ind + "_1/>"
                        item(2).childNodes[1].innerHTML = "<input type=text name=email" + ind + "_2/>"
                        item(3).childNodes[1].innerHTML = "<input type=text name=address" + ind + "_3/>"
                        item(4).childNodes[1].innerHTML = "<input type=text name=address" + ind + "_4/>"
                        item(5).childNodes[1].innerHTML = "<input type=text name=city" + ind + "_5/>"
                        item(5).childNodes[3].innerHTML = "<select name='state'" + ind + "_6 class='states'  style='width:65px;'>" +
                        + "<option value=></option>"+ "<option value=AK>AK</option>"+ "<option value=AL>AL</option>"+ "<option value=AR>AR</option>"+ "<option value=AZ>AZ</option>"+ "<option value=CA>CA</option>"+ "<option value=CO>CO</option>"+ "<option value=CT>CT</option>"+ "<option value=DC>DC</option>"+ "<option value=DE>DE</option>"+ "<option value=FL>FL</option>"+ "<option value=GA>GA</option>"+ "<option value=HI>HI</option>"+ "<option value=IA>IA</option>"+ "<option value=ID>ID</option>"+ "<option value=IL>IL</option>"+ "<option value=IN>IN</option>"+ "<option value=KS>KS</option>"+ "<option value=KY>KY</option>"+ "<option value=LA>LA</option>"+ "<option value=MA>MA</option>"+ "<option value=MD>MD</option>"+ "<option value=ME>ME</option>"+ "<option value=MI>MI</option>"+ "<option value=MN>MN</option>"+ "<option value=MO>MO</option>"+ "<option value=MS>MS</option>"+ "<option value=MT>MT</option>"+ "<option value=NC>NC</option>"+ "<option value=ND>ND</option>"+ "<option value=NE>NE</option>"+ "<option value=NH>NH</option>"+ "<option value=NJ>NJ</option>"+ "<option value=NM>NM</option>"+ "<option value=NV>NV</option>"+ "<option value=NY>NY</option>"+ "<option value=OH>OH</option>"+ "<option value=OK>OK</option>"+ "<option value=OR>OR</option>"+ "<option value=PA>PA</option>"+ "<option value=RI>RI</option>"+ "<option value=SC>SC</option>"+ "<option value=SD>SD</option>"+ "<option value=TN>TN</option>"+ "<option value=TX>TX</option>"+ "<option value=UT>UT</option>"+ "<option value=VA>VA</option>"+ "<option value=VT>VT</option>"+ "<option value=WA>WA</option>"+ "<option value=WI>WI</option>"+ "<option value=WV>WV</option>"+ "<option value=WY>WY</option>"
                        + "</select>"

                        item(5).childNodes[5].innerHTML = "<input type=text name=zip" + ind + "_7/>"
                  }
                  tb.appendChild(nr);
                  
                  if (tbl.rows.length > 2) {
                        document.getElementById('delRow').disabled = false;
                  }
            }

      function show(t)
      {
            alert(t.outerHTML);
      }
      function deletRow(tbl){
      if (tbl.rows.length > 2) {
     tblRow = tbl.deleteRow(tbl.rows.length-1);
//             alert(tbl.rows.length);
            }
      }

      function disablit(tbl){
            if(tbl.rows.length == 2) {
                  document.getElementById('delRow').disabled = true;
            }
      }
</script>

<div align="left">
<!-- RESTORE AFTER TESTING COMPLETE-->
<!--form method="post" action="menu.asp?v=view"-->
<form method="post" action="test.asp?v=view">
<table cellspacing="0" cellpadding="0" border="1" width="90%">
      <tr>
            <td>
                   <table cellspacing="0" cellpadding="3" border="1" width="100%">
                        <tr>
                              <td><a href="menu.asp?v=search">Search Accounts</a></td>
                              <td><a href="menu.asp?v=view">View All Accounts</a></td>
                              <td>Add Account</td>
                              <td><a href="menu.asp?v=admin">Admin</a></td>
                              <td style="color:#999999;">Edit Account</td>                              
                        </tr>
                        <tr>
                              <td colspan="5">Add Account</td>
                        </tr>
                        <tr>
                              <td colspan="5">Lorem ipsum dolor sit amet, consectetaur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</td>
                        </tr>
                  </table>
                   <table cellspacing="0" cellpadding="3" border="1" width="100%">
                        <tr>
                              <td>*Account Name</td>
                              <td><input type="text" name="accountName" value=""></td>
                        </tr>
                        <tr>
                              <td>City Web Site Address</td>
                              <td><input type="text" name="accountCityAddress" value=""></td>
                        </tr>
                        <tr>
                              <td>RFP Web Site Address</td>
                              <td><input type="text" name="accountRFPAddress" value=""></td>
                        </tr>
                        <tr><td colspan="2"></td></tr>
                        <tr>
                              <td>*Account Manager</td>
                              <td>
                                    <select name="accountManager">
                                          <option>Select an Account Manager</option>
                                          <option value='1'>User 1, Test</option><option value='2'>User 2, Test</option><option value='3'>User 3, Test</option>
                                    </select>
                              </td>
                        </tr>
                        <tr><td colspan="2">&nbsp;</td></tr>
                  </table>
                  <DIV>
                   <table cellspacing="0" cellpadding="3" border="1" width="100%" id="addContact">
                        <tr>
                              <td colspan="2">Account Contact(s) Information</td>
                        </tr>
                        <tr id='cloneThis'>
                              <td colspan="2">
                                     <table cellspacing="0" cellpadding="3" border="1" width="100%">
                                          <tr>
                                                <td>*Name</td>
                                                <td colspan="5"><input type="text" name="contactFName" value="">&nbsp;&nbsp;LName&nbsp;<input type="text" name="contactLName" value=""></td>
                                          </tr>
                                          <tr>
                                                <td>*Phone</td>
                                                <td colspan="5"><input type="text" name="contactPhone" value=""></td>
                                          </tr>
                                          <tr>
                                                <td>Email</td>
                                                <td colspan="5"><input type="text" name="contactEmail" value=""></td>
                                          </tr>
                                          <tr>
                                                <td>Address</td>
                                                <td colspan="5"><input type="text" name="contactAddress1" value=""></td>
                                          </tr>
                                          <tr>
                                                <td>&nbsp;</td>
                                                <td colspan="5"><input type="text" name="contactAddress2" value=""></td>
                                          </tr>
                                          <tr>
                                                <td>City</td>
                                                <td><input type="text" name="contactCity" value=""></td>
                                                <td>State</td>
                                                <td>
                                                      <select name="contactState" class="states" style="width:65px;">
                                                            <option>State</option>
                                                                  <option value=AK>AK</option><option value=AL>AL</option><option value=AR>AR</option><option value=AZ>AZ</option><option value=CA>CA</option><option value=CO>CO</option><option value=CT>CT</option><option value=DC>DC</option><option value=DE>DE</option><option value=FL>FL</option><option value=GA>GA</option><option value=HI>HI</option><option value=IA>IA</option><option value=ID>ID</option><option value=IL>IL</option><option value=IN>IN</option><option value=KS>KS</option><option value=KY>KY</option><option value=LA>LA</option><option value=MA>MA</option><option value=MD>MD</option><option value=ME>ME</option><option value=MI>MI</option><option value=MN>MN</option><option value=MO>MO</option><option value=MS>MS</option><option value=MT>MT</option><option value=NC>NC</option><option value=ND>ND</option><option value=NE>NE</option><option value=NH>NH</option><option value=NJ>NJ</option><option value=NM>NM</option><option value=NV>NV</option><option value=NY>NY</option><option value=OH>OH</option><option value=OK>OK</option><option value=OR>OR</option><option value=PA>PA</option><option value=RI>RI</option><option value=SC>SC</option><option value=SD>SD</option><option value=TN>TN</option><option value=TX>TX</option><option value=UT>UT</option><option value=VA>VA</option><option value=VT>VT</option><option value=WA>WA</option><option value=WI>WI</option><option value=WV>WV</option><option value=WY>WY</option>
                                    </select>
                                                </td>
                                                <td>Zip</td>
                                                <td><input type="text" name="contactZip" value=""></td>
                                          </tr>
                                          <tr><td colspan="6">&nbsp;</td></tr>
                                    </table>
                              </td>
                        </tr>
                  </table>
                  </DIV>
            </td>
      </tr>
      <tr>
            <td>
                  <input type=button onclick="addRow(document.getElementById('addContact'))" value="Add another contact?">
                  <input type=button id="delRow" name="delRow" onclick="deletRow(document.getElementById('addContact'));disablit(addContact);" value="Delete" disabled>
          <input type=button onclick="show(document.getElementById('addContact'))" value="Show">
            </td>
      </tr>      
      <tr>
            <td>
                   <table cellspacing="0" cellpadding="3" border="1" width="100%">
                        <tr>
                              <td>Account History (500 characters)</td>
                        </tr>
                        <tr>
                              <td><textarea cols="55" rows="10" name="accountHistory" wrap="virtual" MAXLENGTH="500"></textarea></td>
                        </tr>
                        <tr>
                              <td>Upcoming Projects (500 characters)</td>
                        </tr>
                        <tr>
                              <td><textarea cols="55" rows="10" name="accountProjects" wrap="virtual" MAXLENGTH="500"></textarea></td>
                        </tr>
                        <tr>
                              <td>Roadblocks<br>Existing relationship with consultants?  Open to new consultants?  List any other barriers to entry such as pre-qualification, office required in city, insurance, must team with local, past C&B issues, etc. (500 characters)</td>
                        </tr>
                        <tr>
                              <td><textarea cols="55" rows="10" name="accountRoadblocks" wrap="virtual" MAXLENGTH="500"></textarea></td>
                        </tr>
                        <tr>
                              <td>Account Notes (250 characters)</td>
                        </tr>
                        <tr>
                              <td><textarea cols="55" rows="5" name="accountNotes" wrap="virtual" MAXLENGTH="250"></textarea></td>
                        </tr>
                        <tr>
                              <td>Action Items<br>Set up meeting, responde to RFP, submit SOQ, other. (100 characters)</td>
                        </tr>
                        <tr>
                              <td><textarea cols="55" rows="3" name="actionText" wrap="virtual" MAXLENGTH="100"></textarea></td>
                        </tr>
                        <tr>
                              <td>Deadline:
                                    <input type="text" name="actionDate" value="">
                              </td>
                        </tr>
                        <tr>
                              <td>By:
                                    <select name="actionAcctManager">
                                          <option>Select an Account Manager</option>
                                          <option value='1'>User 1, Test</option><option value='2'>User 2, Test</option><option value='3'>User 3, Test</option>
                                    </select>
                              </td>
                        </tr>
                        <SCRIPT LANGUAGE="JavaScript" ID="js1">
                        var d = new Date()
                        var pd = new Date(d - 24*60*60*1000); // for one day
                        var now = new Date();
                        var cal1 = new CalendarPopup();
                        cal1.addDisabledDates(null,formatDate(pd,"yyyy-MM-dd"));
                        </SCRIPT>
                        <tr>
                              <td>*Next Contact Date:<INPUT TYPE="text" NAME="date1" VALUE="" SIZE=25>
                                    <A HREF="#" onClick="cal1.select(document.forms[0].date1,'anchor1','MM/dd/yyyy'); return false;" TITLE="cal1.select(document.forms[0].date1,'anchor1','MM/dd/yyyy'); return false;" NAME="anchor1" ID="anchor1">select</A>
                              </td>
                        </tr>
                        <tr>
                              <td>
                                    How:
                                    <select name="nextMethod">
                                          <option>Phone</option>
                                          <option>E-Mail</option>
                                          <option>Meeting</option>
                                          <option>Other</option>
                                    </select>
                              </td>
                        </tr>
                        <tr>
                              <td>
                                    By:
                                    <select name="nextAcctManager">
                                          <option>Select an Account Manager</option>
                                          <option value='1'>User 1, Test</option><option value='2'>User 2, Test</option><option value='3'>User 3, Test</option>
                                    </select>
                              </td>
                        </tr>
                  </table>
            </td>
      </tr>
</table>
<input type="submit" name="submit" value="Submit">
</form>

</div>
</blockquote>
<!-- ***  MY CODE ENDS HERE *** -->



<blockquote>
<div align="left">
<table border="0" cellpadding="2" cellspacing="0" width="90%">
      <tr>
        <td width="100%">
    <div align="center">
            <center>
          <table class="newsleader" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr><td width="100%" valign="middle" align="center">&nbsp;</td></tr>
                  </table>
    </center>
            </div>
    </td>
  </tr>
  <tr>
        <td width="100%" valign="top" align="center">
    <div align="center">
    <center>
          <table class="newsleader" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td width="100%" valign="top" align="center" height="30"><a class="smalltextlink" href="http://dev.intranet.com/contact.asp" target="_top">Submit Comment</a>&nbsp;&nbsp;&nbsp;
                <a class="smalltextlink" href="http://dev.intranet.com/aspmail/comments_link.asp?ContactID=1" target="_top">Report Problem With This Page</a>&nbsp;&nbsp;
          </td>
        </tr>
      </table>
     </center>
     </div>
     </td>
   </tr>
 </table>
 </div>
 <br>
<img border="0" src="http://dev.intranet.com/images/HomeRightCBLogo.gif" align="right" width="150" height="26"><span class="copyright">© 2004 Carter &amp; Burgess, Inc. All Rights Reserved</span>
</blockquote>

</DIV>
</BODY>
</HTML>
 
Related Solutions
Keywords: Urgent! - Need help with a workarou…
 
Loading Advertisement...
 
[+][-]03/16/04 08:26 AM, ID: 10607464Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/16/04 08:35 AM, ID: 10607531Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/16/04 08:36 AM, ID: 10607537Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/16/04 08:38 AM, ID: 10607555Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/16/04 08:39 AM, ID: 10607567Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/16/04 08:40 AM, ID: 10607568Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/16/04 08:41 AM, ID: 10607582Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/16/04 08:41 AM, ID: 10607585Accepted Solution

View this solution now by starting your 30-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: calendarpopup, error, popup
Sign Up Now!
Solution Provided By: Zvonko
Participating Experts: 2
Solution Grade: A
 
[+][-]03/16/04 08:41 AM, ID: 10607587Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/16/04 08:44 AM, ID: 10607604Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/16/04 08:45 AM, ID: 10607606Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/16/04 08:45 AM, ID: 10607610Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89