Slider and toggle button that update the database in realtime

Slider and toggle button that update the database in realtime

First time JQuery user (my background is in ColdFusion). I need to work on a project that involves having a slider and a toggle button that update a database in realtime (without reloading the page). I would also like the ability for elements on the page (like text values) to update in realtime based on what is in the database. Can someone please help me get started on how this sort of thing is done?