Board Logo

Tigra Calendar v4.0.4 BUG with div's ???
azhgqw54z - 3/29/2011 at 02:45 PM

hi,

1st, i have this code, and it works:

*********************************************
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<link rel="stylesheet" type="text/css" href="tigra_calendar/calendar.css" />


</head>
<body>

<form name="testform">
</form>

<form name="frm" id="frm">

<script src="tigra_calendar/calendar_eu.js" type="text/javascript">
</script>

<input name="testinput" id="testinput" type="text" />

<script language="JavaScript">
try
{
new tcal ({
// form name
'formname': 'frm',
// input name
'controlname': 'testinput'
});
}
catch(err)
{
alert(err);
}
</script>


</form>
</body>
</html>
*********************************************

...that works!!!



2nd, i have this code, and it does not work:

*********************************************

template:

<head>
<link rel="stylesheet" type="text/css" href="html/jscript/generic/datepicker/calendar.css" />
</head>



content:

<script src="html/jscript/generic/datepicker/calendar_eu.js" type="text/javascript">
</script>

<input name="testinput" id="testinput" type="text" />

<script language="JavaScript">
try
{
new tcal ({
// form name
'formname': 'frm',
// input name
'controlname': 'testinput'
});
}
catch(err)
{
alert(err);
}
</script>
*********************************************

i always get this message:

Fehler: uncaught exception: TC: element 'testinput' does not exist in form 'testinput'


between the template and the content, there are several div's... somebody know what's the problem??

regards, jan


azhgqw54z - 3/29/2011 at 03:06 PM

the img dir seems to must be in the same directory like html/php/jsp/etc.-file....

what's this crap???????


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/