Jquery and Sharepoint 2007 - Not playing nice -
so asked develop directory system allow team search various key contacts interact on daily basis. decided make custom list , customised layout way want , went fine , dandy ran problems jquery.
what trying t accomplish implementing jquery plugin http://www.erichynds.com/blog/jquery-ui-multiselect-widget. had no luck @ all, haven't been able make work @ all. have select , ive been trying to change 2 select columns , bit cleaner using plugin. tried following work no luck.
1) tried figure out best way load jquery library. put script document library , referenced scripts header of site. nothing changed.
<asp:content contentplaceholderid="placeholderadditionalpagehead" runat="server"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"/> <script type="text/javascript" src="/sites/servipcmanagement/imc/mtlcoe/coe1/shared documents/tools/custom scripts/custom/multiselect/jquery.multiselect.js"/> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" /> <link rel="stylesheet" type="text/css" href="custom/multiselect/jquery.multiselect.css" /> <script type="text/javascript" src="/sites/servipcmanagement/imc/mtlcoe/coe1/shared documents/tools/custom scripts/custom/multiselect/test.js"/> <script type="text/javascript"> $(function(){ $("select").multiselect(); }); </script> </asp:content> 2) tried load scripts via content editor web part linking file has following , nothing.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"/> <script type="text/javascript" src="/sites/servipcmanagement/imc/mtlcoe/coe1/shared documents/tools/custom scripts/custom/multiselect/jquery.multiselect.js"/> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" /> <link rel="stylesheet" type="text/css" href="custom/multiselect/jquery.multiselect.css" /> <script type="text/javascript" src="/sites/servipcmanagement/imc/mtlcoe/coe1/shared documents/tools/custom scripts/custom/multiselect/test.js"/> <script type="text/javascript"> $(function(){ $("select").multiselect(); }); </script> 3) tried adjust configuration of multiselect so, nothing happens well.
<script type="text/javascript"> $(function(){ $("select[title='title']").multiselect(); }); </script> if has other dieads please let me know im give whole jquery idea.
script tags not self closing. <script /> invalid. either omit slash , leave <script> or add appropriate closing tag </script>.
Comments
Post a Comment