When the highlight is called, the source sets backgroundImage to "none", and I don't know how to set it up. You can always create your own highlight effect and just do not delete backgroundImage (I did this, just copy / paste the original and change one call to .css ()).
Another thing you can do, although this is not so clean:
$("#searchInputWithMap").click(function () { $(this).effect("highlight", {}, 3000); $(this).css('backgroundImage','url(/images/search4.png)'); });
There will be a space, but this will return the background image immediately after the start of the selection animation.
ryanday
source share