How to inject java script


I have a value as string abc= “(2546)”

and there is in my select tag in html. for example
option value="(2546)"> Value 1/option>
option value="(2547)"> Value 2 /option>
option value="(2548)"> Value 3 /option>

I want to inject javascript and select option value that matches with abc;


Hi ,
Please go through this.


Not helfull


Try this, not inject js

getValue.xaml (11.4 KB)

Credits : @aksh1yadav (modified your code)