开发者

[symfony 1.4][sfForm] hide | un-hide row

开发者 https://www.devze.com 2023-03-27 11:46 出处:网络
How to hide row and un-hid开发者_运维问答e it with Ajax ( how to put whole row in div with id ) ?in javascript you can reference to any object in your html code with a defined \'id\' My suggestion is

How to hide row and un-hid开发者_运维问答e it with Ajax ( how to put whole row in div with id ) ?


in javascript you can reference to any object in your html code with a defined 'id' My suggestion is to use a css class for rour row and use an script like this:

<script>
$(document).ready(function(){  
  $(".your_hide_button").click(function(e){  
      $(".your_row").css("display", "none");    
  });  
});  
</script>

Hope this helped you, good luck

0

精彩评论

暂无评论...
验证码 换一张
取 消