Solved

positionnig to a table row

Posted on 2008-10-16
6
218 Views
Last Modified: 2013-11-19
i've used it before...isn't there a character entity that will position the browser to a given table row?
it might be considered a CSS attribute....
0
Comment
Question by:globalterminal
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 22735949
From my understanding of your question, you want to focus the cursor onto a specific table cell or textbox when the page loads.
You do this with javascript similar to below:

onload="document.myform.textbox1.focus()"

If I have interpreted your question incorrectly then please clarify.
0
 
LVL 18

Expert Comment

by:Rartemass
ID: 22735965
The other option I see with your question is you want to set an anchor point in the page.

See this link for coding:
http://www.hypergurl.com/anchors.html
0
 

Author Comment

by:globalterminal
ID: 22735981
i want to position the browser at a certain row in a <table>.
in this case, the user selects a row from a <table> ...goes to an update page....and when returns...the browser position(centers) on the row that was just updated.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:globalterminal
ID: 22736009
i know what row to position the browser based on the completed update, so when i redirect back to
listing page...i know what row from the database i need to position.  
0
 

Author Comment

by:globalterminal
ID: 22736094
i'm positive there an attribute(it might a CSS thing) that is used on the <tr> tag that centers the browser on that table row.
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 125 total points
ID: 22736375
A simple way is to have an anchor point for every row in the table, then when you return you can tell it to go to the specific anchor point.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now