jeff5656 Posted March 4, 2009 Share Posted March 4, 2009 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> Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted March 4, 2009 Share Posted March 4, 2009 This has nothing to do with PHP. Why did you post it in the PHP area? I'm moving this to the Javascript area where it should have been posted in the first place. Ken Quote Link to comment Share on other sites More sharing options...
jeff5656 Posted March 4, 2009 Author Share Posted March 4, 2009 Sorry I'm so used to posting things in php I didn't realize. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.