I have a variable which contains IDs.
var mediaid = '5';
And i have a variable set
var t1 = 'First';
var t2 = 'Second';
var t3 = 'THird';
etc...
I'm trying to get variable's variable inside of jQuery's .append function.
$('#block').append('<span>{t+mediaid}</span>');
For example if mediaid is 3, {t+mediaid} should be t3. But i have syntax errors. Can you fix it..
t['lorem','ipsum','lorem'....]) i can't find 11th element easilyt[11-1]