D'oh, in my "correction" I went and repeated the error. Should read:
<form name='formular'>
Track: <input type='lastfmtext' name='track' />
Artist: <input type='text' name='artist' />
<input type='button' value=' go! ' onclick='search();' />
</form>
On Jan 27, 11:54 am, Dan <[email protected]> wrote:
> The specific problem which is causing that error is that you are
> submitting the form with no action.
>
> Change the input type of the button to "button" instead of "submit",
> and move "onsubmit='serch();'" from the form tag to the button (as
> onclick).
>
> i.e.:
>
> <form name='formular'>
> Track: <input type='lastfmtext' name='track' />
> Artist: <input type='text' name='artist' />
> <input type='submit' value=' go! ' onclick='search();' />
> </form>
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en.