We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello when the page have scroll and click to edit field the scroll jump to top page , i have tested this solution but not work : https://stackoverflow.com/questions/3252730/how-to-prevent-a-click-on-a-link-from-jumping-to-top-of-page?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa Sorry for my bad english Best regards
The text was updated successfully, but these errors were encountered:
The accepted answer there (below) should work. If not, please post your code
$('a.someclass').click(function(e) { e.preventDefault(); });
Sorry, something went wrong.
Hello not works , this my code :
$('a').click(function(e) { e.preventDefault(); }); $.fn.editable.defaults.mode = 'popup'; //make username editable $('a.lien').editable({ url: '/?do=liens&action=save' }); $('a.episode').editable({ url: '/?do=liens&action=save_episode', }); $('a.saison').editable({ url: '/?do=liens&action=save_saison', });
No branches or pull requests
Hello
when the page have scroll and click to edit field the scroll jump to top page , i have tested this solution but not work : https://stackoverflow.com/questions/3252730/how-to-prevent-a-click-on-a-link-from-jumping-to-top-of-page?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
Sorry for my bad english
Best regards
The text was updated successfully, but these errors were encountered: