This is basic javascript string manipulation, not jQuery.
Below is a very (very) quick precis of strings in javascript. It may
help, it may not.
A string is defined by it's surrounding quotes, be they (paired)
single or double.
You can concatenate strings by using the + operator.
A string can be
I've just recently figured out a way to use this:
You can do as follows:
var name = whatever;
$('#someid:contains('+name+')');
Should work (just tried it myself)
Cheers,
David
On Nov 12, 11:12 pm, jeff <[EMAIL PROTECTED]> wrote:
> I am a little confused on the syntax for :contains. I want t
2 matches
Mail list logo