I'm working on a infopath form in Sharepoint 2010, and I need to add some JS goodness to the user experience.
The problem is, I believe the "webpart" that loads the infopath form is loaded dynamically, and I can't attach any jquery events to the contents of the form. I've already tried with "live".
The way I'm implementing the jQuery is by opening the form in Sharepoint Designer, allowing me to add a "content webpart" below the webpart that loads the infopath form. I load jQuery via googleapi, and I can work with the objects within this content webpart, but not matter what I do, I can't "reach" the content in the loaded infopath form?
Is there some magic jquery way of "listening" to a specific html element, and waiting for it to load, and then attach my event handlers and other jquery goodness?
I may just not understand what's going on, but it seems to me, like this should definitely be a possibility, as I can view the source after opening the form, and I can plainly see all the content right there, right above my script block in my content web part.