Hi
A little (probably simple) Javascript Ajax question...
I have a list of names, and the list is generated in a file that is opened by ajax. When I click the names they are moved to another database and the list is updated without that name...
So the whole list is in the file that is opened by ajax..
And on the main page I only have:
<div class="text">My headline text</div>
<div id="showlist"></div>
where showlist is the div showing the list...
It works as it should, but the problem is that when I open the mainpage, the showlis div is not shown.
Right now it's only in test so I have put a button on the side like this:
<input type="button" onClick="UpdateList('', '<?echo $id;?>', '', 'showlist', '');">
When I click this the ajax is activated and the list is shown..
But how do I activate the ajax so the list is shown at startup, without this button ?
all the best
Michael