Hey Ryan!
Thanks for your advice, I appreciate it.
I've got this now:
<input type="checkbox" name="CMStudent_IDs" value="
some@email.com" /></
td>
<a class="blue_button" id="mail"><span>Email Selected Students</
span></a>
$("input[name='CMStudent_IDs']").click(function(){
var mylink = [];
$("input[name='CMStudent_IDs':checked]").each(function(i){
mylink.push($(this).val());
});
$("a#mail").setAttr("href", "mailto:" + mylink.join
(","));
});
However it doesn't seem to work for me, I check a couple of the
checkboxes but the link is never given an href so clicking it does
nothing. Can you spot anything out of sorts with the code?
Many thanks mate,
Rob