Đã hoàn thành

Typeahead search for website with json objects

I am using Typeahead for my website and it is working for simple results but I want to map my autosuggest search to json objects and the search should return a text value to the search box and a ID to a hidden input field.

The json looks like:

{

"data": {

"hotell": [{

"name": "STF Skeppsholmen Hostel, Flaggmansv\u00e4gen 8(Stockholm)",

"id": "269315"

}, {

"name": "Biz Apartment G\u00e4rdet, Sandhamnsgatan 67(Stockholm)",

"id": "268525"

}]

},

……….

}

but can be modified. When a user selects “STF Skeppsholmen Hostel, Flaggmansvägen 8(Stockholm)” I want the text input filed to be: “STF Skeppsholmen Hostel, Flaggmansvägen 8(Stockholm)” and the hidden input field to be 269315.

I guess bloodhound is needed to do this?

I also want the file to be preloaded if that is possible to speed up the search.

Current code is here: [url removed, login to view] this solution works but is based on the data source [url removed, login to view] which only includes one field, the name and not the ID.

Change this to [url removed, login to view] to get the json with ID and it wont work.

To avoid bot bids include the keyword “hotelStockholm” in your response. I will only consider offers if this keyword is included I your response.

Kĩ năng: AJAX, Bootstrap, Javascript, jQuery / Prototype

Xem nhiều hơn: search this website, search on website, search in code, search for work, search for solution, software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, php search text current page, aspnet internal website search project, internal website search aspnet, website search popup display results, website search video, submit website search engines, apple website search clone

Về Bên Thuê:
( 6 nhận xét ) Stockholm, Sweden

ID dự án: #10907633

Được trao cho:

adelline

hotelStockholm Hello, I have experience using typeahead and I could help you with your search. Being a more advanced type of object that you need to search, Bloodhound would indeed be needed. For preloading the Thêm

€55 EUR trong 2 ngày
(12 Đánh Giá)
4.6

20 freelancer đang chào giá trung bình €156 cho công việc này

rinsadsl

Hi there I have already worked with Typeahead and JSON. I can help you out on this project. Looking forward to hear from you. Rinsad

€157 EUR trong 3 ngày
(238 Nhận xét)
7.1
sdgcode

"hotelStockholm" , Hi, I can fix your script to insert id in hidden input "hId" , and I will preload data2.php. If you have question you can contact me. Regards

€111 EUR trong 1 ngày
(72 Nhận xét)
6.4
kalidass678

hotelStockholm Hi, i am interested on your project. i can start immediately your project. you can see my profile i have done lot of projects with client satisfaction. So, if you provide this project then i Thêm

€100 EUR trong 2 ngày
(87 Nhận xét)
6.4
Vayne

"hotelStockholm" Hello, I went through your webpage and understand what you want. You will need custom Javascript to do what you want. Yes, its better to load the data source to the frontend so that the resul Thêm

€150 EUR trong 4 ngày
(30 Nhận xét)
6.0
stdhtelkom

Hello, I am very interested and ready. I am understood your needs. Looking forward to working with you. Thanks and all the best, Steve

€100 EUR trong 3 ngày
(23 Nhận xét)
5.9
JulijanAndjelic

Hi there, JS expert here, I've worked many times with typeahead too and always used JSON data. If your data is static then you could include it in the page, but then again, that will slow down the initial page lo Thêm

€64 EUR trong 0 ngày
(32 Nhận xét)
5.6
€100 EUR trong 3 ngày
(46 Nhận xét)
5.5
yeuem1vannam

Dear, I have 5+ years experienced as full stack developer, and worked for several big client. I have a strong love with Javascript, so I always try to learn and do Javascript better. I'm really experienced wit Thêm

€222 EUR trong 0 ngày
(5 Nhận xét)
4.4
faisdesign

hotelStockholm Hello, I have read all the requirements of this project and my team can provide high quality professional results at a low cost. Our team consists of 4 programmers/designers with over 6 years exp Thêm

€155 EUR trong 3 ngày
(10 Nhận xét)
4.4
toseef3

Hello, Hope you are fine. I have read the job description, I am willing to work with you as per your requirements. I have already done similar work and get great feedback. Please open chat with me so we can dis Thêm

€249 EUR trong 7 ngày
(7 Nhận xét)
4.2
arityinfoway

hotelStockholm Hello, Hope You are doing well. ARITY INFOWAY is complete web based solutions company. We able to provide web solutions from scratch to hosting . We always go through every point of your project Thêm

€157 EUR trong 6 ngày
(10 Nhận xét)
4.1
dmonco

Ready to work! We have great experience. Some works can be found here [url removed, login to view] Feel free to contact and hire.

€200 EUR trong 5 ngày
(9 Nhận xét)
3.8
appnwebsol

Hello hotelStockholm Greetings we have gone through the details and we will feel glad to assist you in the job. please check previous work which will surely make you believe in us and we will be provid Thêm

€244 EUR trong 7 ngày
(2 Nhận xét)
3.0
€155 EUR trong 4 ngày
(4 Nhận xét)
2.6
seemasit

Respected Sir, I am seema. I have 5 years of competitive experience in web application development using PHP with CMS. Recently completed PHP and Wordpress project by me: --------------------------------- Thêm

€155 EUR trong 3 ngày
(2 Nhận xét)
2.6
rainstreamweb

Hello, This is not copy/paste message. I read your requirements. I can work with what you have requirement of. I have expertise in Ruby on Rails, Laravel, Magento, AngularJS, Core PHP etc. technologies and can w Thêm

€155 EUR trong 3 ngày
(3 Nhận xét)
1.3
€155 EUR trong 3 ngày
(0 Nhận xét)
0.0
masterdipen1989

within one hour i can complete this work. we have done lots of work on json and auto complete. Thanks, Dipen Patel

€277 EUR trong 1 ngày
(0 Nhận xét)
0.0
vladgenyl

Hello! hotelStockholm Can do this task for you very quickly. May start working right now. I have wide experience in writing utilities on C++/C#/PHP/Javascript (including client-servers scripts, web scraping, monitori Thêm

€150 EUR trong 3 ngày
(0 Nhận xét)
0.0
intellisoft5

Hello Sir/Madam, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver th Thêm

€155 EUR trong 3 ngày
(0 Nhận xét)
0.0