Thank you ;o) I might consider getting some new glases *LOL*
On 4 Jul., 14:57, Fábio M. Costa <[email protected]> wrote: > youve forgotten the new keyword: > > function deleteRole(roleId) { > var req = new Request({ > method: 'post', > url: '/Role/Delete/' + roleId > }); > req.send(); > > } > > Fábio Miranda Costa > Engenheiro de Computaçãohttp://meiocodigo.com > > > > On Sat, Jul 4, 2009 at 8:52 AM, websam <[email protected]> wrote: > > > I try to do this : > > > function deleteRole(roleId) { > > var req = Request({ > > method: 'post', > > url: '/Role/Delete/' + roleId > > }); > > req.send(); > > } > > > But get this error in firefox 3 > > > uncaught exception: Security error (NS_ERROR_DOM_SECURITY_ERR) > > > The web application is an asp.net mvc app.- Skjul tekst i anførselstegn - > > - Vis tekst i anførselstegn -
