Wiki articles tagged with "HTML5"

Showing 1-2 of 2 items.

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

Created 11 years ago by Selvakumar Kaliyappan, updated 11 years ago by 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: 74 283 times
Version: 1.1
Category: How-tos

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

Created 12 years ago by bennouna, updated 11 years ago by 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: 65 093 times
Version: 1.1
Category: How-tos