0
In the case below:
Select textarea text by clicking
If I want an example1 variable, example2, exampleN. As I declare in jQuery? I can’t do it like this...
$(document).on('click', 'input[type=text][id=valor_unitario"+id+"]', function() {
this.select();
Correct?
And how do I insert into jQuery more than one input(e.g.: exampleN and helpN)? also can not so...
$(document).on('click', 'input[type=text][id=valor_unitario1]', , 'input[type=text][id=quantidade1]', function() {
this.select();
Right? In this case it would be right...
$(function() {
$(document).on('click', 'input[type=text][id=valor_unitario1]', function() {
this.select();
});
$(document).on('click', 'input[type=text][id=qnt1]', function() {
this.select();
});
});
Any suggestions?