I need to call the datePicker
function by concatenating a fixed name with the name I get from a query. It's possible?
I tried this way:
$("validade_T'.$v_id'").datepicker({
Where validade_T
is the fixed value and $v_id
would be the value that comes from the bank. That way you returned the error inside jQuery.js:
Error: Syntax error, unrecognized expression: validity_T '. $ v_id'
throw new Error ("Syntax error, unrecognized expression:" + msg);