Count rows in table with jQuery
There’s a table in html page and you need to get the quantity of it’s rows. It’s easy to get it with jQuery. Read more»
There’s a table in html page and you need to get the quantity of it’s rows. It’s easy to get it with jQuery. Read more»
In Linux OS (Debian, Ubuntu, CentOs) log files of web server can grow and grow. According to web server activity, they can grow to a very big size. To remove files is a bad solution because they won’t be restored and you loose new logs. Read more»
Для того, чтобы определить, является ли значение переменной числом или нет, можно использовать встроенную функцию isNaN(). Название isNaN означает «is Not a Number». Соответственно, функция возвращает обратное значение от того, число это или нет, т. е. если значение переменной число, то функция вернет false (ложь), а если не число, то true (истину). Read more»
The syntax of jQuery code how to retrieve radio button items in cycle. For example, you have radio buttons with names, first you need to get them to array. For this case I will do it manually. Read more»
You can easily copy files from one directory to another. You can easily create cmd-file with the command XCOPY and it’s keys and make copies of files. Read more»
I’m trying to remove all permissions from a list item in SharePoint 2010. There was a lot of permissions because of the “Limited access”. I couldn’t check all items because of the constraint of maximum selected items. This script is 100% compatible with SharePoint 2013 and SharePoint 2016. Read more»
Junior developer created some tools which packed to zip-archive some rendered files. He used for this DotNetZip (Ionic.Zip) library. Everything worked fine until today. But today, when users users tried to open zip-file, they’ve got the error “CRC has failed, the file is corrupt”. Read more»
There’s a control <select> on your page and you want to use it’s value as selected and don’t want to allow user to change it. Unfortunately, there’s no attribute “readonly” for select as for <input> ones. You can use only attribute “disabled”, but in this case its value will not be sent. But there’s a […] Read more»
There’s an equivalent in jQuery to PHP function print_r($array). It’s good when you want to see an associative array. Especially, if you get it via some function. Read more»
Useful snippet for debugging javascript. It prints out key-value pairs of associative array. In PHP your have function print_r($array), but in Javascript you still have to make your own function. Read more»