SOLVED: Use unsafeWindow.Sys.Application.findComponent()
unsafeWindow.$find doesn't seem to work. On Apr 20, 9:40 pm, B K <[email protected]> wrote: > Anthony, > > Thanks for your response. I'm a relative newbie to greasemoneky and and > not sure which > section on the link you provided is relevant to my question. I have > previously tried using > unsafeWindow to no avail. If you could provide some type of short example > of how I > would be able to get at the Sys.Application.findComponent() function I > would appreciate > that or more specific information on whether I should be looking at the > Content Scope > Runner, Content Script Injection ... or Reading Content Globals in the link > you provided. > > e.g how do I implement: var component = > Sys.Application.findComponent('my_component+name'); > > Bruce > > > > > > > > On Friday, April 20, 2012 4:09:07 PM UTC-5, Anthony Lieuallen wrote: > > >http://wiki.greasespot.net/Category:Coding_Tips:Interacting_With_The_... > > > On Fri, Apr 20, 2012 at 3:54 PM, B K wrote: > > >> I working with a page generated via asp net ajax and want to get the > >> selected index of a RadComboBox. > >> I get get at all the ids (getElementById) but cannot get at the > >> 'components' which are accessed > >> through $find (which is an alias to Sys.Application.findComponent). > >> What do you have to have in a greasemonkey script to access > >> Sys.Application.findComponent from asp net ajax? Right now I;m stuck. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
