• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

hyperlink - dont want it to move to top of page

Hi,

I am showing rows of records.
I want to be able to click on a hyperlinked edit image for a particular row and want the row to be changed to a form entry via ajax. I am encountering it such that the row changed to a form entry but the page goes to the top... I had to scroll down back to the row in order to do editing.

Is it possible to do it such that it will not move up to the top but rather remain at that row and if possible to set focus on a edited field?

what sort of <a href.. type of coding should I use to prevent moving to top?

Thanks.
0
LimMH
Asked:
LimMH
1 Solution
 
remorinaCommented:
You can use the below
<a href="#" onclick="return false;">Will Not Move Up</a>

Open in new window

0
 
LimMHAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now