I have simple form with:
- two input fields facebook event linkandname
- import detailslink next to- facebook event linkinput - when I clickthis, it changes it's- hrefattribute from- /events/newto- /events/new?fb_event_id={fb_event_id extracted from link}and makes new request with this updated- href.
- submitbutton to submit form.
http://www.bootply.com/KMfGxnrqxf
When I fill facebook event link input with for example: 
https://www.facebook.com/events/123 and click import details it all works fine - changes link to /events/new?fb_event_id=123 and makes new request.
Now I try to do the same by pressing enter key instead of mouse click.
It changes href to the correct one, but doesn't request this new url.
Any idea why?
 
     
     
    