How to write a jQuery like library
jQuery is a great JavaScript Library, it helps to write less and simplifies JavaScript programming But often there is no need to include jQuery, because the necessary functions are few. It might be fun and useful…
jQuery is a great JavaScript Library, it helps to write less and simplifies JavaScript programming But often there is no need to include jQuery, because the necessary functions are few. It might be fun and useful…
Here is a small function to get the value of a selected radio button without using jQuery: function getRadioValue(name) { var radios = document.getElementsByName(name); for (var i = 0; i< radios.length; i++) { if (radios[i].checked)…
There are several reasons why a CDN could benefit your website. All of these reasons are all well explained in this article, needless to repeat. That’s why we’ve been thinking of offering our registered users…
Our APIs now support the GET method. This feature is available only for premium users. If you are not yet a PREMIUM user, you can make a donation of the amount you want. We will…
The .Maui APIs offer a Free URL to Screenshot API Service. The service is damn simple, here’s an example in Python: import urllib.parse import urllib.request page_url = “https://api.dotmaui.com/” image_name = “apidotmauicom.png” params = urllib.parse.urlencode({‘apikey’: ‘YOUR_API_KEY’,…
A small plugin for jQuery, by Sam Sehnert, that checks whether elements are within the user visible viewport of a web browser. Only accounts for vertical position, not horizontal. (function ($) { /** * Copyright…
PHP is a very popular language for the development of Web sites. In our opinion, however, PHP has several gaps, including the lack of some strings comparison functions. Here are the three useful functions that,…
The .NET Framework provides the System.Xml.Serialization namespace to serialize an object to XML. Here’s a full example: Imports System Imports System.Collections.Generic Public Class Test Public Shared Sub Main() Dim p1 = New Product() With {.Name…
If you need to run an UPDATE in MySql on some rows in a table, but the reference of the condition to use is in another table, the best solution is to use an UPDATE…
When creating an HTML table, it is often a good idea to alternate the color of the rows and make the data more readable. The best, in our opinion, is through CSS rules: tr:nth-child(odd) {…