Get data using attribute

Get data using attribute


I am new to jquery. I am using jquery to get data in sharepoint

I am referencing the jquery-1.3.2.min.js in my code

I have declared var colN = ""Project Title""; (----- error here)

I am using $(this).attr(colN);

On the above line I am getting error

error: the server name cannot contain the ' ' characters Project --> <-- Title

I think space cannot be used like in my case its Project Title. If so how can I replace that

Please help me how to resolve this