first submission:submitting first snipplet

ginoplusio's Recent SnippetsTagged javascript

« Prev 1 Next »
Use it to detect old browser, when your client still use an old browser!
0 532 posted 4 years ago by ginoplusio
Sometime designers put form labels and instrucions into html inputs. One of the common uses is for login boxes when there’s not much space. I wrote a small jQuery plugin which dynamically replaces selected <input> fields with <input> fields display...
1 568 posted 11 years ago by ginoplusio
This function calculates distance with the Haversine formula, this formula assumes that our Earth is spherical, but it isn’t since it’s more like a big orange fruit also compresses at poles. I’ve read that this function has an error about + o â...
3 2716 posted 12 years ago by ginoplusio
When you show the coordinates of a point, it’s sometimes better to show them as degrees and not as deciaml (even if decimal is simpler). Each of the two coordinates can be converted with the same function. In the function call the “tipo” is the...
1 372 posted 12 years ago by ginoplusio
Let you fire click events on any html element.
1 501 posted 12 years ago by ginoplusio
strip non alphanumerical characters while typing
1 295 posted 13 years ago by ginoplusio
a set of function useful to check data (functions name in italian but easy to translate).
0 457 posted 13 years ago by ginoplusio
sorting a table through javascript
3 465 posted 13 years ago by ginoplusio
« Prev 1 Next »