Tag Archive: Lookup fields

Aug
23
2009

JQuery and SharePoint – Lookup fields and event lists

image.png

In one of my recent projects I used some JQuery to change the width of a mulitvalued lookup field in SharePoint and to hide the Workspace field in an event list. The script to change the width of multivalued lookup fields: <script type=”text/javascript”> $(document).ready(function() { $(“select[id*='<INSERT_YOUR_FIELDNAME>']“).parent().width(300); $(“select[id*='<INSERT_YOUR_FIELDNAME>']“).parent().height(200); $(“select[id*='<INSERT_YOUR_FIELDNAME>']“).width(300); }); </script> When the lookup list has …

Continue reading »

Permanent link to this article: http://www.tonstegeman.com/blog/2009/08/jquery-and-sharepoint-lookup-fields-and-event-lists-2/