I have simple form with:
- two input fields
facebook event link
andname
import details
link next tofacebook event link
input - when I clickthis, it changes it'shref
attribute from/events/new
to/events/new?fb_event_id={fb_event_id extracted from link}
and makes new request with this updatedhref
.submit
button 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?