Welcome Guest, Not a member yet? Register   Sign In
when I load a model within a controller the link and script tags in the view get embedded within the body tag
#9

[eluser]midooh[/eluser]
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;link href=&lt;?php echo $main_css_template; ?&gt; rel="stylesheet" rev="stylesheet" /&gt;
[removed]
[removed]
&lt;title&gt;&lt;?php echo $page_title; ?&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
<div id="wrapper">
&lt;?php
$this->load->view("Login.php");
$this->load->view("Header.php");
?&gt;
<div id="content">
</div>
</div>
[removed]
// trick for IE7
$("#wrapper")[0].removeChild($("#wrapper")[0].firstChild);
[removed]
&lt;/body&gt;
&lt;/html&gt;


Messages In This Thread
when I load a model within a controller the link and script tags in the view get embedded within the body tag - by El Forum - 10-06-2009, 02:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB