Advanced Search

View RSS Feed

Recent Blogs Posts

  1. HedgeClipper [part 2]!

    Hey guys, I hope everyone has had a great start to the new year.

    If you're just joining us, we're making hedgeclipper: a user log-in system. Last time, we outlined the basics of how hedgeclipper will work, and wrote a controller function for the whole thing. This time, we're going to focus on checking if the user is logged in or not. Before we start demanding a username and password, we're going to check if our user already logged in on a previous page visit. Have a look:
    ...
  2. Things we can do with location.search

    The javascript location.search propery sets / returns the query portion of a URL, including the question mark (?). This means that if we put <a onclick="location.search='this is a test'">test</a> in a file named our_file.html, the URL (our_file.html) will be replaced with our_file.html?this is a test after a click on the link. Having arrived at our_file.html?this is a test, we can go back to our_file.html by using the browser's history (back) button. The content of our_file.html?this ...

    Updated 01-01-2013 at 09:49 PM by molendijk

    Categories
    JavaScript & Ajax