Using jQuery in a Blackboard Building Block

0 votes

Shot in the dark here, but I'm trying to use jQuery in a custom building block of type module for Blackboard, and would love to know the tag structure I'm suppose to use to get this accomplished.

I have tried several combinations of the tags in the library to get this done. Here is my latest attempt:

<%@page language="java" pageEncoding="UTF-8"%>
<%@page import="blackboard.data.user.*" %>
<%@page import="blackboard.platform.session.*" %>
<%@page import="blackboard.persist.*" %>
<%@page import="java.sql.*" %>
<%@page import="java.util.*" %>
<%@taglib uri="/bbData" prefix="bbData" %>
<%@taglib uri="/bbUI" prefix="bbUI" %>
<%@taglib uri="/bbNG" prefix="bbNG" %>

<bbUI:docTemplateHead>
<script type="text/javascript" src="jquery-ui-1.8.2.custom/js/jquery-1.4.2.min.js></script>
<script type="text/javascript" src="jquery-ui-1.8.2.custom/js/jquery-ui-1.8.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.2.custom/css/custom-theme/jquery-ui-1.8.2.custom.css" />

<script type="text/javascript">
$(function(){
    $('#tabs').tabs();
});
</script>
</bbUI:docTemplateHead>
Jul 25, 2022 in Web Development by gaurav
• 23,260 points
602 views

1 answer to this question.

0 votes
The previous answer is correct in that Blackboard Learn uses prototype.js. Because both prototype and jQuery use $, you must use jQuery.noConflict(). This should solve your issue.
answered Jul 26, 2022 by rajatha
• 7,680 points

Related Questions In Web Development

0 votes
1 answer
0 votes
0 answers

How do I fix performance issues caused by event delegation in a large DOM tree using jQuery?

How do I fix performance issues caused ...READ MORE

5 days ago in Web Development by Nidhi
• 2,660 points
21 views
0 votes
1 answer

How to create a simple map using JavaScript/JQuery

var map = new Object(); // or ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
1,356 views
0 votes
0 answers

How to add a link in Jquery PrettyPhoto to download the image

I am using Jquery PrettyPhoto to have ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 23,260 points
905 views
+5 votes
4 answers

How to execute a python file with few arguments in java?

You can use Java Runtime.exec() to run python script, ...READ MORE

answered Mar 27, 2018 in Java by DragonLord999
• 8,450 points

edited Nov 7, 2018 by Omkar 81,246 views
+1 vote
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,500 points
8,366 views
0 votes
1 answer

What are the differences between getText() and getAttribute() functions in Selenium WebDriver?

See, both are used to retrieve something ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,500 points
17,445 views
0 votes
1 answer

Selenium JARS(Java) missing from downloadable link

Nothing to worry about here. In the ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,500 points

edited Aug 4, 2023 by Khan Sarfaraz 4,883 views
0 votes
1 answer

How can I create a simple page vertical scroll bar without using jQuery?

Surprisingly, there is not a great, simple ...READ MORE

answered Jun 22, 2022 in Web Development by rajatha
• 7,680 points
544 views
0 votes
1 answer

Adding a page loader using jQuery

“html loader using jquery” Code Answer $('body'). append('<div ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
1,057 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP