function commit()
{
var length = window.document.location.href.indexOf(location.pathname);
var http = window.document.location.href.substring(0,length);
var v = $('#system_id').find(':selected').val();
window.location.href = ""+http+"/boards?system_id="+v+""; //这个是跳转到指定url
}
初学rails项目总结(一)
最新推荐文章于 2023-07-25 11:28:42 发布