Posts tagged: javascript

Hacking a site’s photo directory using DOM or jQuery

Posted by Ruben Canton on December 27, 2010 at 10:22 pm
categories Web programming, Web security

I watched the film about Facebook the other day, yes I coudn’t resist, and I thought it has some interesting moments. At the beginning, Marck “hacks” some Harvard websites which contain profile photos from the students.
How did he made this?
Well I didnt saw the code or remember it from the film but I am going [...]

 

JQuery’s $(document).ready() method

Posted by Ruben Canton on December 10, 2010 at 10:13 pm
categories Web programming

JQuery has a method that can help you when developing a website called “document.ready”, in JQuery language: “$(document).ready()“. This method let’s you start doing things in your page using javascript once the document is ready but without having to wait for all the images to load.
I mean, if you don’t use JQuery and you want [...]

 

Accesing a page element using JavaScript

Posted by Ruben Canton on December 7, 2010 at 9:45 pm
categories Web standards

Lately I feel like making a master about selectors but I promise this is only a coincidence. When working with javascript we need to select the element we want to use and we have many ways to do so, I was wondering which one is the better to use so I wondered and found an [...]

 

Introduction to JQuery

Posted by Ruben Canton on December 6, 2010 at 9:36 pm
categories Web programming

To use JQuery we just need the library that we can download from nearly every web that has it, for example the JQuery project page, or use the Google Libraries API. Once we have the file we just need to call it at the page or pages we want to use it.
JQuery has methods, selectors [...]

 

Asynchronous request with JavaScript: home-made AJAX

Posted by Ruben Canton on September 12, 2010 at 7:54 pm
categories Web programming

This is a translation from my original post in spanish. I hope you enjoy it!
A few days ago I was building a module that should make asynchronous requests to a webservice using javascript, in other words, the famous AJAX but manually made, without using any library. For those who do not know what AJAX is, [...]

WordPress Themes