点击按钮input显示层

by Admin31. January 2010 20:30
  <input type="radio" class="radio"  id="whopsSeller" value="2" name="_fma.pu._0.sh" checked="checked"   onclick="displayFreight(false);"/><label for="whopsSeller">不显示</label><input type="radio" class="radio"  id="whopsBuyer" value="1" name="_fma.pu._0.sh"  onclick="displayFreight(true);"/><label for="whopsBuyer">显示</label>
 
<div id="Freight" class="module-form" style="display:none;">
<textarea name="liuyan" style="overflow: scroll;height: 200px;width: 650px;border: 2px solid #F1F1F1;" >Annotated this order </textarea>
</div>
<script type="text/javascript">
//<![CDATA[
  b_postLoad = true;
  function displayFreight(isDisplay) {
   var freightDiv = document.getElementById("Freight");
   var inputTFClass = "text text-shorter disabled";
   if(isDisplay) {
    freightDiv.style.display = "block";
    
   } else {
    freightDiv.style.display = "none";
   }
   
  }  
//]]>
</script>

Tags: ,

JS

Add comment

  Country flag

biuquote
Loading

我的饭否

Widget RandomPosts not found.

The file '/blog/widgets/RandomPosts/widget.ascx' does not exist.X

RecentComments

Comment RSS

Google PageRank