File: demos/todomvc/php/allCompleted.php

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Blapy   demos/todomvc/php/allCompleted.php   Download  
File: demos/todomvc/php/allCompleted.php
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: Update of demos/todomvc/php/allCompleted.php
Date: 3 years ago
Size: 593 bytes
 

Contents

Class file image Download
<?php $getAction = 'allCompleted'; $toggleStatus = ($_REQUEST['toggleStatus']=='true')?true:false; $toggleStatusName = $toggleStatus?'On':'Off'; $toggleChecked = $toggleStatus?'checked':''; $returnStr = <<<EOD <input id="selectAllToggle" class="toggle-all" type="checkbox" $toggleChecked data-blapy-container="true" data-blapy-container-name="selectAllToggle" data-blapy-container-content="selectAllToggle-$toggleStatusName" onclick="$('#myBlapy').trigger('postData',{aUrl:'php/allCompleted.php',params:{toggleStatus:$(this).prop('checked')}})"> EOD; include ('getTodo.php');