MsJones0600
Newbie
Posts: 1
Registered: 11/18/2008
Member Is Offline
|
| posted on 11/18/2008 at 03:17 PM |
|
|
No Target Control Specified
Getting pop up that says:
No Target Control Specified after hitting form "submit" button for form that contains calendar.
Code:
<input type="Text" name="*Date" value="" size="15">
<a href="javascript:cal5.popup();"><img src="images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the
date"></a>
...
</form>
<script language="JavaScript">
var cal5 = new calendar2(document.forms['TellUs'].elements['*Date']);
cal5.year_scroll = true;
cal5.time_comp = false;
</script>
What am I missing?
|
|
|
tigra
Administrator
Posts: 2041
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 11/18/2008 at 11:46 PM |
|
|
Make sure form is named "TellUs" and it's unique. Try the input name without *. Make sure its name is unique too.
|
|
|