My Articles
Javascript Tip of the day
February 26, 2015

Javascript tip of the day Hello folks, I want to share with you my Javascript tip of the day. Have you ever wondered how to unselect a selected value in a dropdown lis using JQuery? Really simple: $("option:selected").prop("selected", false); Nice uh? Nice and simple! But wait, here is another Javascript tip of the day! What […]

Programming
HTML5 you’re ready!
October 31, 2014

After many years W3C puts its official stamp on HTML5 which has been widely used in these past years by a lot of developers fascinated by its promise of develop once deploy anywhere. In its post about HTML5, W3C says that according to a Vision Mobile Survey, 42% out of 10.000 interviewed developers are using the combination of […]

Javascript tips

Hello folks, Today I’d like to talk about how I used jQuery , HTML and  CSS  to build a simple slide show. Obviously this is only a wire frame so, it’s up to you making it beautiful!! So, open your favourite editor and let’s start. The problem: At job I had to display a bunch […]

Programming

Hi folks, I’d like to talk about how to draw simple curve using HTML5 Canvas element, a little bit of basic math and JavaScript with some animation. The example is based one I found on a book I’m reading right now: HTML5 for publishers from which I took the code to draw the Cartesian grid. […]

Javascript tips

Hello folks, I know I don’t have a frequent blogging experience, but  my second son just arrived and being a dad is not so easy so, I didn’t have too much time to write. During the small amount of time left , I tried out Node.js a powerful platform built on Chrome JavaScript’s runtime, which […]

Javascript tips

Hello, Today I’d like to show you how to force the download of a file using an ajax request, since I think that this is a common problem. Because of the nature of ajax, it’s not possible to download a file during an asynchronous request. What can be done instead is using a combination of […]

Javascript tips

Hi to everyone, I’d like to show what’s my solution to Select/deselect a group of check boxes in a form. First of all we need something with some check boxes in it, and here is a table which suits our purposes: <table id="authors" style="border-collapse: collapse;" border="1"> <tbody> <tr> <th><input type="checkbox" id="checkall" onclick="checkUncheckAll('checkall');"></th> <th>Title</th> <th>Author</th> </tr> […]

General
Popcorn.js | Mozilla Popcorn
November 12, 2011

I’d like to report this new Mozilla project, which aims to simplify the release of media content on the web. It’s based on the HTMLMediaElement which has been normalized in an API trying to develop a new video-making experience. They say that it’s like jQuery for video so, the only thing to do is using […]

Javascript tips
Cross browser confirmation dialog box
October 29, 2011

When you need a confirmation dialog box, most of you use window.confirm(‘something’). This is not really cross-browser, since Chrome displays a simple alert. To avoid this use confirm(‘something’), and magically everything will start working as expected.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close