create filter by keyword interface using AJAX
Registered by
Mona Wilson
create filter by keyword - use textbox to filter congregations listed in tablesorter
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- Accepted for couchapp-backbone
- Implementation:
- Unknown
- Milestone target:
- 0.3
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
DONE:
We've got this working with a simple textbox using a regular HTTP request (which refreshes the whole page).
TODO:
Continue using the textbox, but have the textbox (wait 300ms after a keypress, then) send the keyword to the server via an AJAX request, and have the server respond with a JSON list of congregations matching that keyword. Then handle the JSON response by writing the JSON data to the table, replacing its original content. That way, the table's contents are refreshed to match the keyword, almost instantaneously.
(?)