Welcome Guest, Not a member yet? Register   Sign In
Adding image to ajax->link_to_remote.
#1

[eluser]pegas[/eluser]
Hi.
I I want to create a link_to_remote and i want it to show an image. I do not know how to integrate the img tag in the array of link to remote.

My link so far is:
Code:
$absences="Manange";
$data[content] =$this->ajax->link_to_remote($absences,array('url'=>'details/'.$value['id_etudiant'].'/'.$value['nom'].'_'.$value['prenom'].'','update'=>'detailsAbs','loading'=>'cursor_wait();','complete'=>'cursor_clear();'));

Cursor wait and cursos clear are javascript functions to add some style to de mouse while the request does it's thing.

So can anyone help ?


Messages In This Thread
Adding image to ajax->link_to_remote. - by El Forum - 06-11-2010, 02:29 AM
Adding image to ajax->link_to_remote. - by El Forum - 06-21-2010, 05:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB