Along with the “upload_max_filesize” when uploading files with PHP there is another parameter named “max_file_uploads” witch prevent uploading more files that the value of this parameter. Default size of this parameter is 20 and is should be enough for more apps then I can count but today I had to repair a bug in a [...]
If you are like me you “learn from walking” (learn something in time you write a script, an application ). jQuery is a great framework but it become so big that sometimes you can not remember all methods, selectors and basically every stuff implemented there to make your work easy. For this there are Cheat [...]
When working on complex applications with jQuery you get to a point where you need to have your own right click menu. You have the options to disable entire page right click menu or just for a div. Disable for the entire document: $(document).ready(function() { $(document).bind("contextmenu",function(e){ [...]
The .click is great, but witch button had been pressed? $(document).click(function(e) { if ((e.button == 0) && (e.button == 1)){ // was the left button pressed alert(‘clicked’); } if (e.button == 3){ // was the right button pressed alert(‘click’); [...]