Can I Prevent Dreamweaver From Inserting Single Quotes Around My Javascript Function Parameters?
In several instances in my code, I pass references to form elements in calls to various Javascript functions. It seems like Dreamweaver looks at these parameters that do not have variable declarations, and assuming that i’m trying to pass a string literal, inserts singlequotes around the parameter in the function call. This is sometimes easily fixed by a global search and replace, but other times Dreamweaver does this to template code that that a search and replace wont touch. It’s annoying to say the least. I often wish Dreamweaver didn’t have the freedom to correct my “coding mistakes”.