Monday, October 14, 2013

Day 8, right?

Today we dived (or dove?) either way, either way, straight into jQuery. It has some pretty sweet functionality to it. One of thing cool things it does along with JavaScript, is that it can make the dates you choose for your flights on airline sites. Here is the code below for it.
<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>
</head>
<body>
<p>Date: <input type="text" id="datepicker" /></p>
</body>
You can either pick what dates you want manually ("text") or use the datepicker() function and use the calender that drops down once you click anywhere in the text box.

These are some of the jQuery tags we need to know--by this Wednesday! There are more, but I can't give them all away.. Where is the fun in that?
    • .slideUp()
    • .fadeOut()
    • .fadeIn()
  • Forms (functions related to information in the form)
    • .focus()
    • .change()
    • .serialize() 
    • .submit()
  • CSS (adding or removing a class for any html element/DOM)
    • .addClass()
    • .removeClass()
  • Manipulation (retrieving or setting value or text in any html element)
    • .after()
    • .append()
    • .attr()

Was at the Coding Dojo for over 14 hours today. Went through two 5-hour energy drinks (that was not a plug). Hoping we can make it 15 hours tomorrow!

I need to get my sites from last week up and customize this page.

- Kyle

No comments:

Post a Comment