Tag Archive: JQuery

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/

Mar
29
2009

Changing the behavior of the Close button in SharePoint

A number of customers have asked us to change the behavior of the Close button in an announcement. The default behavior is that when the user clicks the Close button, he is redirected to the default view of the list. Unless the querystring contains the ‘Source’ parameter. The user is then redirected to the value …

Continue reading »

Permanent link to this article: http://www.tonstegeman.com/blog/2009/03/changing-the-behavior-of-the-close-button-in-sharepoint/