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 - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -