[eluser]husni[/eluser]
hey guys.. i am experiencing trouble for quite a long time to put a javascript in my application.. can anyone help me with this problem??..
this is my view file..
Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<xxscript language="JavaScript" src="<?php echo base_url();?>/javascript/date_picker.js"><xx/script>
<xxscript language="JavaScript" src="<?php echo base_url();?>/javascript/overlib_mini.js"></xxscript>
</head>
<body>
<form name="sample" method="post" action="popupcalsample.html">
<p>Beginning date: <input type="text" name="T1" size="20">
<!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic -->
<a status='Date Picker'><?php
$image_properties = array(
'src' => 'img/calendar.jpg',
//'alt' => 'Me, demonstrating how to eat 4 slices of pizza at one time',
//'class' => 'post_images',
'width' => '15',
'height' => '15',
//'title' => 'That was quite a night',
'rel' => 'lightbox',
);
echo img($image_properties); ?></a>
</body>
the problem is when i put the cursor on the calendar pic,it doesnt show the message ('Click here to choose a date from a one month pop-up calendar.') at all.. so i think maybe the javascript didnt load successfully..
anyone can help me??