Fancybox: retourner les id ou nom des chedkbox
Bonjour,
j'ai fais une modal en fancybox ... je l'ai ajouté des checkbox, mais le probleme c'est que j'arrive pas à avoir les id ou les 'name' des checkbox selectionner!!! alors quelqu'un à une idée?
voici mon code:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
$(document).ready(function() {
$("#various1").fancybox({
'hideOnContentClick' :false,
'padding' : 0,
'overlayColor' :'#999999',
'transitionIn' :'elastic',
'transitionOut' :'elastic',
'overlayOpacity' : 0.7,
'zoomSpeedIn' : 200,
'zoomSpeedOut' : 200,
'overlayColor' :'#D3D3D3',
'padding': '20',
'margin' : '10',
'showCloseButton' : true,
'overlayColor' : '#666',
'titlePosition' : 'over',
'type': 'inline',
});
}); |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<a id="various1" href="#inline1" title="Veuillez choisir"><font color="#0066FF" size="2"><?PHP echo getTranslatedString('OBJET_IMPACTE');?></font></a>
<div style="display: none;">
<div id="inline1" style="width:800px;height:75px;overflow:auto;">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="dvtLabel">
<td> <input id="" type="checkbox" name="Objet1" value="Instance ou chaine" /> </td><td > Instance ou chaine </td>
<td > <input type="checkbox" name="Objet3" value="Au moin un service" /> </td><td> Au moin un Service </td>
<td> <input type="checkbox" name="Objet4" value="Au moin un noeud" /> </td><td> Au moin un noeud </td>
</tr>
<tr class="dvtInfo">
<td > <input type="checkbox" name="Objet5" value="DataServer Innaccessible" /> </td><td> Data Server Innaccessible </td>
<td > <input type="checkbox" name="Objet6" value="Client Innaccessible" /> </td><td> Client Innaccessible </td>
<td > <input type="checkbox" name="Objet7" value="Agenda" /> </td> <td> Agenda </td>
</tr>
</table>
</div> |