Is it possible to add strings together or does that need to be done outside in a variable? Something like ($"input[name='element' + "+x+"]")
On Feb 18, 2:00 pm, aquaone <aqua...@gmail.com> wrote: > ($"input[name="+x+"]") > > On Wed, Feb 18, 2009 at 13:56, Zaliek <zali...@gmail.com> wrote: > > > I haven't found any mention of this in the documentation. Can you use > > a variable in place of a string when using a selector to match an > > element in a page? If so, what is the syntax? > > > x = foobar > > $("input[name=x]")