บทความในช่วง: กำลังแสดงโพสต์จาก 2017

code reset form in Angularjs

$scope . FnReset = function (){        $ ( "input[type='reset']" ). click ();            $scope . frmRg . $setPristine (); $…

Hidden Accessible Span showing when dropdown clicked

Hidden Accessible Span showing when dropdown clicked .select2-hidden-accessible { display : none !important ; visibility : hidden !importan…

reset select element form

โค้ดในการ reset form      $ ( "input[type='reset']" ). on ( "click" , function ( event ){      console . log ( &quo…

angular and select2

controller.js /* Example Select2 & AngularJs */ $scope.noResultsTag = null; $scope.tags = [ {id: 0, name: "Zero"}, …

Send Email by PHP

$to = "zzz@xxxx.com" ; $msg = " { $datamail } " ; // HTML message $subject = " ทดสอบการส่ง Email " ; $subject = "=?UT…

bootstrap css display block text content nowrap

CSS ในการตัดข้อความ หรือแสดงข้อความให้อยู่ใน ขอบเขต   .products-list .product-description { display: block; color: #999; overflow: hidden; …

open dialog form with bootbox good code

index.html <!DOCTYPE html> <html> <head> <script data-require="jquery@*" data-semver="2.0.3" src=&qu…

replace newline or enter in string on column table SQLServer

ตัด Enter หรือ Newline ออกจาก Column ของ ตาราง ใน ฐานข้อมูล SQL Server SELECT REPLACE(REPLACE(@str, CHAR(13), ''), CHAR(10), '')…

SQL Server Command Decimal Format NUMBER

เปลี่ยนตัวเลขให้อยู่ในเลขทศนิยม กี่ตำแหน่งก้ได้ Convert Number / Column to Decimal  อีกตัวอย่างที่ง่ายสำหรับเปลี่ยนเป็นทศนิยม สำหรับ SQL Serve…

php read file image from window shared

อ่านไฟล์รูปภาพจากเครื่องคอมที่ทำการ Shared file 1. ชื่อไฟล์ readImg.php <?   $comName = "xx.xx.xx.xx";   $fileName = "xxx..jpg&q…

แก้ปัญหาเรียงลำดับของภาษาไทยในโปรแกรม Excel (ก-ฮ)

วิธีแก้ไขการจัดเรียงลำดับของ ก-ฮ ในโปรแกรม Excel  ปัญหาคือ โปรแกรมมันจะดำเนินการจัดเรียงลำดับ สระ ก่อน ตัวอักษร วิธีแก้ไข 1. Start -> Run…

JQuery if checkbox is checked Bootstrap switch

To show the value of the checkbox by JQuery JQuery if checkbox is checked Bootstrap switch 1. กำหนดค่า $('#txtBox').bootstrapSwitc…

How do you put the image on the top left corner of your web

วิธีทำนำรูปภาพเอาไว้บนมุมด้านซ้ายบนของเว็บไซต์ How do you put the photo on the top left corner of the site. รูปภาพ ตัวอย่าง 1. โ…

auto assign on click event for select2 when do some event

ต้องการ กำหนดโควตาให้เป็น auto code ตอนกดปุ่ม Enter แล้ว Event ต่อไป ให้ไป Auto Click Select2  ตัวอย่างโค้ด javascript $('#txtCode'…

async in ajax alert undefined

วิธีบังคับให้ Ajax ทำงานให้เสร็จก่อนแล้วค่อยไป กระทำลำดับต่อไปครับ.. ตัวอย่าง 1. เห็นชัด Alert is Success <?PHP var var1; $.ajax({ async:fal…

function convert uft8 , tis620 string or array array2d

function แปลงภาษา UTF8 และ TIS620 // แปลงข้อความเป็น UTF8 function ConvertUTF8($value){ return iconv('tis-620','utf-8',$value); } // …

convert datevalue in excel from php

ทำการเปลี่ยน วันที่ ที่อยู่ใน Excel (DATEVALUE) ให้เป็น Fomrat datetime ใน PHP  รูปภาพตัวอย่าง function นี้จะทำการแปลงให้เป็น TIMESTAMP function …

php connect accesss file *.accdb

การใช้ PHP ในการติดต่อกับ MS-Access โดยตรง *.accdb 1. กำหนดไฟล์ PATH ให้ชัดเจน <?PHP // Path Database MS-Access $cur_dir_path = $_SERVER[…

get current file name php

การแสดงข้อมูลชื่อไฟล์ปัจจุบันที่เรากำลังจัดการอยู่ <?PHP $_PageName = trim(str_replace('.php','',basename($_SERVER['SCRI…

MySQL Show Data Random Record

แสดงผลแบบสุ่ม  - rand() คือการสุ่ม  - limit คือ จำนวนแถวที่จะแสดง --------------------------------------------------------- Select ColName1,ColName2,.…

Jquery append table row to tbody by JSON

Jquery append table row to tbody by JSON 1. HTML Code 2. Jquery - Method : post by json - $.each is loop for display…

โหลดโพสต์เพิ่ม
ไม่พบผลการค้นหา