on 08-01-2013 10:37 AM
Hi all,
I'm trying to load jquery library in my web application. I'm testing it with simple hide div on click function. I have downloaded and uploaded JQeruy file in MIME Repository via SE80 transaction and I'm calling it in script tag like this.
<script type="text/javascript" src="bwmimerep:///sap/bw/mime/Customer/JavaScripts/jquery-2.0.3.min.js">
$(function() {
$('#right_button').click(function() {
$('#middle').hide();
return false;
});
});
</script>
And this is not working, what can be wrong.
Thanks!
Never mind, i solved it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, would you share with us how you managed to load and use JQuery in the Web Application Designer?
I am loading JQuery in the <head> section, and using it in a script item, but unfortunately does not seem to work (my guess is that my script is interpreted before JQuery is loaded).
Thank you and regards, Giulio
Hi Giulio,
i loaded it like this before closing head tag:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" />
<script type="text/javascript" >Some code...</script>
</head>
Hope this helps.
Mijodrag
So guys, I'm trying to use JQuery in Web App Designer so I can animate sliding divs and thus create pages for reports but I don't think I'm linking JQuery library properly in XHTML editor, any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.