decodeURI();
$.ajax({
url : 'https://api.vk.com/method/database.getCountries?v=5.52&need_all=1&count=1000',
type : "GET",
dataType : "jsonp",
success : function(msg){
console.log(msg);
}
});
echo "
<script type=\"text/javascript\">
alert('Привет мир!');
</script>
";
echo "
<script type=\"text/javascript\">
alert('Hello World!');
</script>
";
Authors may include newlines in the generated content by writing the "\A" escape sequence in one of the strings after the 'content' property. This inserted line break is still subject to the 'white-space' property. See "Strings" and "Characters and case" for more information on the "\A" escape sequence.
h1:before {
display: block;
text-align: center;
white-space: pre;
content: "chapter\A hoofdstuk\A chapitre"
}
checkInput()
. Кстати, если родительский элемент участвует только в селекторе, то смысла в обращении к нему нет, а использовать можно просто :$.fn.checkInput = function() {
$(this).filter('[check]').each(function(i, el) {
/* ... */
});
};