[jQuery] Form plugin - target wont update and node cannot be inserted error

[jQuery] Form plugin - target wont update and node cannot be inserted error


Hi,
Im using the form plugin to preform a simple submit but have 2 issues
(possibly related!). My 'target' div does not update (even though i
see the successful response using firebug), and i also get an error as
follows:
Node cannot be inserted at the specified point in the hierarchy" code:
"3
This error only occurs if i do not specify a dataType='html'. Every
example i have looked at does not specify a dataType parameter, so im
not sure why i should need it?
Here is my simple code:
$('#signinForm').ajaxForm({
target:'#loginResponse',
url: '/ajaxutils',
type: 'POST',
resetForm: true,
});
And my html:
<div id="loginResponse"></div>
Can anyone advise on my the target wont update and why i need a
dataType parameter?
Best regards, Ben.