[jQuery] ajaxForm won't submit when <input> has name=
Hi,
I have a little piece of code like this:
<form id='rssForm' action='/ajax/addRss/' method='post'>
<input class='field' type='text' value='http://'/>
<input type='submit' value='submit'/>
</form>
and
$(document).ready(function(){
$('#rssForm').ajaxForm(function() {
alert("Thank you for your RSS link!");
});
}
Which works ... but when I change the text input to add a name=""
attribute:
<input name='rss' class='field' type='text' value='http://'/>
it doesn't work. The query submits, but just spins out on the
response. In firebug, you see this as
Loading ....
Any ideas?
Very weird!
-Sandy