0
Well I am using an autocomplete plugin with 2 input, where I put the value in 1 input and the 2nd and filled. The problem is that my system works with jQuery 1.7.2, because I have several functions with it. And this auto complete only works with jQuery 1.2.6. How do I fix it?
Follows my code:
$().ready(function () {
$("#singleBirdRemote").autocomplete("search.php", {
width: 260
});
$("#singleBirdRemote").result(function (event, data) {
if (data) {
$(this).parent().find("input[@name=b]").val(data[1]);
}
});
});
<input type="text" id="singleBirdRemote">
<input name="a" >
<input name="b" >
<input name="c" >
You do not need "@" in the ! " input[name=b selector]"!
– Danilo Gomes
I could simply use the previous question http://answall.com/q/118778/42575
– Danilo Gomes
the problem was because of @vlw
– Hugo Borges
puts the solution as an answer here for you to give the green "check".
– Leandro