<script src="js/tinymce/tinymce.min.js" type="text/javascript"></script>
<script>
tinymce.init({
fontsize_formats: "8px 10px 12px 14px 18px 24px 36px",
selector: "textarea",
resize: "both",
language: "ru",
relative_urls: false,
plugins: ["autoresize", "code", "lists", "code", "link", "code", "textcolor", "preview", "sh4tinymce"],
indentation : '20px',
toolbar: [
"undo redo | fontsizeselect | styleselect | bold italic | alignleft aligncenter alignright | preview | spellchecker | forecolor backcolor | bullist numlist outdent indent"
]
});
</script>
<textare></textarea>
var obj = $.parseJSON('{"reply":"Файл загружен","img":"20151002172921131.jpg"}');
alert(obj.reply);
$clean_text = emoji_docomo_to_unified($_POST['wall_message']);
$html = emoji_unified_to_html($clean_text);
<script>
$(document).ready(function() {
$('.player-wrap').ttabs();
$('.actors a').attr("itemprop", "actor");
});
</script>
<script type="text/javascript" src="/engine/classes/min/index.php?charset=windows-1251&f=/templates/iPult/js/owl-carousel/owl.carousel.min.js,/templates/iPult/js/owl-carousel/owl.carousel.js,/templates/iPult/js/libs.js&7"></script>
$data='<a href="http://site.ru">ССылка</a>-<a href="https://site2.ru">2ССылка</a>';
$data = preg_replace("/a href=\"(http:\/\/.+?)\"/","a href=\"\\1\" rel=\"nofollow\"",$data);
echo $data;
<form method="post" action="" id="formsend">
<input type="hidden" name="formSubmit" value="" />
</form>
<script language="JavaScript">
setInterval(document.getElementById('formsend').submit(), 300000);
</script>
if (data.status === 'success') {
timer_pole( data.id, data.id, 0);
}
<input type="text" id="sum">
<div id="info" style="display:none">asdasdasd</div>
$("#sum").keyup(function(){
var $sum = $("#sum");
if(parseInt($sum.val(), 10) >= 100000){
$("#info").show();
}
});
<form>
<input type="text" name="ololo0">
<input type="text" name="ololo1">
<input type="text" name="ololo2">
<input type="text" name="ololo3">
</form>
$("input[type=text]").each(function(k, v){
if (k == 2){
$(v).val("123");
}
});