I try to do my first page with flexigrid and i have some problems.
I hope you can help me.
I'm french and my english is basic, sorry
I try to do a field to open a new window with more detail for a line of my table.
In a new window, like a target="_blank" its work fine but when i try to open detail in a facebox, its bug.
My detail.php work fine, but in this code when it is in a facebox there is a loop which open the page and my fields are print 15x.
Do you know why ? I think my facebox code is not at a good place but i have try a lot of place and i have never fine a good.
I hope you'll understand my problem lol.
Thanks all
Quentin
***************************EDIT************************
Finally i have found a solution by an input and onclick:
Code:
function detail(celDiv){
$(celDiv).html('<INPUT type="submit" value="" width="16px" style="background: url(images/add.png) no-repeat; border:0; width:16px;" onclick="jQuery.facebox({ ajax: \'http://intranet/contact/detail.php?id=' + $(celDiv).html() + '\'})">');
}