ciao
esiste il metodo match(stringa) che restituisce la posizione della stringa se questa è presente in ciò che controlli, oppure restituisce -1 se non presente.

Nel tuo caso
document.nomeform.nomecampo.value.match('@')