Comments on: Quick and Easy: Use jQuery to Set A Text Field’s Value on a SharePoint Form http://www.endusersharepoint.com/2009/06/15/quick-and-easy-use-jquery-to-set-a-text-field%e2%80%99s-value-on-a-sharepoint-form/ No GeekSpeak on SharePoint 2007 WSS and MOSS Mon, 23 Aug 2010 17:45:22 -0400 http://wordpress.org/?v=2.8.6 hourly 1 By: Ryan http://www.endusersharepoint.com/2009/06/15/quick-and-easy-use-jquery-to-set-a-text-field%e2%80%99s-value-on-a-sharepoint-form/comment-page-1/#comment-17661 Ryan Fri, 02 Oct 2009 12:00:03 +0000 http://www.endusersharepoint.com/?p=1756#comment-17661 Another example of this technique - also shows how you can get the javascript onto the editform.aspx without resorting to SharePoint Designer. Setting a default duration for new calendar events. http://blog.pentalogic.net/2009/09/setting-default-duration-for-new-calender-events/ Another example of this technique – also shows how you can get the javascript onto the editform.aspx without resorting to SharePoint Designer.

Setting a default duration for new calendar events.
http://blog.pentalogic.net/2009/09/setting-default-duration-for-new-calender-events/

]]>
By: ashoo http://www.endusersharepoint.com/2009/06/15/quick-and-easy-use-jquery-to-set-a-text-field%e2%80%99s-value-on-a-sharepoint-form/comment-page-1/#comment-15991 ashoo Wed, 12 Aug 2009 22:19:25 +0000 http://www.endusersharepoint.com/?p=1756#comment-15991 Hi how do I get the value of a sharepoint field? Hi how do I get the value of a sharepoint field?

]]>
By: Andy Burns http://www.endusersharepoint.com/2009/06/15/quick-and-easy-use-jquery-to-set-a-text-field%e2%80%99s-value-on-a-sharepoint-form/comment-page-1/#comment-13726 Andy Burns Mon, 15 Jun 2009 12:03:39 +0000 http://www.endusersharepoint.com/?p=1756#comment-13726 I've done the same - Matching on "Title" seems to work pretty well for me too. One difference is that I use .val() rather than .attr E.g. $('input[title=Assign Field With Space]').val('You are in a twisty maze of passages, all alike.'); .val seems to take the difficulty out of dealing with different field types. I’ve done the same – Matching on “Title” seems to work pretty well for me too.

One difference is that I use .val() rather than .attr E.g.

$(’input[title=Assign Field With Space]‘).val(’You are in a twisty maze of passages, all alike.’);

.val seems to take the difficulty out of dealing with different field types.

]]>