?
Solved

html cursor up and down, side to side like excel

Posted on 2013-05-29
4
Medium Priority
?
296 Views
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?
0
Comment
Question by:KeithMcElroy
[X]
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
4 Comments
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 2000 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"> 
<thead>
  <tr>
    <th>Item</th>
    <th>Item details</th>
    </tr>
</thead>
<tbody contenteditable="true">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
</tbody>
</table>
				

Open in new window

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

Author Comment

by:KeithMcElroy
ID: 39206812
do i need to declare html 5 in the header somewhere?
In chrome, it is not working.
0
 
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>
<head>
<title></title>
</head>

Open in new window

0
 

Author Comment

by:KeithMcElroy
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!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

800 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