Get jQuery to read arrayed ID's
Go to solution
Solved by codesidian,
This is bad, and i highly recommend trying to find out why what you're currently doing isn't working.
For now though try using an attribute selector or escaping the meta-characters:
alert($('[id="#AA[0][1][A]"]').val()); alert($("#AA\\[0\\]\\[1\\]\\[A\\]").val());
-
Topics
-
1
-
7
-
5
-
Gurky ·
Posted in Operating Systems4 -
5
-
joshfrog ·
Posted in Laptops and Pre-Built Systems3 -
4
-
DASADAS ·
Posted in Troubleshooting4 -
8
-
Poinkachu ·
Posted in Troubleshooting7
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now