Display errors on jquery Tab Ui

Display errors on jquery Tab Ui

Hi all,

  I am using JQuery Tab UI  (jquery-1.4.2.min.js and jquery-ui-1.7.custom.min.js) .
  The tabs are working perfectly.
  However I would like to display error icon for example a tick on edge of the tabs .

  Basically, my forms which have multiple tabs and a submit button (Servlet/Struts). When the submit button is clicked, a javascript validation is called to display validation error message on the tabs.

  Anyone have any ideas how to do it ?

Thanks