Comments (1)
Hi, it sounds like the JQuery file isn't being loaded. One of the first things that gets declared inside the alert.js file is the Alert._jQuery variable. This uses window.$ or parent.$ depending on whether jQuery is defined in the current window. If it's not defined, it tries to get parent.$, and if there is no parent of your web resource, parent will be undefined, so parent.$ will give you that error.
Couple of things to try:
Check the jQuery reference is correct. I notice there's no ".js" on the end, but this may be the actual file name. And I notice the prefix is mag_new_ but again this may be what it actually is, just might pay to double check it is correct.
Secondly, when you load ClientGlobalContext, I believe it will load in jQuery for you as well - however you're loading this in after alert.js, so the error would've already happened (this might be why it looks like jQuery is being loaded correctly). You should be able to just move the alert.js reference to be below Context, if you find your jquery reference is not the problem.
Let me know if either of those work.
-Paul
from alertjs.
Related Issues (20)
- Popup dialog box useing Alert.js and ribbon workbench HOT 4
- Pass value to Callback function from HTML HOT 3
- question before buying the third version HOT 4
- Alert.showWebResource -404 ERROR HOT 1
- Buttons not working HOT 1
- Unable to call a function inside a webresource from OK button HOT 1
- Use alert.showwebresource to get message from user HOT 9
- Supportability for Unified Interfaace HOT 1
- Alert.showWebResource fail in CRM build 1710 HOT 5
- Alert.getCrmWindow() is not working HOT 6
- Alert.showWebResource custom button closing alert HOT 4
- Buttons have no ID optionality HOT 3
- Dynamics CRM 365 (v9) compatibility HOT 7
- Issue with populating lookups in the new Dynamics 365 UCI (Unified Client Interface) HOT 5
- Issue using input fields on UI on Android devices in "portrait mode" HOT 1
- Xrm.Page / formContext HOT 1
- Theme colors HOT 2
- Change font-size issue HOT 2
- TypeScript "Cannot find module" errors HOT 4
- Alert js is not working on HTML web resource HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alertjs.