<script type="text/javascript"> #if($!{tBoard.id}!="" && $!{tBoard.id}==133) #else <script type="text/javascript"> jQuery.ajax({ url : "http://****", type: "GET", dataType: "jsonp", success: function(text){ jQuery("#forumsTalkingAbout").html(text); } }); </script> #end </script>
1.在jquery中加入velocity语句