- Monday, October 20, 2008, 11:43
- how-to, javascript, jquery, tutorial
Sorry friends on the way of move to new home I've been lost from the blog as I didn't have internet connection for few last weeks. Now, I'm back and I try to be regular as much as I can. Inspired from the new feature of wordpress 2.6.x which displays word count of each post, I've developed jQuery plugin to display word-count of Textarea. Please note that it is word count plugin not character counter.
Full story
- Saturday, October 4, 2008, 18:10
- how-to, javascript, php, web services
Yesterday, I was in a party and a guy came near to me and asked me what is JSON and how can handle it via PHP. Today, I'm going to tell you something about JSON data and how we can handle them via PHP. Although, JSON stands
JavaScript Object Notation, it is used by many other technologies like PHP and Java for data interchange format over the Internet.
Full story
- Tuesday, September 30, 2008, 10:36
- how-to, javascript
Yesterday, Steve asked me how can we have random number function in JavaScript like rand() function of PHP where the programmer can specify the range of two numbers within which we need the random number. Today, I'm going to share two functions in JavaScript, In first function , you can specify the number and the function generate the random number between 1 and N. In another JavaScript function, you can specify range of two numbers between which you've to get a random number. Furthermore, there is optional last parameter in these function for decimal places, if provided, will return the random number with the decimal places specified in the third parameter.
Full story
- Sunday, August 31, 2008, 18:45
- javascript, php
As you might know that this blog and tradepub.com are providing free magazines to the reader of this blog. You can check the free magazines and E-book in the
free magazines resource of this blog. You can find a collection of great resources of IT knowledge from here. And, today I'm here to highlight the great E-books from sitepoint.com on essential PHP and JavaScript tips , tricksĀ and other resources.
Full story
- Wednesday, August 27, 2008, 19:46
- how-to, javascript, php, tips and technique
Today, I would like to share the way of handling array of HTML FORM elements using JavaScript and PHP.Well, it's very easy to get the data from the array of HTML form elements in PHP and using them but in JavaScript it's a bit tricky to handle the array of HTML form elements. I had a hard time to handle them via JavaScript in past thats why I'm posting it here so that people will not have hard time to cope with array of form elements in JavaScript and PHP.
Full story