I'm trying to check to see if an div called .errormsg exists and if it does then I don't want anything to happen but if it doesn't exist i want my form to redirect to a new URL after it. This is what I've done but I'm not sure it's correct at all, I'm only learning so any help would be much appreciated
thanks