10-10-2007, 04:02 PM
|
#4 (permalink)
|
|
The Reckoner
Join Date: Sep 2007
Posts: 437
Thanks: 22
|
Ah, I see. Try this:
Add the following code to your addRow function:
Code:
var pAnchor = document.createElement('a');
pAnchor.href = 'mailto:' + email;
var pSpan = document.createElement('span');
pSpan.className = 'notaction';
pSpan.appendChild(pAnchor);
Then replace this code:
Code:
document.createElement("SPAN");td4.appendChild(document.createTextNode(email));
with:
Code:
td4.appendChild(pSpan);
|
|
|
|