<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SharePoint Lookup field: how does it work and how to add JavaScript event handler function to it?</title>
	<atom:link href="http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/</link>
	<description>and Boris Gomiunik</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:17:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ben</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2019</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 07 Nov 2011 20:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2019</guid>
		<description>ok, I put the 1.7 jquery library in the layouts folder where the 1.4.4 one was, updated the link in the masterpage to reference the new library.. and re deployed.. I&#039;m not noticing any change on the lookup field with over 20 list items.. and there are two lookup columns on the editform.aspx page..</description>
		<content:encoded><![CDATA[<p>ok, I put the 1.7 jquery library in the layouts folder where the 1.4.4 one was, updated the link in the masterpage to reference the new library.. and re deployed.. I&#8217;m not noticing any change on the lookup field with over 20 list items.. and there are two lookup columns on the editform.aspx page..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2017</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 07 Nov 2011 18:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2017</guid>
		<description>ok.. hold up.. I don&#039;t think I have a reference to the jquery library in the master page.. or I think that is missing.. I&#039;m looking into how to do that.. and redeploy my master page..</description>
		<content:encoded><![CDATA[<p>ok.. hold up.. I don&#8217;t think I have a reference to the jquery library in the master page.. or I think that is missing.. I&#8217;m looking into how to do that.. and redeploy my master page..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2016</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 07 Nov 2011 17:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2016</guid>
		<description>also.. there was a little adlib .. I didn&#039;t have a ribbon in the editform.aspx to get to the edit html source.. so I made a new page.. added a content editor web part.. edited the source.. pasted the code.. then I exported the webpart, uploaded it with a new name.. and on the editform.aspx page, I added the custom content editor web part.. I also tried moving the webpart below the editform webpart that is on the editform.aspx page.</description>
		<content:encoded><![CDATA[<p>also.. there was a little adlib .. I didn&#8217;t have a ribbon in the editform.aspx to get to the edit html source.. so I made a new page.. added a content editor web part.. edited the source.. pasted the code.. then I exported the webpart, uploaded it with a new name.. and on the editform.aspx page, I added the custom content editor web part.. I also tried moving the webpart below the editform webpart that is on the editform.aspx page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2015</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 07 Nov 2011 17:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2015</guid>
		<description>I&#039;m using sharepoint 2010..</description>
		<content:encoded><![CDATA[<p>I&#8217;m using sharepoint 2010..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2014</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 07 Nov 2011 17:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-2014</guid>
		<description>So I tried this.. it didn&#039;t work.. or my implementation didn&#039;t work.. lol  

I tried as is.. then I tried again where I replaced all instances of &#039;20+ Lookup&#039; with the display name of my column .. like &#039;Companies Lookup&#039;  or something like that..</description>
		<content:encoded><![CDATA[<p>So I tried this.. it didn&#8217;t work.. or my implementation didn&#8217;t work.. lol  </p>
<p>I tried as is.. then I tried again where I replaced all instances of &#8217;20+ Lookup&#8217; with the display name of my column .. like &#8216;Companies Lookup&#8217;  or something like that..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-523</link>
		<dc:creator>Rupesh</dc:creator>
		<pubDate>Sat, 21 May 2011 08:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-523</guid>
		<description>Nice post Boris. Thanks for the clarity and solution.

Cheers.</description>
		<content:encoded><![CDATA[<p>Nice post Boris. Thanks for the clarity and solution.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Den</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-522</link>
		<dc:creator>Den</dc:creator>
		<pubDate>Fri, 20 May 2011 16:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-522</guid>
		<description>Hi.
Great blog, by the way.  I have just started using sharepoint (old dog trying to learn new tricks) and i find myself in need of having a label on a form change dynamically depending on the content of a pulldown on the same form.  can this code be applied to this issue, and if so can you point me in the right direction?  Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi.<br />
Great blog, by the way.  I have just started using sharepoint (old dog trying to learn new tricks) and i find myself in need of having a label on a form change dynamically depending on the content of a pulldown on the same form.  can this code be applied to this issue, and if so can you point me in the right direction?  Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bijay</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-521</link>
		<dc:creator>Bijay</dc:creator>
		<pubDate>Tue, 03 May 2011 11:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-521</guid>
		<description>A link to understand look up column
http://www.fewlines4biju.com/2011/05/look-up-column-in-sharepoint-2010.html</description>
		<content:encoded><![CDATA[<p>A link to understand look up column<br />
<a href="http://www.fewlines4biju.com/2011/05/look-up-column-in-sharepoint-2010.html" rel="nofollow">http://www.fewlines4biju.com/2011/05/look-up-column-in-sharepoint-2010.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Wolfe</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-520</link>
		<dc:creator>Andrew Wolfe</dc:creator>
		<pubDate>Tue, 05 Apr 2011 15:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-520</guid>
		<description>Thanks very much for this.  It may be useful in some situations however it is still a bit of a nightmare.

The onpropertychange event fires several times during a dropdown change.  You also can&#039;t use this information to set another dropdown as (I think) only one of them can be on the go at a time.  In the end I&#039;ve had to hook my onchange to another field (could have used a button) I guess.  I&#039;ve got a car and I&#039;m copying values between the Near Side Front and the other wheels.  In the end I&#039;ve had to use do something like the following which opens up each dropdown in turn, sets it value and shuts it down.  This big dropdowns are a nightmare, I wish they hadn&#039;t used them:

var myNSFWidth = getField(&#039;input&#039;,&#039;NSF Width&#039;)
ShowDropdown(myNSFWidth.id); //this function is provided by SharePoint 
var optNSF=document.getElementById(myNSFWidth.opt);
var optNSFIndex=optNSF.selectedIndex;
OptLoseFocus(optNSF); //this function is provided by SharePoint

var myOSFWidth = getField(&#039;input&#039;,&#039;OSF Width&#039;)
ShowDropdown(myOSFWidth.id); //this function is provided by SharePoint 
var optOSF=document.getElementById(myOSFWidth.opt);
optOSF.selectedIndex = optNSFIndex;
OptLoseFocus(optOSF); //this function is provided by SharePoint</description>
		<content:encoded><![CDATA[<p>Thanks very much for this.  It may be useful in some situations however it is still a bit of a nightmare.</p>
<p>The onpropertychange event fires several times during a dropdown change.  You also can&#8217;t use this information to set another dropdown as (I think) only one of them can be on the go at a time.  In the end I&#8217;ve had to hook my onchange to another field (could have used a button) I guess.  I&#8217;ve got a car and I&#8217;m copying values between the Near Side Front and the other wheels.  In the end I&#8217;ve had to use do something like the following which opens up each dropdown in turn, sets it value and shuts it down.  This big dropdowns are a nightmare, I wish they hadn&#8217;t used them:</p>
<p>var myNSFWidth = getField(&#8216;input&#8217;,'NSF Width&#8217;)<br />
ShowDropdown(myNSFWidth.id); //this function is provided by SharePoint<br />
var optNSF=document.getElementById(myNSFWidth.opt);<br />
var optNSFIndex=optNSF.selectedIndex;<br />
OptLoseFocus(optNSF); //this function is provided by SharePoint</p>
<p>var myOSFWidth = getField(&#8216;input&#8217;,'OSF Width&#8217;)<br />
ShowDropdown(myOSFWidth.id); //this function is provided by SharePoint<br />
var optOSF=document.getElementById(myOSFWidth.opt);<br />
optOSF.selectedIndex = optNSFIndex;<br />
OptLoseFocus(optOSF); //this function is provided by SharePoint</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: question</title>
		<link>http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-519</link>
		<dc:creator>question</dc:creator>
		<pubDate>Tue, 22 Feb 2011 09:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointboris.net/2009/10/sharepoint-lookup-field-how-does-it-work-and-how-to-add-javascript-event-handler-function-to-it/#comment-519</guid>
		<description>The event seems to be fired many times (also onload), not only when you click the dropwdown. Also fired when start writing and filtering the values, not only on doubleclick. Have you experienced this problem?</description>
		<content:encoded><![CDATA[<p>The event seems to be fired many times (also onload), not only when you click the dropwdown. Also fired when start writing and filtering the values, not only on doubleclick. Have you experienced this problem?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

