<?php echo input_hidden_tag('lesson_count', count($lessonList)) ?>
<?php echo input_hidden_tag('pr_lesson', '-1') ?>
<ul class="dropdown_content" id="dropdown-list" style="display:none;width:350px">
  <?php foreach ($lessonList as $key => $lesson): ?>
    <li id="lesson-<?php echo $key ?>"><a href="#" onclick="selectLesson(<?php echo $key ?>); updateLessonTitle(); return false;"><?php echo $lesson ?></a></li>
  <?php endforeach ?>
</ul>
