Welcome Guest, Not a member yet? Register   Sign In
Javascript-problem
#1

[eluser]Star123[/eluser]
hi,

Thre below code does not work in ci


open tag
language="javascript" type="text/javascript" src="<?=base_url()?>datetimepicker.js"
close tag


please help me

Thanks
#2

[eluser]OliverHR[/eluser]
Are you using this in a view, right??, maybe short_open_tag is set to zero in php.ini
#3

[eluser]Zack Kitzmiller[/eluser]
What is actually output in the browser? Nothing? Also, <?= base_url() ;?> should have a space between the '=' and 'b'. Did you set base_url in config.php?
#4

[eluser]danmontgomery[/eluser]
[quote author="techneke" date="1270583407"]Also, <?= base_url() ;?> should have a space between the '=' and 'b'.[/quote]

This isn't necessary...
#5

[eluser]Star123[/eluser]
hi,

Thanks for fast reply

I am using this in view page,I set base_url in config.php

I tried using between space a space between the β€˜=’ and β€˜b’in <?=base_url()?> and I set also short_open_tag is in php.ini. But I did n't get

output in the browse is nothing

Please help me
Thanks




Theme © iAndrew 2016 - Forum software by © MyBB