Thanks Garry
I am gonna try that way but i was wondering that all the checkboxes in the page occur in a different form. So if there are 10 search results there are 10 checkboxes in 10 different forms.
I am very new in this field so please excuse me if my question is really dumb!.But i will really appreciate your help Garry.