JQuery or Javascript solution for selecting default value in drop down
- by user1446843
I have a calender list in a webpart page, this webpart page has a version number in it's title e.g. "WebPart 1.62".
What I need to do is when a New item is created in the calender list on a webpart page, the New Item form has a dropdown menu 'SystemID' which gets it's values from the title column of a 'Systems' list, which is pre-populated with all versions of webpart forms. This dropdown menu 'SystemID' should select the version of the webpart page it is in as the default value.
I need a JQuery solution for this, or even Javascript. I am finding it difficult as I am new to both JQuery and Sharepoint. I am using SP2007.
I'll appreciate any guidance in solving this.
At the moment the Create New Item form of the Calender list has the 'SystemID' drop down list pre-populated with the versions from the Systems list.
If anyhthing is unclear pls let me know and I'll explain in more detail.