debugging code to see what IE is doing.
Also check for line feed along with enter key.