How to inject java script


#1

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

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

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


#2

Hi ,
Please go through this.


#3

Not helfull


#4

Try this, not inject js

getValue.xaml (11.4 KB)

Credits : @aksh1yadav (modified your code)