|
|
|
@ -17,7 +17,8 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<li class="ml45 mb10">
|
|
|
|
|
<label><span class="c_red">*</span> <%= l(:label_type_project)%> :</label>
|
|
|
|
|
<%= select_tag :project_new_type, options_for_select([["开发模式", "1"], ["研讨模式", "2"], ["圈子模式", "3"]]) %><span class=" ml15 c_orange">为团队提供系列在线开发工具!</span>
|
|
|
|
|
<%= select_tag :project_new_type, options_for_select([["开发模式", "1"], ["研讨模式", "2"], ["圈子模式", "3"]]) %>
|
|
|
|
|
<span class=" ml15 c_orange" id = "project_newtype_select">为团队提供系列在线开发工具!</span>
|
|
|
|
|
</li>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<li class="ml45">
|
|
|
|
@ -90,12 +91,22 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
$(function(){
|
|
|
|
|
$('#project_new_type').change(function(){
|
|
|
|
|
alert($(this).children('option:selected').val("开发模式:面向小组开发,支持问题跟踪、代码托管、论坛交流等所有功能。"));
|
|
|
|
|
var p1=$(this).children('option:selected').val("研讨模式:面向小组研究,支持任务分工、论坛交流、资源分享等。");//这就是selected的值
|
|
|
|
|
var type = $('#project_new_type').val();
|
|
|
|
|
if(type == '1'){
|
|
|
|
|
$(this).next().html("<%= l(:label_type_des_development)%>");
|
|
|
|
|
}
|
|
|
|
|
else if(type == '2'){
|
|
|
|
|
$(this).next().html("<%= l(:label_type_des_research)%>");
|
|
|
|
|
}
|
|
|
|
|
else if(type == '3'){
|
|
|
|
|
$(this).next().html("<%= l(:label_type_des_friend)%>");
|
|
|
|
|
}
|
|
|
|
|
// var p1=$(this).children('option:selected').val("研讨模式:面向小组研究,支持任务分工、论坛交流、资源分享等。");//这就是selected的值
|
|
|
|
|
// var p2=$('#param2').val();//获取本页面其他标签的值
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|