jQuery fiter function with ID and class as variables -


I try to create a filter function in jquery. I have jquery two variables: both rowid and realclass with both the correct values I try to use my filter function:

  $ ("input"). Filter ('"#" + rowid .realclass'). Show ();   

But this function is not working. If I use it:

  $ ("input"). Filter ("#" + Queued). Show ();   

Then everything is fine, but I need to get the actual class variable as a square in this statement. Any ideas?

Try

  $ ("input") .filter ( "#" + Row + ".realclass"). Show ();   

and I think you can use it directly from id because a id will be unique to a page

Comments

Popular posts from this blog

c++ - 'std::string' has no member named 'get' list[i]=user.get; -

python - how we can use ajax() in views.py in django? -

java - Instances of classes -