Blog Archives

My new experience with jquery


Disable the all  input fields with unique (ID) like numbers  in table : $(“#table_id  input[type=’text’][id=” + id + “]”).prop({ disabled: true }); Disable the all  Select fields with unique (ID)  like numbers in table : $(“select[id=” + id + “]”).prop({

Tagged with: , , , , , , , ,
Posted in javascript and jquery

forEach vs for loop in javascript


I tried the  run the javascript array in forech and for loop and i faced the issue like undefined in forech loop . Example foreach Loop: Example For Loop: any solution for foreach  and Please share your experience in it.

Tagged with: , , , , ,
Posted in javascript

How to calculate last friday using Javascript


Originally posted on Web Developer Blogs:
todayDate = new Date(); LastFridayDate = new Date(); LastFridayDate.setDate(LastFridayDate.getDate()-1); while (LastFridayDate.getDay() != 5){ LastFridayDate.setDate(LastFridayDate.getDate()-1); } // Friday = 5 if(todayDate.getDay() == 5) { console.log(todayDate); //if today is Friday, it will display today date }…

Tagged with: , , ,
Posted in javascript

multiple select upload in ajax and php


This allows upload multiple select option to upload image in ajax with progress bar and response. <!doctype html> <head> <title>File Upload Progress Demo #3</title> <style> body { padding: 30px } form { display: block; margin: 20px auto; background: #eee; border-radius:

Tagged with: , , , , , ,
Posted in javascript

Processing a form with AngularJS + PHP


Originally posted on Web Development Matters:
If you read my previous blog post about how to make a simple form work with PHP you’re probably thinking: “She just can’t get enough of forms!” and you are right. I can’t. As…

Tagged with: , , , , , ,
Posted in javascript and jquery
Follow php tutorial on WordPress.com
categories
Calendar
May 2017
M T W T F S S
« Sep    
1234567
891011121314
15161718192021
22232425262728
293031  
Follow me on Twitter
Blog Stats
  • 73,826 hits