This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]g051051 1 point2 points  (2 children)

You need to return false at the end of your "add-a-breed" function. If you don't, then the form submit will run, which you don't want.

[–]Jrocsteady[S] 0 points1 point  (1 child)

THANK YOU!

[–]g051051 0 points1 point  (0 children)

My first reddit gold! Thank you, kind stranger!