nothing changed.
also what's weird, when I do a simple alert(e.target.get('action')); -
IE returns 'save'
so why would it still post to 'home/save'?
full request:
$('ad-form')
.addEvent('submit',function(e){
e.stop();
alert(e.target.get('action'));
req = new Request.HTML({
url: e.target.get('action'),
onSuccess: function (responseTree, responseElements,
responseHTML, responseJavaScript) {
$('confirm').innerHTML += responseHTML;
}
});
req.post($('ad-form'));
});
On Oct 26, 1:28 am, Fábio M. Costa <[email protected]> wrote:
> strange that this is actually retuning values on ie6/7 and not throwing
> errors.
> you need to extend the target before using the mootools methods, because
> e.target is not extended for performance reasons.
>
> use:
>
> $(e.target).get('action');
>
> if it still doesnt work, try:
>
> e.target.getAttribute('action', 2);
>
> --
> Fábio Miranda Costa
> Solucione Sistemas
> Engenheiro de interface
>
> On Sun, Oct 25, 2009 at 11:22 PM, rutherford <[email protected]>wrote:
>
>
>
>
>
> > (from pagehttp://domain.com/home/):
>
> > <form action="save"....
>
> > ...'url' prop of Request.HTML ajax call in mootools event...
> > url: e.target.get('action')
>
> > FF, chrome return 'save' but IE returns 'home/save'
>
> > how can I force IE to return 'save'?