- Jul 2016
-
cs50.wiki cs50.wiki
-
DNS
ask the actual address of this server
-
-
developers.google.com developers.google.com
-
{...}
associative array goes here
-
#map { height: 100%; }
isn't html and body already declared as having height of 100%?
Why isnt' that enough?
ANS :
"Note that divs usually take their width from their containing element, and empty divs usually have 0 height. For this reason, you must always set a height on the
<div> explicitly." </div>
-
-
cdn.cs50.net cdn.cs50.net
-
$
alias for literally, "jQuery"
-
#
go get w/e element has a unique id of "symbol"
-
return false;"
we return false because by default we submit to the same webpage, and if we submit to the page then the page reloads-- not what we're looking for here
-
<form onsubmit="quote(); return false;">
is an event handler
IT handles the event of a submission. :)
-
-
cdn.cs50.net cdn.cs50.net
-
#registration
same as CSS, # refers to element ID
-
input
which child element do you want to manipulate, separated with a space
-
[name=confirmation]
like an associative array, looking for where the attribute name = confirmation
-
-
cdn.cs50.net cdn.cs50.netWeek 93
-
.
[dot] operator to access elements like structs in C.
-
script src
Point to an external JavaScript file: http://www.w3schools.com/tags/att_script_src.asp
-
onsubmit attribute within our script, which we know is a valid event listener for a form element.
from the list of event listeners
-
-
-
I hear dollar sign underscore GET quote, unquote username.
"username" is the key, what $_GET returns will be the value.
key-value pair
-