Commit 2d27fecd by Arpit Jain

worked on feed

parent ebe89899
...@@ -126,11 +126,13 @@ ...@@ -126,11 +126,13 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){
$(".showFeed").on('click', function () { $(".showFeed").on('click', function () {
var id = $(this).data('id'); var id = $(this).data('id');
var showFeed = $(this).is(":checked"); var showFeed = $(this).is(":checked");
showFeedData(id,showFeed); showFeedData(id,showFeed);
}); });
});
function showFeedData(id,showFeed){ function showFeedData(id,showFeed){
$.ajax({ $.ajax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment