/    Sign up×
Community /Pin to ProfileBookmark

page is moving to left a little bit when reset button is clicked

Hi,

I have a form and when I selected the existing record and click on the reset button all the fields are cleared and the entire page is moving to left a little bit around 20px. In my code we have used

selectedRow.scrollIntoView(false); in the reset functionality

if I remove the above code or made it true the fields are not clearing. In IE6 and IE7 only this is happening but not in Mozilla browser. Can any one tell me the solution for this.

Thank you,
Ranjith Karanam.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@FangAug 30.2007 — That code will not affect the resetting of form fields.

A page shifting while using a button will be a problem in the CSS.

We need to seethe documents to help further.
×

Success!

Help @RanjithKaranam spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...