markbates / markbates/jquery-bootstrap-pagination

how to bind the attribution of href of the 'a'/?

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
89
Forks
38
PR merge metrics
No merged PRs in 30d

Description

$("#my-pagination-section").data("paginationView");
what's means of the paginationView?

i update the href by attr method of jquery,then i clicked the pagination button ,start with jump into the new page,bacause of the address of href ,it's strange that rerender the page,the active pagination is keep the prior setting.how to slove?

eg .current-page: 1 ,default 1
when i click the a which bind the value href,i fitstly jump into the address of href ,a few seconds to go back to the current-page .

i don't know you got it ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the pagination flow around #my-pagination-section, paginationView, and the href updated with jQuery's attr method. Trace why navigation briefly changes page and then restores the prior active pagination state. Done means the href navigation leaves the active page on the requested page and the behavior is explained or corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, jquery
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.