11550 sujets

JavaScript, DOM et API Web HTML5

Bonjour,
je fais appel à votre expertise Jquery, car je souhaiterais afficher le contenu d'une ligne d'un tableau sous forme d'un widget à l'écran, pouvoir modifier le contenu et mettre à jour l'enregistrement correspondant dans la base mySql.
L'idée se serais d'obtenir un fonctionnalité comme si on sélectionnait un lien dans le marque-page de firefox et on faisait click-droit puis propriété et ensuite on a la possibilité de modifier le contenu de la propriété.
Je n'ai débuté le code, j'ai juste le tableau PHP/Jquery :



echo '<div id="bodyform1">';
echo '<table id="servid"  summary="Services Nouka">';
echo '<caption>Les derniers services proposés</caption>';
echo '<thead>';
echo '<tr>';
echo '<th scope="col">Pseudo</th>';
echo '<th scope="col">Description</th>';
echo '<th scope="col">Famille</th>';
echo '<th scope="col">Categorie</th>';
echo '<th scope="col">Date Création</th>';
echo '<th scope="col">Pils</th>';
echo '</tr>';
echo '</thead>';
echo '<tbody>';
for ($i=1; $i<count($_SESSION['tabservice']); $i++) {
	echo '<tr>';
		    echo '<td>'; echo $_SESSION['tabservice'][$i]['pseudo']; echo '</td>';
			echo '<td>'; echo $_SESSION['tabservice'][$i]['description']; echo '</td>';
			echo '<td>'; echo $_SESSION['tabservice'][$i]['idfamily']; echo '</td>';
			echo '<td>'; echo $_SESSION['tabservice'][$i]['categorie']; echo '</td>';
			echo '<td>'; echo $_SESSION['tabservice'][$i]['datecreation']; echo '</td>';
			echo '<td>'; echo $_SESSION['tabservice'][$i]['pills']; echo '</td>';	
	echo '</tr>';    
} 
echo '</tbody>';    
echo '</table>'; 
echo '</div>';  



Merci d'avance de vos idées et suggestions en retour.
Modifié par metal971 (16 Feb 2011 - 09:24)