We have a requirement to select only one element from rich:pickList. How do you disable the controls or prevent folks from moving additional data from the left hand side after an item is selected.
...
Hello,
I am trying to figure out the way to edit a row of table by button with jquery and jeditable.
My aim is to have a "edit" button which will change desired row cells to edit mode.
As per now I have:
$(document).ready(function() {
$("#addrowbutton").click(function() {
$("#addrow").show();
});
$("#canceladd")....
I'm trying to select a specfic < a > to put a style on it put my code is not working`
var url=window.location.protocol + "//" + window.location.host+"/"+window.location.pathname;
jQuery('#accordion a[href*="'+url+'"]').css("font-weight", "bold");
that code is not working at all and it gives undefind object..so any help here :)
Bes...
I have a list of videos - On each video there is an onlick function - the onlick function should replace the value(URL) of the :
<object width="640" height="385">
<param name="movie" value="http://www.youtube.com/v/QmOkhayXlYw?fs=1&amp;hl=da_DK"></param>
<param name="allowFullScreen" value="true"></param>
<para...
I would like to implement a radial menu using CSS3 transforms animations similar to the third demo in this page. There is an implementation in jQuery using canvas Radmenu but it doesn't move as fluidly as the flash one.
First question would be: is this feasible? if possible using only 2D transforms and animations so it works in more pla...
Is there a way to replace a standard scrollbar with a custom image (arrow graphics) that allows visitors to click on the graphics and scroll? 2 graphics (up and down arrow).
...
Hello.
In my web-application i have a form which contains about 25 fields. Users will create this form and form fields value will transfer to database tables. But i also need an editing function for this form. People will push button, form will load and i need form fields values to load from database.
I know that i can load data to form ...
Hi all!
I'm using a fancybox to work with images in my Java Web Application.
Here is some code of my.jsp:
<c:forEach var="imageName" items="${requestScope.myCollection.imageNames}">
<a rel="image_group" href="/My_War/large/${imageName}.do" title="${imageName}"><img alt="" src="/My_War/small/${imageName}.do" /></a>
</c:forEach>
And her...
What's the best practice for creating drop shadows around html where the html can be liquid?
I used to use a table and have 8 png images (4 sides and 4 corners) as backgrounds for each of the outer 8 cells with the html I want the drop shadow around in the middle cell. Not very semantic, but at least the drop shadow imagery were backgro...
I'm attempting to activate table row checkbox when the user clicks within a table row. Each row has a checkbox.
I have the following code which works fine as a standard version.
$('.scrollTable tr').click(function(event) {
if(event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
}
});
The data in ...
How do you prevent formatted user input past a max width? (e.g., 800 pixels) The user input is formatted because it is entered into a WYSIWYG text editor (CK Editor).
This solution doesn't work:
// Replicate user input in hidden div
// Check width
// If width > 800px, remove characters
...because you'd be removing characters fro...
<input type="checkbox" id="var1" name="s_k" >
<input type="checkbox" id="var2" name="s_k">
<input type="checkbox" id="var3" name="s_k">
At some point the checkbox id=var1 is selected and disabled after a certain operation.Now then if id var2 and var3 checkbox are selected how to get the newly selected box id i.e, get ids of checkboxes ...
Hi All,
I'm kind of stuck on a problem of how to stop my menu from executing the fadeOut() function. When I click the main links on my menu to open the submenu it just fades out. Here is how the code looks at the moment:
$('a.main-menu-item').click(function(){
if($('.rtmenu:visible')){
$('.rtmenu').click(function(e) {...
Hi, simplest thing ever but here:
$j(".srch-txt").click(function() {
$j(this).css("color:" "#155D97")
});
$j is a no conflict
So it's pretty easy to see what I'm trying to do: When the .srch-txt element is clicked, change its color to #155D97.
Where have I gone wrong?
thanks!
...
Hi,
Please see the link below,
http://www.logicatrix.com/example/records.html
In this table there are many columns included , so what i want is to get fit the whole table into
drawn gray border i.e. div element with class name bms-dashboard-body. with a horizontal scroll bar just like an excel sheet has on the right bottom corner a sm...
Hi all:
I have div which it is hidden by default , when the use clicks show link the following javascript method is called:
function ChangeControlVisibility(elementID) {
var element = $("#" + elementID);
if (element.css('display') != 'block' && element.css('display') != 'table') {
element.show();
var tempElemen...
I have been writing a php script that saves a long string within cookie (more than 4000 chars long) and I want to save it within the browser cache. The problem is that almost all browsers have a limit. What should I do? I'm using jQuery for adding and reading data from cookie and php.
...
I have this code (running jQuery 1.4.2)
var elementToAdd = $('<h3>').html('header');
var p = $('<p>').html('hello world');
elementToAdd.after(p);
$('div#content').append(elementToAdd);
However, the output is
<div id="content">
<h3>header</h3>
</div>
The paragraph "Hello world" is not added.
What am I doing wrong?
I have been...
I am using the Jquery UI tabs, and want to change the properties of an element on mouseover.
My HTML is this:
<ul id="sub-tabs">
<li><a href="#000"><span>000<br /><p id="ct1">General</p></span></a></li>
</ul>...
And jquery is:
$('#guide-nav ul#sub-tabs span').mouseover(function() {
$("#guide-nav ul#sub-tabs li p").css("displ...
$(function() {
var availableTags = ["ActionScript", "AppleScript", "Scheme"];
$("#tags").autocomplete({
source: availableTags
});
I don want the values inside the tags. i have a JS page i need to make a function for connecting my DB to the auto complete plugin. How can i do it suggestions Please.
Thanks in ...