I tried to use focus for first input field on the form. but it doesn\'t work. When I call attr(\"id\") for that input it worked. When I call focus f
focus
attr(\"id\")
You can also use
$.colorbox({ ..., trapFocus: false });
to disable focus inside colorbox