jQuery.get() Шпаргалка.

by Denis Tverdokhlebov

HTML

<div id="content">
  <div id="hideRightSidebar" style="display: block;"></div>
  <div id="jqueryApi" class="contentConteiner">


    <h1>jQuery.get()</h1>
    <div id="jqueryReturns">
      Returns: <span>jqXHR</span>
    </div>
    <div class="clear"></div>

    <p class="descr">Загружает данные с сервера, используя HTTP GET запрос.</p>

    <ul class="signatures">
      <li class="signature">
        <h4 class="name"><span class="versionAdded">version added: 1.0</span>jQuery.get( url [, data] [, success(data, textStatus, jqXHR)] [, dataType] )</h4>
        <p class="arguement"><strong>url<br>
</strong>Тип: строка<br> Адрес, на который отправляется запрос.

        </p>
        <p><strong>data<br>
</strong>Тип: объект или строка<br> Данные, отправляемые на сервер в виде объекта (ключ:значение) или строки.</p>
        <p><strong>success(data, textStatus, jqXHR)</strong><br> Тип: функция<br> Функция, вызываемая при успешном завершении Ajax запроса.</p>
        <p><strong>dataType<br>
</strong>Тип: строка<br> Тип данных, ожидаемых в качестве ответа от сервера. По умолчанию jQuery определит сам.</p>
        <p></p>
        <p class="arguement"></p>
      </li>
    </ul>

    <p><strong>$.get() </strong>эквивалетна:</p>
    <div id="highlighter_852747" class="syntaxhighlighter  ">
      <div class="bar                                                                                                    ">
        <div class="toolbar"><a href="#viewSource" title="view source" class="item viewSource" style="width: 16px; height: 16px;">view source</a>
          <div class="item copyToClipboard"><embed width="16" height="16" id="highlighter_852747_clipboard" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" flashvars="highlighterId=highlighter_852747" menu="false" src="plugins/syntax/scripts/clipboard.swf"></div>
          <a href="#printSource" title="print" class="item printSource" style="width: 16px; height: 16px;">print</a><a...

CSS

html,
div,
span,
applet,
object,
iframe,
blockquote,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline
}

body {
  font: normal 13px/1 Arial, Helvetica, Garuda, sans-serif;
  margin: 0;
  padding: 0
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p,
em,
strong,
pre,
code {
  font-size: 100%;
  font-style: normal;
  font-weight: 400;
  line-height: inherit;
  margin: 0;
  padding: 0
}

ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: ''
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit
}

form {
  display: block
}

xmp {
  padding: 15px
}

cite,
em,
dfn {
  font-style: italic
}

strong,
b {
  font-weight: 700
}

sup {
  bottom: .3em;
  position: relative;
  vertical-align: super
}

sub {
  bottom: -.2em;
  position: relative;
  vertical-align: sub
}

li,
dd,
blockquote {
  margin-left: 1em
}

code,
kbd,
samp,
pre,
tt,
var,
textarea {
  font-family: Consolas, "Lucida Console", "Courier New", Courier, mono-space;
  font-size: 100%
}

del {
  text-decoration: line-through
}

ins,
dfn {
  border-bottom: 1px solid #ccc
}

small,
sup,
sub {
  font-size: 85%
}

abbr,
acronym {
  border-bottom-style: dotted;
  border-bottom-width: 1px;
  text-transform: uppercase
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none
}

label,
button {
  cursor: pointer
}

.left {
  float: left
}

.right {
  float: right
}

.center {
  text-align: center
}

.clear {
  clear: both
}

.hidden {
  display: none !important;
  visibility: hidden
}

img.left {
  margin-bottom: 5px;
  margin-right: 8px
}

img.right {
  margin-bottom: 5px;
  margin-left:...