Hi,
How can I suppress a carriage return when there is a DIV tag.
I have two pop-up calendars tied to text boxes. The second Pop-Up is within a DIV tag because it is only displayed when the user wishes to query between two dates. This is all contained within a TD tag in a table. The TD tag is displayed in two lines and there is more than enough space in the TD for both text boxes.
Michael Brennan-White
New Hampshire Treasury Department
How can I suppress a carriage return when there is a DIV tag.
I have two pop-up calendars tied to text boxes. The second Pop-Up is within a DIV tag because it is only displayed when the user wishes to query between two dates. This is all contained within a TD tag in a table. The TD tag is displayed in two lines and there is more than enough space in the TD for both text boxes.
Code:
<td>
<input type="hidden" name="TranDatemySQLFormat_date" />
<input type="text" name="TranDateValue_date" size=10/>
<script language='JavaScript' src='/datepicker/popcalendar.js' type="text/javascript"></script>
<img src="/datepicker/calendaricon.gif" alt="Choose Date" border="0" onclick="popUpCalendar(this, document.StatementSearch.TranDateValue_date, document.StatementSearch.TranDatemySQLFormat_date,'mm-dd-yyyy', 0, 0)" />
<input type="hidden" name="TranDatemySQLFormat_date2" id="TranDatemySQLFormat_date2"/>
<div id="Date2" class="Invisible"> <strong>AND</strong>
<input type="text" name="TranDateValue_date2" size=10 id=="TranDateValue_date2"/>
<script language='JavaScript' src='/datepicker/popcalendar.js' type="text/javascript"></script>
<img src="/datepicker/calendaricon.gif" alt="Choose Date" border="0" onclick="popUpCalendar(this, document.StatementSearch.TranDateValue_date2, document.StatementSearch.TranDatemySQLFormat_date2,'mm-dd-yyyy', 0, 0)" />
</div>
</td>
Michael Brennan-White
New Hampshire Treasury Department