0
I need to call the function datePicker
concatenating a fixed name with the name I bring from a query. It is possible?
I tried that way:
$("validade_T'.$v_id'").datepicker({
Where validade_T
is the fixed value and the $v_id
would be the value that comes from the bank. This way returned the error inside jQuery.js:
Error: Syntax error, unrecognized Expression: validade_T'. $v_id'
throw new Error( "Syntax error, unrecognized Expression: " + msg );
It comes from a
echo
in php ? This$v_id
comes from where ?– Isac
Yes, it’s from a PHP. The $v_id comes from a search in the Oracle database.
– Diego
are presenting the $v_id? if yes, do not need to identify it so in js.
– Luís Almeida