Can't seem to get scriptalicious AJAX Request to work
<script type="text/javascript" language="JavaS cript">
window.onload=f unction() {
$("list").oncli ck = function () {
new Ajax.Request('/servlet/ListAndDeleteBl ogAjax?action=l ist', {method: 'get', onsucess: function(transp ort){$("listDiv ").update(trans port.responseTe xt)}});
}
</script>...
User Profile
Collapse
-
Sorry The non working code is like this:
<script type="text/javascript" language="javas cript">
window.onload=f unction() {
document.getEle mentById("listD iv").onclick = function(){new Effect.BlindDow n(document.getE lementById("lis tDiv"));}
}
</script>...Leave a comment:
-
Can't seem to get scriptalicious AJAX Request to work
I'm having significant trouble getting the scriptalicious or dojo toolkits to work for me. For instance I'm trying to implement a simple blinddown in my page. If I were to do this:
<div id="listDiv" onclick="new Effect.BlindDow n(this)">Show My Hidden Data</div>
it will work.
However if I try to move the effect like so:
<script type="text/javascript"...
No activity results to display
Show More
Leave a comment: