0
suppose en #main div id de la table ont foo_userId qui représentent le contenu de l'utilisateur ont id userIdjQuery sélecteur complexe: chaîne hiérarchique variables
je sélectionner table avec userId 1234 avec identifiant donné à titre de variable
<div id="main">
<table id="foo_1234_m"></table> //select this
<table id="f0006458_m"></table>
<table id="f00_n"></table>
<table id="foo_9999_k"></table>
</div>
$('div#main>table#foo_1234_m')
// foo : string , 1234 : variable , m variable
//////////i'm trying something like :
var userId='1234'
var tableID='foo_' + userId // from this
$("div#main>table[id^='foo_1234']") // how to make this