C
Cylix
In my javascript,
var col = document.createElement('td');
col.onclick=showContent;
....
....
function showContent(msg) {
alert(msg);
}
How can I pass the msg variable to the showContent function?
Thank you.
var col = document.createElement('td');
col.onclick=showContent;
....
....
function showContent(msg) {
alert(msg);
}
How can I pass the msg variable to the showContent function?
Thank you.