Reputation: 23449
I'm trying to use the Eval()
function of Watin in the following way:
ie.DomContainer.Eval("$(\"select[gwtdebugid='signup-flow-choose-timezones']\")");
I' using the scape character by it gave me the following error:
ReferenceError: '$' is not defined.
What is the correct way of formatting this string?
Upvotes: 1
Views: 216
Reputation: 33381
You have missed the closing bracket and quotes.
ie.DomContainer.Eval("$(\"select[gwtdebugid='signup-flow-choose-timezones']\")");
Upvotes: 4