Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending a Vbscript value to a javascript function 1

Status
Not open for further replies.

tmcneil

Technical User
Nov 17, 2000
294
US
I have this function called from an asp page drop-down box.

Code:
onChange="ValidateSel(this, ‘<%=pivotflag%>’, ‘<%=syncflag%>’);

The issue is, that pivotflag and syncflag could be either yes or no. I am getting an illegal character error and it looks like this

Code:
ValidateSel(this, ‘Y’, ‘N’);

I would like to evaluate the pivotflag and syncflag and then do something with the drop-downs. So, what's wrong with the syntax?

Thanks,
Todd
 
Frontpage put those in when I tried to use single quotation marks. Weird.... Your code change worked just fine.

Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top