/** * Get story list. * * @param string $module * @access public * @return void */ function getList() { productID = $('#product').get(0).value; storyID = $('#story').get(0).value; link = createLink('search', 'select', 'productID=' + productID + '&projectID=0&module=story&moduleID=' + storyID); $('#storyListIdBox a').attr("href", link); } $(document).ready(function() { $("#story").chosen(defaultChosenOptions); });