Your code has several problems:
- You've left off end-of-line semicolons (lines 1 & 2)
- Your code is illogical: you seem to be trying to use jQuery to get an attribute, not an element (line 2)
- Your jQuery code is completely invalid (line 4)
I'm not quite sure exactly what you're trying to do, but here's how you would use jQuery to get an element and then alter that element's attributes using jQuery's attr() method:
var myElement = $('#myElementID'); // Store the element in a variable with jQuery
$(myElement).attr('attr', 'value'); // Set/alter one of the element's attributes