Displaying 1 result from an estimated 1 matches for "myupdateid".
2008 Jan 01
2
Ajax.Updater from within an IFrame
...''t like file uploads, so my only choices are the
(hidden) IFrame approach or a flash/perl/whatever scenario, which
seems too much for the simple task I''m trying to achieve.
This is the code I''m using (simplified, but same functionality):
function doMyFancyUpdate()
{
// myUpdateID is within the parent frame
var myID = top.document.getElementById(''myUpdateID'');
var myURL = ''showfile.php'';
new Ajax.Updater(
myID,
myURL,
{
method: ''post'',
onException: function(ele, ele2) { alert("Error!\n" + ele2.m...