Hi,
I know C++ pretty well, but I am a total noob in javascript. I was reading a piece of code and trying to understand it. Hopefully the javascript syntax is pretty close to the C++ one so I didn't have much trouble figuring out what is happening. However, I came across a line of code that although I think I understand what it does, I can't find any online reference/documentation on the method/function used.
I'll try to give it summarised:
PHP Code:
function(id, row, status){
var td = new Element('td');
blah blah
td.set('html', row[i]);
}
My question is what is this "set()" method used on the last line? (I won't state what I think is happening).
If you want more context about the actual code see here: https://github.com/qbittorrent/qBitt...cTable.js#L251
(line 251)
Thanks, in advance.
Bookmarks