Hi,
first,you'd better push the checkbox id(or SharePoint) into an array;
then use ajax pass the array value to(php,aspx side)->Mysql
last read Mysql,the users will see the SharePoint on the homepage.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$("#abv").click(function(){
var ar=new Array();
$("input:checkbox:checked").each(function(){
alert("you choose:"+$(this).parents('span').text());
ar.push($(this).attr('id'));
});
alert(ar);
});
})
</script>
<div id="div1">
<input type="button" id="abv" value="test"/>
</div>
<span><input type="checkbox" id="1">http:
<span><input type="checkbox" id="2">http:
<span><input type="checkbox" id="3">http:
<span><input type="checkbox" id="4">http:
<span><input type="checkbox" id="5">http: