Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I Prevent Dreamweaver From Inserting Single Quotes Around My Javascript Function Parameters?

0
Posted

Can I Prevent Dreamweaver From Inserting Single Quotes Around My Javascript Function Parameters?

0

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”.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123