Displaying 1 result from an estimated 1 matches for "currenthightlightgroup".
Did you mean:
currenthighlightgroup
2008 Apr 28
3
How to pass variable to $$()?
Hi all,
I want the $$() method to take the selector as an variable. See
below, I am trying to pass the class name as javascript variable so I
can write a generic function in my application but $$() returns
nothing for the following line
var currentHightLightGroup ="amountsFields";//This one comes as a
function parameter
$$(''span[class=\''''+currentHightLightGroup+''\'']'')
-> returns nothing.
Any help is much appericated.
--~--~---------~--~----~------------~-------~--~----~
You received this me...