Skip to main content
Fixed grammar formatting, references to HTML tags, Eliments & the Attributes ID. Added markdown where it was appropriate to do so, and in situations where the question benifited from it.
Source Link
JΛYDΞV
  • 10.9k
  • 8
  • 60
  • 94

I have this input element:

  <input type="text" class="textfield" value="" id="subject" name="subject">

Then I have some other elements, like other text inputs, textareas tag's & <textarea> tag's, etc...

When the user clicks on that input withthe #subject<input id="#subject">, the page should scroll to the page's last element of the page, and it should do so with a nice animation. It should be a scroll to bottom and not to top (It should be a scroll to bottom and not to top).

The last item of the page is a submit button with #submit:

<input type="submit" class="submit" id="submit" name="submit" value="Ok, Done.">

The animation should not be too fast and should be fluid.

I am running the latest jQuery version. I prefer to not install any plugin but to use the default jQuery features to achieve this.

I have this input element:

<input type="text" class="textfield" value="" id="subject" name="subject">

Then I have some other elements, like other text inputs, textareas, etc.

When the user clicks on that input with #subject, the page should scroll to the last element of the page with a nice animation. It should be a scroll to bottom and not to top.

The last item of the page is a submit button with #submit:

<input type="submit" class="submit" id="submit" name="submit" value="Ok, Done.">

The animation should not be too fast and should be fluid.

I am running the latest jQuery version. I prefer to not install any plugin but to use the default jQuery features to achieve this.

I have this input element:

  <input type="text" class="textfield" value="" id="subject" name="subject">

Then I have some other elements, like other tag's & <textarea> tag's, etc...

When the user clicks on the <input id="#subject">, the page should scroll to the page's last element, and it should do so with a nice animation (It should be a scroll to bottom and not to top).

The last item of the page is a submit button with #submit:

<input type="submit" class="submit" id="submit" name="submit" value="Ok, Done.">

The animation should not be too fast and should be fluid.

I am running the latest jQuery version. I prefer to not install any plugin but to use the default jQuery features to achieve this.

Active reading.
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 109
  • 132

jQuery scroll Scroll to an element with jQuery

jQuery scroll Scroll to an element with jQuery

I have this input element:

<input type="text" class="textfield" value="" id="subject" name="subject">

Then I have some other elements, like other text inputs, textareas, etc.

When the user clicks on that input with #subject, the page should scroll to the last element of the page with a nice animation. It should be a scroll to bottom and not to top.

The last item of the page is a submit button with #submit:

<input type="submit" class="submit" id="submit" name="submit" value="Ok, Done.">

The animation should not be too fast and should be fluid.

I am running the latest jQuery version. I prefer to not install any plugin but to use the default jQuery features to achieve this.

jQuery scroll to element

I have this input element:

<input type="text" class="textfield" value="" id="subject" name="subject">

Then I have some other elements, like other text inputs, textareas, etc.

When the user clicks on that input with #subject, the page should scroll to the last element of the page with a nice animation. It should be a scroll to bottom and not to top.

The last item of the page is a submit button with #submit:

<input type="submit" class="submit" id="submit" name="submit" value="Ok, Done.">

The animation should not be too fast and should be fluid.

I am running the latest jQuery version. I prefer to not install any plugin but to use the default jQuery features to achieve this.

Scroll to an element with jQuery

I have this input element:

<input type="text" class="textfield" value="" id="subject" name="subject">

Then I have some other elements, like other text inputs, textareas, etc.

When the user clicks on that input with #subject, the page should scroll to the last element of the page with a nice animation. It should be a scroll to bottom and not to top.

The last item of the page is a submit button with #submit:

<input type="submit" class="submit" id="submit" name="submit" value="Ok, Done.">

The animation should not be too fast and should be fluid.

I am running the latest jQuery version. I prefer to not install any plugin but to use the default jQuery features to achieve this.

edited tags
Link
Kamil Kiełczewski
  • 90.2k
  • 32
  • 383
  • 361
Rollback to Revision 4
Link
TylerH
  • 21.1k
  • 72
  • 78
  • 105
Loading
edited tags
Link
John Slegers
  • 46.5k
  • 22
  • 202
  • 170
Loading
add some formatting; remove "much"
Source Link
user664833
  • 19.2k
  • 20
  • 94
  • 147
Loading
Removed bad tag
Link
RustyTheBoyRobot
  • 5.9k
  • 4
  • 37
  • 55
Loading
deleted 103 characters in body
Source Link
Jesse
  • 8.7k
  • 7
  • 48
  • 57
Loading
Question Protected by CommunityBot
Source Link
DiegoP.
  • 45.6k
  • 34
  • 90
  • 107
Loading