model view controller - Jquery chosen plugin works in one page but not in another one -
hi have used chosen in other projects before , havent had problems in current project can't work on specific page, although works on page. firebug gives me error: syntaxerror: expected expression, got '<' '!doctype html' chosen.jquery.js (row 1) syntaxerror: expected expression, got '<' '!doctype html' prism.js (row 1) typeerror: $(...).chosen not function $(selector).chosen(config[selector]); the site develop using mvc framework , view display/loads script, 1 doesnt work, looks (edit-question): <h1><?=$title?></h1> <form method='post'> <fieldset> <input type='hidden' name='id' value='<?=$id?>' required/> <input id='textfield' type='text' name='titel' placeholder='titel' value='<?=$titel?>' tabindex='1' required/> <textarea id='askquestion' name