Hi I am using selenium webdriver where I try to execute jQuery script by passing java variable to access valid id.
here is the code.
int move = 3;
String date = "2011-03-05";
String script = "$('#date_of_birth-'+move+).datepicker('update', '+date+')";
js.executeAsyncScript(script, 1000);
I want to use both move and date variable inside jQuery function.