SyntaxFix
Write A Post
Hire A Developer
Questions
.id is not a valid jquery function. You need to use the .attr() function to access attributes an element possesses. You can use .attr() to both change an attribute value by specifying two parameters, or get the value by specifying one.
.id
.attr()
http://api.jquery.com/attr/