Well I'm using an autocomplete plugin with 2 input, where I put the value in 1 input and the 2nd is filled in. 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 resolve this?
Follow 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" >