Displaying 3 results from an estimated 3 matches for "ajaxtarget".
2007 May 13
2
prototype - get inputs()
hi,
i have the following function which is not working for me:
function uploadimg (theform,ajaxAction,ajaxTarget){
var imgDesc = theform.getInputs(''page1'', ''text'',''imgDesc'');
alert(imgDesc[0]);
defaultAction=theform.action;
defaultTarget=theform.target;
theform.action=ajaxAction;
theform.target=ajaxTarget;
theform.submit(); //Submit the form.
/...
2006 Apr 03
5
Event.observe on IE
...doesn''t seem to get the
onclick events registered. Could someone with IE take a look?
http://hank.org/demos/ajax3.html
The js is included in that file. There''s alerts() to show when the
events are registered.
The idea of the code is to look for any elements with a "ajaxtarget"
class, and then adds events for all children that have a class of
"ajax".
<div id="target" class="ajaxtarget">
<ul class="navlist">
<li><a href="future3" class="ajax">future</a>...
2006 Sep 29
1
Error on drag n drop list after refreshing list using AJAX
...own''; break;
} //end-switch-case
listItemString += ''<li id="test''+h+''" style="color:''
+listItemColor+'';">''+results[h+1]+''</li>'';
} //end-for
ajaxTarget.innerHTML = listItemString;
}else{
alert("An error has occurred: "+ajaxReq.statusText);
} //end-if-else-status
} //end-if-readyState
}//end-processRequest()
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message...