glad u got it I used my php knowledge, becoz basically I dunno Java !

from alert(x + 'this .....') u can get the email which is entered in the box