I want to make a autocomplete textbox. I have an Entity Location
@Entity
public class Location {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private int lId;
private String lName;
public Location() {
super();
}
public Location(int lId, String lName) {
super();
this.lId = lId;
this.lName = lName;
}
//getters and setters
It should be something like this
I have no idea how to complete this task. I have tried jQuery Autocomplite, but it wasn't success. Can anyone explaine me, how can i make it works. I have already tried this solution. But it didn't help me. It doesnt work.