Posts

Country Select boxes with flags.

Image
A lightwieght jQuery plugin for creating Bootstrap 3 compatible country select boxes with flags Demo http://blazeworx.github.io/flagstrap                                           Basic < form class = " form-horizontal " > < div class = " form-group " > < label >Select Country</ label >< br > < div class = " flagstrap " data-input-name = " country " ></ div > </ div > </ form > < script > $ ( ' .flagstrap ' ). flagStrap (); < / script > Options Using Data Attributes This example will create a Flagstrap Dropdown giving the input field the name of  country  with all countries available and  Germany  pre selected and in a  scrollable  dropdown with  max-height  of  250px . < form > < div class = " form-group " > < label >Select Country</ label >&l

Mysql restores ONLY_FULL_GROUP_BY after restart

Mysql restores ONLY_FULL_GROUP_BY after restart I must add a new line into  /etc/mysql/mysql.conf.d/mysqld.cnf At the end of the section  [mysqld] , I added sql_mode = "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" Then restarted sudo systemctl restart mysql My settings now is preserved after restart.

Create Pagination using Java script Using C#

Html Design Code <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns ="http://www.w3.org/1999/xhtml"> < head runat ="server">     < title ></ title >     < script src ="Script/jquery-2.1.1.min.js" type ="text/javascript"></ script >     < script src ="Script/JSPaging.js" type ="text/javascript"></ script >     < link href ="Style/Style.css" rel ="stylesheet" type ="text/css" /> </ head > < body >     < form id ="form1" runat ="server">     < asp : HiddenField ID ="hdnStartingIndex" ClientIDMode ="Static" runat ="server" />     < asp : HiddenField ID ="hdnEndingIndex" ClientIDMode ="Static" r