In excel it is possible to highlight a range of cells and view the ‘sum’ in the ‘status bar’.
Can this be done in IE6 using Javascript and a HTML table ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is some code to get you started, using jQuery. Of course there are many ways you could improve on it.
(EDIT: One thing to check is how well it works in IE. I think you need to add something like
this.onselectstart = function() {return false};in themousedownevent handlers to disable text selection in IE, but I don’t happen to have IE handy at the moment.)Demo here.