Wiki

Articles tagged with "html5", sorted by date (updated)X
Displaying 1-5 of 5 result(s).

How to read HTML5 Multiple File Input from controller?

Updated about a year ago by Kartik VHow-tos1 comment – viewed 4,869 times – ( +37 / -4 ) – version all
Ok, so you have a HTML 5 file input markup on your view and you have enabled multiple attribute to true. You may also be using widgets based on HTML5 input like \kartik\widgets\FileInput. But when you read a file in Yii controller using CUploadedFile (Yii1) or UploadedFile (Yii2), you do not see a list of multiple files that you selected in your view, but only one row. Your HTML markup in your view would be something like this and you don't know why this is not working?

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

Updated about a year ago by CeBeHow-tos1 comment – viewed 35,363 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

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

Updated about a year ago by bennounaHow-tos16 comments – viewed 37,923 times – ( +12 ) – version 1.1
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

How to call a default layout for every module and how to work <php echo $content; ?>

Updated 2 years ago by Ankit ModiTips0 comments – viewed 16,877 times – ( -2 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

More on SSE and Yii

Updated 2 years ago by FirebreakerTips3 comments – viewed 4,371 times – ( +2 )
This is not actually Yii involved.