Welcome Guest, Not a member yet? Register   Sign In
SCRIPT tag in CI Template
#1

[eluser]phpzone[/eluser]
I'm having problems with a template parsed using the CI template parser.

All I'm trying to do is enter: <script type="text/javascript"></script> into the template but when I do it doesn't render my template correctly.

If i remove that one line from above the rest of the template everything is fine again.

I checked my javascript for any missing quotes etc.(I know i don't include the js above, but simply just entering the script tags seems to break the template)

Are there any issues with javascript/script tag in CI templates that anyone knows of?

Thanks.
#2

[eluser]phpzone[/eluser]
Not to worry, as per usual shortly after posting I view the actual source output and realised
I'd got another javascript in the header in which I'd closed it using a short tag instead of
</script> and this was the cause of my problem.
#3

[eluser]Jon Braud[/eluser]
I think we're all guilty of doing that at one time or another! =)




Theme © iAndrew 2016 - Forum software by © MyBB