While working in my last CakePHP project i needed a piece of javascript code that should help me in positioning a absolute pop up element near mouse click. I had been using prototype library for javascript stuff so i looked…
Limitation on the number of characters in jquery ajax response
The following jquery ajax call would return approx. 8442 characters in its “html” response. Content exceeding this number would be truncated.
Getting next day date in javascript
Here is an useful function to get next day’s date string in javascript. I am going to explain each line of code for those who like to ponder.
Resetting array keys after unsettling a few of them
I have felt this need quite a few times in the past as well. I have an array:
Disable CakePHP debug output when using Ajax
While developing a CakePHP application and debug value set to greater than 0(zero) (development mode) we may want to show our Ajax results clean i.e. without debug information (in form of SQL log etc.) attached to it.
Random string generation with Javascript
Here is a small but useful function to generate a string with a random number of characters with the help of javascript.
Creating a succesful website
After reading “Web Design Tip Sheet – Choosing Best Website Development Company” i had a few comments in my mind but because of “comments closed” for the story i had to post it here to make my head feel lighter.
Creating Show Desktop icon on quick launch bar in windows xp
Today i saw my show desktop icon was gone off my quick launch bar automatically. I looked around and came up with a simple solutions. To re-create the Show desktop icon yourself, follow these steps:
Editing Read more text and template files HTML in Joomla 1.5
In my latest Joomla 1.5 website i wanted to change “Read more…” text to “Click to continue…”. In fact I did not like the wide new row for each “Read more…” text with intro text and just wanted to put…
MYSQL custom sorting – order by field value
In this simple example I will show you a way to perform a custom sorting in MySQL. In this guide of custom sorting I am going to sort mysql rows based on the alphabetical order of the field values. Most…