114
Views
2
Comments
Jquery code in mobile
Question

Hi,


Im trying to insert jquery script to set the position of scroll bar in desired position 

$(".content").animate({ scrollTop: 100 }, "slow");, when i click a link, but it is throwing an error as "$" is not defined. This error message is showing whenever is use Jqeury. Please suggest how to fix this issue.


thanks in advance

Ekadeep.K

2018-09-07 10-04-42
Suhas Jamdade

Hello Kuruma Ekadeep,

You need to add the jquery plugin.

2018-09-07 10-04-42
Suhas Jamdade

Suhas Jamdade wrote:

Hello Kuruma Ekadeep,

You need to add the jquery plugin.

Add this jquery in your mobile app


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.