Wiki articles tagged with "HTML5"

Showing 1-2 of 2 items.

Upload image and content using AJAX and Store it in different table

Created 12 years ago by Selvakumar Kaliyappan Selvakumar Kaliyappan, updated 12 years ago by CeBe CeBe.

var formData = new FormData($("#post-form")[0]);
$.ajax({
    url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
    type: 'POST',
    data: formData,
    datatype:'json',
    // as...
1 0
5 followers
Viewed: 77 913 times
Version: 1.1
Category: How-tos

Real-time display of server push data using Server-Sent Events (SSE)

Created 14 years ago by bennouna bennouna, updated 12 years ago by bennouna bennouna.

Let's say you have an internal messaging system in your webapp, and you want to display messages dynamically and real-time to the relevant recipients.

9 0
17 followers
Viewed: 67 759 times
Version: 1.1
Category: How-tos