I am using the List.js library to search and sort a <table> element. The table resides in the main content area of the page after the header, navigation menu, and sidebar. When I sort any of the sort-able columns in the table, the page reloads and jumps back to the top of the page. This is expected, but I am trying to find a way around this so that after the page reloads, it scrolls back to the start of the <table> element (or to an anchor I place there). I basically would love if the page didn't move at all after sorting a column. I have looked through List.js's documentation, but to no avail. Maybe someone out there has used List.js extensively and knows a work-around for this situation.
I have the page up on my staging site right now if anyone wants to check out the problem: http://www.tomclark.info/staging/cca/find-an-acupuncturist.html
List.js library, can the page goto an anchor after sorting?
147 Views Asked by Thomas Clark At
0
There are 0 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in HTML
- Delay in loading Html Page(WebView) from assets folder in real android device
- Why does a function show up as not defined
- CSS Class is not applying to element (border width,color,and style attributes)
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- Automatically closing tags in form input?
- Positioning child at bottom of parent with scroll
- Remove added set of rows
- Website zoomed out on Android default browser
- Twitter Bootstrap horizontal form elements on a line
- http://sigmajs.org/ les mis tutorial - why are my canvases 0 height?
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- Svg containers not positioning properly
Related Questions in SORTING
- How to sort a multi-dimensional array by the second array in descending order?
- Ignore #VALUE! error in SORT function
- What is the code of the sorted function?
- Pull out first occurrences from array
- how to keep 10 biggest integer while reading a list in java?
- IQueryable<T> OrderBy<T> Extension Fails with Foreign Key Property
- Anagram test using C++ having compile time error
- How to sort a nested dictionary by the a nested value?
- sort through text file numerically by numbers in column
- Python elegant way to sort numerically named directories
- sorting all data on multiple pages by clicking on its header
- Sort oberservableArray by multiple parameters
- 2D array, sort rows by sum
- sorting RDD elements
- Less beautifier - format code
Related Questions in PAGE-REFRESH
- Stop form from refreshing the page on submit
- Appearance change after refresh
- angular2 render component before oninit
- Execute a javascript code only on refreshing a page after 10 seconds?
- What is analog of Response.AddHeader("Refresh", "10") in ASP. NET MVC5
- how to refresh php div every few seconds
- Constant reload of a DIV?
- csrf token doesn't match in form re-submission through browser's refresh button
- keeping changed color after refresh
- how to go back to previous page on click and reload with previously posted form data with php or js
- Force Google Chrome to display blank page on reload
- How to auto refresh a page on an embedded google form submit
- Xpages multiple file attachment conflict with partial/full update
- Asp.net show waiting indicator while refresh page (F5)
- How to refresh another page using javascript without opening the same page in a new tab
Related Questions in PARTIAL-PAGE-REFRESH
- Auto refreshing grid and being able to update part of data within the grid
- ASP.Net Static Value keep accumulate while refreshing the page
- PHP and JavaScript: Reload captcha image
- OnKeyup in input field tied to partial refresh not working on last backspace
- AJAX Div Refresh with PHP
- Refreshing Partial View in MVC 3
- 2 windows, 1 button needs to pull new image from LoremPixel
- partial view not showing
- Update Panel refresh on code behind function call in C# - Ajax
- How to call UpdatePanel1.Update() method from another page in ASP.NET
- Django: how to refresh html content on new database entry
- xpages how to force a partial refresh afterPageLoad
- how to update elements containing relation
- How can I keep a music player in the page footer that doesn't reload when I click a link to a subpage?
- Not refreshing iframe when refreshing whole page
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?