I've been trying to work out this issue for some time. Let me know if I missed something simple. Otherwise, here's what I encountered and my eventual solution.
We have a lookup list of vendors that is ~300 items long. SPComplexToSimple saved us a lot of trouble of selecting the desired vendor quickly. Now my goal is to auto-select a specific, popular vendor on form load - just to save the user a few seconds, as we
use this vendor 90% of the time.
I've tried a lot of variations of setting the value and none of them worked except the find.each system used below. (I did not want to filter the dropdown because other items needed to stay visible).
However, a new problem showed up: SharePoint did not save the changed field value after form submission. Instead, the column showed the first option on the list.
After reading your documentation and your mention of the change event, I finally guessed that it was not being triggered after my code. I added the .change() to the select element, and voila, it finally worked.
Is there something simple that I overlooked? Have you had success with setting a dropdown value of a field created by SPComplexToSimple? Either way, I wanted to post here in case others were looking for a solution to a similar issue.
this.selected = $(this).text() == "Main vendor";
Thanks for all your work!