Привет всем!
<?php
if (isset($_COOKIE['33']))
{
print <<<HERE
<script>
$(".hide").each(function() {if (!($(this).val())) {$(this).prev().hide(1000); $(this).hide(1000)}})
</script>
HERE;
}
?> - так не работает (работает без рнр)
<?php
if (isset($_COOKIE['33']))
{
print <<<HERE
<script>
$(".hide").each(function() {if (!($(this).val())) {alert ('lalala')}})
</script>
HERE;
}
?> - так работает...
С кавычками игрался - не получилось...
|