+ 3

"Enter" key for go to next page in web course

SoloLearn, please, add into "web course" something like this: the user presses "Enter" key and that takes him to the next page. On quiz page "Enter" accepts form and go next page, but on info page it doesn't work. I actually solved this with the following code and it works: ``` $(document).keypress(function(e) { if(e.which == 13) { $('#textView > button:visible').trigger('click'); } }); ``` Using at Google Chrome with Custom JavaScript for websites: http://gander.solutions/sololearn-enter-for-go-to-next-course-page

8th Nov 2016, 9:23 AM
Adam Gąsowski
Adam Gąsowski - avatar
2 odpowiedzi
+ 10
If you have any suggestions, mail them to sololearn at info@sololearn.com
23rd Apr 2017, 4:05 PM
Harshit Gupta
Harshit Gupta - avatar
0
kudos
8th Nov 2016, 4:21 AM
மனோஜ்குமார் பழனிச்சாமி
மனோஜ்குமார் பழனிச்சாமி - avatar