Skip to content
Advertisement

Tag: jquery

how to remember scroll position of page

I am submitting some data to my database then reloading the same page as the user was just on, I was wondering if there is a way to remember the scroll position the user was just on? Answer I realized that I had missed the important part of submitting, so, I decided to tweak the code to store the cookie

Resize textarea based on lines of text that comes from php/mysql variable

I dont need it to resize automatically as you type, I just need it to be the correct size when the page loads the variable is $row[‘text’];