I couldn't find iframe creation by javascript on the webpage that you linked.
myiframe=document.createElement('iframe');
myiframe.setAttribute( ...
...
document.body.appendChild(myiframe);
BTW: If you're just trying to get an asynchronous response to a click from a server object, I definitely agree that
you should look into AJAX.