Hi there,
When I click one of the cells of a table that I have on an HTML page, my javascript function is called.
One of the function's tasks is to assign the contents of the title attribute of whatever element was clicked to call the function, (in this case a table cell), to a variable.
I am using:
Whenever I
test to see what has been assigned to the variable, I get 'undefined'. Does anyone know what I might be doing wrong?
Many thanks
Joe