</td> </tr> </table> </form> <script> function checkForm(){ var f=0; $('#anketaform .required').each(function(){ if (jQuery.trim($(this).val())==''){ $(this).css('border','solid 1px red'); f=1; }else{ $(this).css('border',''); } }); if(f==1){ return false; }else{ return true; } } </script> </div> <div class="left-block-content"> <?php MenuWidget::LeftMenu(); ?> <?php BannersWidget::run(); ?> </div>