html cursor up and down, side to side like excel

Posted on 2013-05-29
Last Modified: 2013-05-30
Is there a jquery or other solution to making a html table allow user to arrow left, right, up and down?
Question by:KeithMcElroy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 15

Accepted Solution

Jagadishwor Dulal earned 500 total points
ID: 39206782
It's possible in html 5 just add contenteditable=true, See example Below:

<table width="100%" border="1" cellpadding="0" cellspacing="0"> 
    <th>Item details</th>
<tbody contenteditable="true">

Open in new window

In this example your <tbody> section have content editable and you can use cursor.

Author Comment

ID: 39206812
do i need to declare html 5 in the header somewhere?
In chrome, it is not working.
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 39207191
Which version of chrome you are using? It's working to me and it's  27.0.1453.94 . Or try adding html tag on the top like
<!doctype html>

Open in new window


Author Comment

ID: 39207647
Yes, that seemed to do it.
A follow up question, and actually what I should have put in my original question.
is there a way to cursor between input boxes each contained in the td cells?
Shall award points.
Thank you!

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

726 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