Jump to content

date pop up box not working


jeff5656

Recommended Posts

When I click the little calenday icon, the date does not dump into the input box. It just jumps to the top (as if it is following a blank "#" for the href)

 


<head>
<link href="/consults/stylesheets/table_design.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript" SRC="../CalendarPopup.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var cal = new CalendarPopup();
</SCRIPT>
....SNIP....

<form name="newsubmit" method="post" action="addbill.php">

<table>
<tr><td width="5">Billing date: </td><td>
<input type="text" size="12" name="billing_date" /> 
<a href="#" onClick="cal.select(document.forms['newsubmit'].billing_date,'anchor1','MM/dd/yyyy'); return false;"
  name="anchor1" id="anchor1"><img src="/consults/calendaricon.gif" width="16" height="16" border="0"></a>

Link to comment
https://forums.phpfreaks.com/topic/147922-date-pop-up-box-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.