Welcome Guest, Not a member yet? Register   Sign In
problem with JAVASCRIPT!
#1

[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="&lt;?php echo base_url();?&gt;/javascript/date_picker.js"><xx/script>
<xxscript language="JavaScript" src="&lt;?php echo base_url();?&gt;/javascript/overlib_mini.js"></xxscript>
&lt;/head&gt;

&lt;body&gt;
&lt;form name="sample" method="post" action="popupcalsample.html"&gt;
    <p>Beginning date: &lt;input type="text" name="T1" size="20"&gt;  
    &lt;!-- ggPosX and ggPosY not set, so popup will autolocate to the right of the graphic --&gt;
    <a status='Date Picker'>&lt;?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); ?&gt;</a>

&lt;/body&gt;

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??


Messages In This Thread
problem with JAVASCRIPT! - by El Forum - 03-14-2010, 10:44 PM
problem with JAVASCRIPT! - by El Forum - 03-15-2010, 12:00 AM
problem with JAVASCRIPT! - by El Forum - 03-15-2010, 12:13 AM
problem with JAVASCRIPT! - by El Forum - 03-15-2010, 07:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB