[jQuery] Activate checkbox from URL

[jQuery] Activate checkbox from URL

<div dir="ltr">Hi all,<div>
</div><div>I'm using the Flot graphing plugin and I'd like to be able to have a specific series highlighted depending on the URL, as I want to link to it.</div><div>
</div><div>This will mean activating a checkbox depending on the URL, for example:</div>
<div>
</div><div>  /results/#science</div><div>
</div><div>Would activate the checkbox with ID of 'science' or something similar, so when the user clicks a link with that #science parameter, the default checkbox to be ticked on pageload is 'science'.</div>
<div>
</div><div>Any way this can be achieved easily in jQuery?</div><div>
</div><div>Many thanks,</div><div>-- Alex</div></div>