Posts

Showing posts from November 15, 2018

James B. McCreary

Image
James B. McCreary McCreary in 1914 37th Governor of Kentucky In office December 12, 1911 – December 7, 1915 Lieutenant Edward J. McDermott Preceded by Augustus E. Willson Succeeded by Augustus O. Stanley United States Senator from Kentucky In office March 4, 1903 – March 3, 1909 Preceded by William J. Deboe Succeeded by William O. Bradley Member of the U.S. House of Representatives from Kentucky's 8th district In office March 4, 1885 – March 3, 1897 Preceded by Philip B. Thompson, Jr. Succeeded by George M. Davison 27th Governor of Kentucky In office August 31, 1875 – September 2, 1879 Lieutenant John C. Underwood Preceded by Preston H. Leslie Succeeded by Luke P. Blackburn Member of the Kentucky House of Representatives In office 1869–1875 Personal details Born James Bennett McCreary ( 1838-07-08 ) July 8, 1838 Richmond, Kentucky Died October 8, 1918 (1918-10-08) (aged 80) Richmond, Kentucky Res...

How do I use File Handlers in Sweetalert?

Image
up vote 0 down vote favorite I am very new to JavaScript so I am guessing, that this problem will be fairly simple for most of you guys (or at least I hope so...) I have this SweetAlert Code. It asks the User to upload two images and one text. I am able to add the text to my database but I am struggling with the images... I know that I need to pass the Images using the File Handlers, but I don't know how... This is my Server that I run my Code on: https://mars.iuk.hdm-stuttgart.de/~mk304/Web_Projekt/webpage/ui/sweetalert/sweetalert_eingabe.php This is my SweetAlert2/JavaScript Code <script> var kuerzeltest = "mk304"; var channeltest = "3"; $(document).ready(function () { $('#new-btn').click(function () { swal.mixin({ input: 'text', con...