<div id="one1">1</div>
<div id="one2">2</div>
<div id="one3">3</div>
<div id="one4">4</div>
<div id="one5">5</div>
<div id="mess1" style="display:none">message1</div>
<div id="mess2" style="display:none">message2</div>
<div id="mess3" style="display:none">message3</div>
<div id="mess4" style="display:none">message4</div>
<div id="mess5" style="display:none">message5</div>
$(document).ready(function(){
$('#one1').click(show());
var show = function(c){
$('#mess'+c).show();
}
})
欢迎光临 源于生活 (http://bbs.vingoo.info/) | Powered by Discuz! X3.1 |