It looks like that code does more than simply check a single box.

It would be helpful to explain in more detail what you actually need
it to do.
And include the relevant HTML if possible.

There is a lot of jQuery checkbox code out there, so go Googling, and
don't expect people to just write your code for you if it's simple.




On Mar 12, 10:38 am, "FlashWebHost.com" <flash...@gmail.com> wrote:
> Can some one convert following code to jQuery ?
>
> function check(value)
> {
>         x = document.bulk_import.elements.length;
>         for(i=0;i<x;i++)
>     {
>                 if(document.bulk_import.elements[i].name == 'article_id[]')
>         {
>                         document.bulk_import.elements[i].checked = value;
>                 }
>         }
>
> }
>
> The function is used to check/uncheck all check box.

Reply via email to