Hi
I have the following code which embeds an dhtml calander into my pages:
I need to modify this code so that the image is included in the tabbing across my form.
To do this, i wrapped the image in <a href> like so:
But the calander does not work when tabbing and hitting enter to envoke calander.
I know the solution is probably simple.. can anyone tell me what it is? It is possible of course that i will need to change the calander.setup() function which will be a posting to javascript, but i thought i would try html first...
Tracey
Remember... True happiness is not getting what you want...
Its wanting what you have got!
I have the following code which embeds an dhtml calander into my pages:
Code:
<tr>
<td><b>Date</b></td>
<td><input type=text name=day value=<#entrydate> size="12">
<img src="<#HostAddr>/icons/show-calendar.gif" width=15 height=15 border=0 id="trigger1">
</td>
<script type="text/javascript">
Calendar.setup(
{
inputField : "day", // ID of the input field
ifFormat : "dd/mm/y", // the date format
button : "trigger1" // ID of the button
});
</script>
</tr>
I need to modify this code so that the image is included in the tabbing across my form.
To do this, i wrapped the image in <a href> like so:
Code:
<a href=""><img src="stuff"></a>
But the calander does not work when tabbing and hitting enter to envoke calander.
I know the solution is probably simple.. can anyone tell me what it is? It is possible of course that i will need to change the calander.setup() function which will be a posting to javascript, but i thought i would try html first...
Tracey
Remember... True happiness is not getting what you want...
Its wanting what you have got!