On Sep 4, 12:19 pm, JDawson <[EMAIL PROTECTED]> wrote: > <input type="image" id="btn_recipient_search" src="btn_search.gif" > alt="Search" /> > > $("#btn_recipient_search").click( > function() { > getRecipients("John", "Doe"); > } > );
i see you solved it but if you want it to work with an <input> you probably need to use preventDefault() try: $("#btn_recipient_search").click( function(e) { e.preventDefault(); getRecipients("John", "Doe"); } );