Input focus with jQuery

Posted on Mon 16 June 2008 in jQuery • Tagged with focus, html, jqueryLeave a comment

Form input focus always seems a pain to me, I don't like all of the generated inline javascript that struts or other frameworks add to accomplish this and it always seems to be one issue or another. So here's a simple solution that applies focus to the last ...

Continue reading

Default html button submit on enter with JQuery

Posted on Thu 24 April 2008 in jQuery • Tagged with html, jquery, submitLeave a comment

I basically needed the update button to be the default action on clicking enter in the form, but there were multiple submit buttons in my form and they weren't in the order I needed due to UI design. This was a quick and dirty solution to select an html ...

Continue reading