Hi,
I have 3 tables: lyrics, audios and map_lyrics_audios. I need to select one lyric from the lyrics xcrud instance and one audio from audios xcrud instance and then click a button that will enable me in functions.php to associate them in map_lyrics_audios table.
So far I know how to use the kind of code below to manipulate one table after having selected a row in the one instance displayed in my page.
Xcrud.request('.xcrud-ajax',Xcrud.list_data('.xcrud-ajax',{action: 'bulk_add_presence', task:'action',selected:items, table:'reserver_presentiel'}));
However when two instances are displayed in my page, I need to know how the JS code to use in order to access both selection in my functions.php.
Thanks in advance
I have 3 tables: lyrics, audios and map_lyrics_audios. I need to select one lyric from the lyrics xcrud instance and one audio from audios xcrud instance and then click a button that will enable me in functions.php to associate them in map_lyrics_audios table.
So far I know how to use the kind of code below to manipulate one table after having selected a row in the one instance displayed in my page.
Xcrud.request('.xcrud-ajax',Xcrud.list_data('.xcrud-ajax',{action: 'bulk_add_presence', task:'action',selected:items, table:'reserver_presentiel'}));
However when two instances are displayed in my page, I need to know how the JS code to use in order to access both selection in my functions.php.
Thanks in advance