If it still crashes let me know and I'll look into it more.
- Danger
On 2/28/06, Jan Deppisch <[EMAIL PROTECTED]
> wrote:
Hi,
on my page I start an ajax-request which returns rhtml-code (I use
Rails) looping over some objects. When I place the following code within
the loop my browser (FF) crashs:
<script>
var set_std_objekt = function (id) {
new Ajax.Updater('divname', '/dosomestuff', {
asynchronous:true,
evalScripts:true
})
}
</script>
<a href="" (1); return false;"><img...></a>
What's wrong here ?
Instead when I include the "new Ajax.Updater..." in the
onclick-attribute then it works:
<a href="" Ajax.Updater....; return false;"><img...></a>
I'm new to the prototype stuff so maybe someone could give a hint :)
Thx
Jan
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs