Jim, >Say that in English :) > >I've got my form setup just like the example - I'm passing in my data >along with the pipe and the primary ID. When I select the item and >click the form button I get an alert with the ID. > >I'm guessing I need to remove the alert and somehow alter that so it >populates the hidden field instead. I suck at JS so I have no idea how >to do that - any pointers or examples on how to do that would be >appreciated. :)
You could update a hidden form element using: $("#hiddenElementId").val("new value"); In my example, you'd replace: alert("The value you selected was: " + sValue); With: $("#hiddenElementId").val(sValue); >It seems like there should be someway to use jQuery to possibly hide the >form's submission button until the user actually clicked on one of the >items in the list??? You could always do some validation and make sure that the hidden form field has a value in it. This would ensure that the form doesn't submit until a value has been found. This won't address the UI issue of an asynchronous operation, but it'll prevent the form from being submitted until the code to fill in the hidden form finally runs. If you don't understand the async issue, just ask. -Dan