Create your first automation in just a few minutes.Try Studio Web →
by Jeff Huang
0
Activity
1.1k
Do you know how to resolve the error: Inject Jquery Script: TypeError: n is not a function
Hi Arham,
Hope you have resolved your problem.
If not, have you tested your code in the browser?
If your code doesn't work in the browser, you may search this error on the internet and find the possible cause as it looks like a JavaScript/jQuery coding error.
Otherwise, please refer to the user guide about how to use this jQuery custom activities package.
Thank you.
How can we return a datatable as an output of the jquery script?
Hi Manisha,
Sorry, I don't quite understand your question.
Datatable is not a native data type of JavaScript/jQuery. I think you cannot create a datatable variable in jQuery and return it.
To return multiple values from jQuery, you can return a string and parse it in your UiPath C#/VB.NET code.
Thank you.
Hi, sorry I don't see how to respond. No we're not making any ajax calls, just some query to interact with a webpage, hide and show elements, etc. Ever since then we are getting "Inject Jquery Script: The operation has timed out." intermittently and not sure why
EDIT: Yes thats what we did actually, moved to a local file, but after posting this yesterday I realized we had missed one instance :D thank you for responding!
Hi Samantha,
Thank you for the question.
According to the two errors and the information you provided, the problem could be from your jQuery library file.
Did you load it from a web URL? There can be various reasons that would cause these errors.
For instance, the unstable internet connection, the unstable hosted website or the firewall limit.
If you are able to, you may try to load the library file locally and see if it happens again?
Thanks.
EDIT: Glad to know you've solved it. You're welcome :D Happy coding!
Hi, do you know what would cause this error? Inject Jquery Script: The remote server returned an error: (503) Server Unavailable.
Hi, did you try to access a website or use something like AJAX to call a Web API? It looks like an error returned from the server. Please check if that server side App you'd like to access is working. Thanks.
License & Privacy
Apache
Privacy Terms
Technical
Version
2.0.0Updated
November 23, 2022Works with
Studio: 20.10.4 - 22.10.3
Certification
Silver Certified
Tags
Support
UiPath Community Support
Resources