"data" is actually the string returned by the request, so I cannot access it as a selector - I think that is what you meant. I can't query against it at all in Firefox. Does anyone have suggestions as to how I can convert it into something else before trying to use it? I tried "toString()" on the off chance it wasn't being recognized as such, and that didn't work.
On Jul 27, 2:03 pm, Shelane <[EMAIL PROTECTED]> wrote: > I seen this come up many times. > > What I know has worked in the past as context included selectors as > well (without the $) > $("#invalid_email_address", '#mymainarea').html(); > > so if 'data' were a variable of same said type or allowable types, > wouldn't that still work? > > On Jul 27, 8:54 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> > wrote: > > > > > What happens if you change: > > alert( $("#invalid_email_address",data).html() ); > > > To: > > alert( $("#invalid_email_address", $(data)).html() ); > > > I did not think the context for jQuery would expect a string. I thought it > > had to be a jQuery or DOM object. > > > The documentation does not state a string will work for > > context.http://docs.jquery.com/Core > > > $( expr, context ) > > > Return value: jQuery > > > Parameters: > > expr (String): An expression to search with > > context (Element|jQuery): (optional) A DOM Element, Document or jQuery to > > use as context > > > -Dan