Purchase Solution

Display text on mouse click using plain HTML

Not what you're looking for?

Ask Custom Question

I have a problem where I am supposed to make a 3x3 table with columns and rows numbered 1,2,3. Each table cell has to have identical width and height of 50 pixels and initially all cells are empty. That part I have done.

However, clicking on table cell that is at the intersection of column number i and row number j should display the value of the sum i+j at the center of this cell. This should work by clicking on any cell point, that is, anywhere within that cell.

But I am supposed to use ONLY PLAIN HTML instructions, no JavaScript, no CSS, no Java or any other scripting or programming language.

How can I add that functionality to my table?
Any tips are appreciated. I just need to know what technique to use, I can probably implement it by myself.

Purchase this Solution

Solution Summary

Solution attachment has been tested working in Firefox (v11.0) and Opera (v11.62) browsers, but it should work with any standard browser that supports the HTML element property used in the solution.

Solution Preview

Attached example (487073.html) demonstrates how the value of a table cell can be altered on a mouse click using only plain HTML instructions (no JavaScript, no CSS, no Java or any other scripting or programming language). Please ...

Purchase this Solution

Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

Javscript Basics

Quiz on basics of javascript programming language.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.