Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

How to use JQuery capabilities in a Web Resource?

$
0
0

Hi,

I have created an HTML page as a web resource where I want to display some data.

The HTML page contains a lot many controls, and I am easily able to achieve changing a few attributes of the HTML controls using "document.getElementById". But there is an issue when I want to do the same thing using JQuery functions. For example, $('#...') something says, "$" is undefined.

However, in my HTML page, I am loading JQuery library that gets loaded by default with the CRM. That means, the web resource has following tag to make sure that the JQuery library gets loaded to be used in the web resource.

<script src="../sln_jquery" type="text/javascript"></script>

Here, "sln" is the prefix of publisher of my custom solution. I can also see the JQuery file getting loaded when I try to check using the Developer Tools in IE.

Any idea on why this would be happening? I know, this is possible, just need to find a way!

Thanks


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>