1.html
代码1:下面代码 在html设置  然后JS 中怎么接收<script type="text/javascript">
    var id = "2";
    var classid = "3";
    var tid = "4";
    var tempid = "5";
    var title = "中文";
    var ids = "中文";
</script>mail.js
代码2:   classid=" + classid + "&tempid=" + tempid + "&title=" + title + "&ids=" + ids + "&tid=1   中 这样   具体要怎么写   
    $(document).ready(function() {
function loading_show() {
$('#loading').html("<img src='/pagination/images/loading.gif'/>").fadeIn('fast');
}
function loading_hide() {
$('#loading').fadeOut('fast');
}
function loadData(page) {
loading_show();
$.ajax
({
type: "GET",
url: "/e/action/List.php?classid=" + classid + "&tempid=" + tempid + "&title=" + title + "&ids=" + ids + "&tid=1",   //想这样! 重html 中读取值
data: "page=" + page,
success: function(msg)
 {
$("#container").ajaxComplete(function(event, request, settings)
 {
loading_hide();
$("#container").html(msg);
});
}
});
}
loadData(1);
$('#container .pagination li.active').live('click',
function() {
var page = $(this).attr('p');
loadData(page);
});
$('#go_btn').live('click',
function() {
var page = parseInt($('.goto').val());
var no_of_pages = parseInt($('.total').attr('a'));
if (page != 0 && page <= no_of_pages) {
loadData(page);
} else {
alert('Enter a PAGE between 1 and ' + no_of_pages);
$('.goto').val("").focus();
return false;
}
});
});
这样 具体要怎么写      在HTML中定义个值     JS   怎么接收htmlfunctionjavascripturl