thiru arasu thiru arasu - 3 months ago 75
jQuery Question

How do i scrollRight in Jquery without Animate event?

How do i scrollRight in JQuery without animate event.
For scrollLeft ,we give like this


for scrollRight is possible without animate event?

scrollRight is possible with scrollLeft event?


$("body","html").scrollLeft('100'); Apply with in a value its will be scroll right.Example as shown below

For more Information

<!DOCTYPE html>
<script src=""></script>

<div style="border:1px solid black;width:100px;height:130px;overflow:auto">
The longest word in the english dictionary is: pneumonoultramicroscopicsilicovolcanoconiosis.

<button>scroll right</button>