Displaying 3 results from an estimated 3 matches for "doonload".
Did you mean:
donload
2005 Sep 18
3
Attaching effects during onload
I''m trying to attach effects to elements in my onload handler and my
lack of Javascript-fu is showing... I want to call the effect from
the onclick handler of an anchor inside the div I want the effect to
apply to. Here''s what I''m trying to do:
function doOnLoad() {
var filters = document.getElementsByName(''filter'');
for (var i = 0; i < filters.length; i++) {
var filter = filters[i];
var trigger = filter.getElementsByTagName(''a'')[0];
//trigger.onclick = function...
2008 May 21
0
AJAX RETURNS HTML
...;text" name="empName">
<input type="submit" value="Submit">
</form>
<div id="resultId">
</div>
<script>
//code for calling ajax
//retruns response from server
document.getElementById(resultId).innerHTML = responseText;
doOnLoad();
</script>
After clicking the submit button the AJAX request happens.And the
response contains only html with script
Here is the response from server
<HTML>
<HEAD>
<SCRIPT LANGUAGE=''JavaScript''>
<!--
function doOnLoad() {
page = ''contractSea...
2006 Apr 28
4
Existing Tabs Helper?
Hi.
I''m going to start writting an ajax "tabs"" helper, but before starting to
reinvent the wheel (and in order to avoid DRO : don''t Repeat
Ourselves :-) ) I wish to know if there is any project for this already.
Thanks.