Hi, im using the following Jquery in the rpachalenge inspect element console:
jQuery(‘[Id=“YZ7lv”]’).val(‘randomText’).trigger(‘change’)
it works perfectly, but when i use it in the ‘Inject Jqery Script’ activity, it throws the error:
Inject Jquery Script: TypeError: n is not a function
I am going beyond crazy as to why this wont work. Really appeciate any help.
@Arham_Shahzad,
You should be putting it in a function. Refer this solution.