[eluser]me_not_you[/eluser]
Hi,
I've juste started using CI, and for the moment i've realy liked it.
But today i run into some trouble with IE.
I would like to have a liste of objects you can click on and the page is updated.
So iv'e got my view
Code:
[removed][removed]
[removed][removed]
[removed]
function startLoading() {
Element.show('mainAreaLoading');
Element.hide('mainAreaInternal');
}
function finishLoading() {
Element.show('mainAreaInternal');
setTimeout("Effect.toggle('mainAreaLoading');", 1000);
}
function loadContent(id) {
startLoading();
new Ajax.Updater('mainAreaInternal', '<?php echo(base_url()."index.php/manifestation/getone/"); ?>'+ id, {method: 'post', postBody:'content='+ id +''});
finishLoading();
}
[removed]
<!-- And the list-->
<div class="ldroite"><?php
foreach ($allmanifs as $allmanif):?>
<span style="cursor: pointer">
<?php
echo($allmanif['nom_manif'].'<br />du '.$allmanif['dated_manif'].' au '.$allmanif['datef_manif'].'<br / >');?>
</span><?php
endforeach;?>
</div>
<div>
The probleme seems to be with
Code:
new Ajax.Updater('mainAreaInternal', '<?php echo(base_url()."index.php/manifestation/getone/"); ?>'+ id, {method: 'post', postBody:'content='+ id +''});
the manifestation / getone containes
Code:
function getone($id){
$this->load->model('manifMod');
$data['manif'] = $this->manifMod->getone($id);
foreach ($data as $manifs):
foreach ($manifs as $manif):
$idorganisateur=$manif['idorganisateur_manif'];
endforeach;
endforeach;
$data['oraganisateur']=$this->getorganisateur($idorganisateur);
$this->load->view('manif',$data);
}
All this works with FireFox...but not with IE...
Hope someone can help me out...i've been tring all afternoon...