I have the following code (JavaScript):
Response.Write("<option value="(((tblCategory.Category)="+rs(x)+"))">"+rs(x)+"</option>");
Basically, it puts a query string into a HTML form <option> tag when the page is run. This is required to make the drop down box dynamic. However, its returns the correct data but puts " " around it:
<OPTION value='"(((tblCategory.Category)=Keyboard))"'>Keyboard</OPTION>
Is there anyway of getting rid of the 2 " " and the 2 ' '?
Response.Write("<option value="(((tblCategory.Category)="+rs(x)+"))">"+rs(x)+"</option>");
Basically, it puts a query string into a HTML form <option> tag when the page is run. This is required to make the drop down box dynamic. However, its returns the correct data but puts " " around it:
<OPTION value='"(((tblCategory.Category)=Keyboard))"'>Keyboard</OPTION>
Is there anyway of getting rid of the 2 " " and the 2 ' '?