Category > Javascript

Get Google PageRank using only javascript (I)

Some weeks ago, during christmas, I found this spanish article in tu función about how to get the Google PageRank of any website with PHP (he will be happy with the keywords of the link). The fact is although I knew there would be a lot of cross-domain problems I told myself: “hey! you have […]

Continue reading

, , , ,

jQuery 1.3 is here!

Yesterday the new jQuery 1.3, which is 3 years old, was released. This new version seems to have great improvements over jQuery 1.2.6 which was the last release. Following there is a list with the most important features on this version, as you can see on the jQuery blog, son: Sizzle: A sizzlin’ hot CSS […]

Continue reading

, , ,

Manso jQuery Trick: is the element really visible

Sometimes is essential to know if an element is visible or hidden. Doing this with jQuery is quite easy, you have to ask if the filter “visible” is present or not (you can also use ‘hidden‘). However you should take care and notice a couple of things, because maybe jQuery is not telling us the […]

Continue reading

Manso Trick: Disabling the autocomplete on a form

Sometimes it is desirable that fields on a form be remembered by the browser. Even, sometimes, using the common names for form fields is encouraged (e.g: using ’email’, ‘name’, ‘nick’, ….) so when the user opens the web page, most of the form fields would be already filled. On the other hand, there are other […]

Continue reading

Time Pickers in javascript

Truth be told,  from a usability point of view, a date picker has much more sense than a time picker. Anyway I like to to explore the different implementations out there 😉 The objective for a time picker is to let the user set the time in hours and minutes, in 24-hour format, or even […]

Continue reading

, ,

Rounding corners: the javascript way

After taking a look on how round corners on some browsers, I think it’s worth exploring other methods, like doing this with javascript. Rounding corners is not difficult, in general, the problem is that you should use some “hacks”,  it is not the same rounding corners using a style on a unique DIV, than using […]

Continue reading

, , , , , ,

How to reset a form in jQuery

Reseting the form to it’s initial values is one of those things you often do once and once again. Doing this task with jQuery is really easy: $(’#FormID’).each (function(){ this.reset(); }); The thing is, that the code above iterates through each element of the form, and calls to the DOM “reset” javascript method. In fact, […]

Continue reading

, , , ,

prev posts