Welcome Guest, Not a member yet? Register   Sign In
onclick innerHTML to change this->load->view?
#1

[eluser]traucostar[/eluser]
Hello, hope someone can help me.... this is what im trying to do:

[Image: f_onclickm_cd4161e.jpg]


Code:
[removed]        
function showgallery(here)
{
var obj = document.getElementById(here);
obj[removed] = "<?php $this->load->view('some/directory/view');?>";

}
[removed]



<div class="album1">
<img src="&lt;?=$thumb;?&gt;">
</div>


<div id="pictures">

&lt;?php $this->load->view('show/nothing'); ?&gt;    
            
</div>


No errors only a white empty site appears.

I know here is the problem:
obj[removed] = "&lt;?php $this->load->view('some/directory/view');?&gt;";

How can I change the php view that the <div id="pictures"> shows?????

Thanks!


Messages In This Thread
onclick innerHTML to change this->load->view? - by El Forum - 05-17-2009, 03:02 AM
onclick innerHTML to change this->load->view? - by El Forum - 05-17-2009, 03:44 AM
onclick innerHTML to change this->load->view? - by El Forum - 05-17-2009, 05:08 AM
onclick innerHTML to change this->load->view? - by El Forum - 05-17-2009, 02:25 PM
onclick innerHTML to change this->load->view? - by El Forum - 05-17-2009, 04:57 PM
onclick innerHTML to change this->load->view? - by El Forum - 05-17-2009, 04:58 PM
onclick innerHTML to change this->load->view? - by El Forum - 05-18-2009, 12:32 AM
onclick innerHTML to change this->load->view? - by El Forum - 05-21-2009, 02:38 PM
onclick innerHTML to change this->load->view? - by El Forum - 05-21-2009, 02:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB