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


thank you for valuable post

Tagged with: , , , , , ,
Posted in javascript and jquery
Follow Tutorial on WordPress.com
categories
Calendar
April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
Follow me on Twitter
Blog Stats
  • 88,188 hits