I need a tree plugin that has the following functionality:
- add nodes (to any given node)
- delete nodes (any node)
- collapsable/expandable
- easy access to the tree data (not sure if it is possible)
Which plug-in would you recommend?
...
var rules = "Numeric - percentage Informational";
How do I validate an input based on the above criteria?
Do I use an array, if so, how do I use it? Split the rules or use jQuery Contains?
I have similar rules like the one above to validate my inputs.
The rules above will make sure that the input is numeric and a percentage. Informat...
I'm trying to retrieve JSON data from a remote site with Rails/Prototype.
I've found that there's a branch of Prototype that has an Ajax.JSONRequest() function. I can't get this to work.
jQuery has a $.getJSON() function, but I'm using some Prototype functions and I'd rather not switch to jQuery or use no conflict mode.
What am I miss...
Hi, just trying to tie up a few loose odds and ends here. I have the following code:
$(function(){
// start a counter for new row IDs
// by setting it to the number
// of existing rows
var newRowNum = 2;
var quantity = 1;
// bind a click event to the "Add" link
$("a").bind("click", function() {
// increment the counter
newRo...
I'm not sure if I have the syntax correct in the code below, I'm trying to append a var to a string parameter within the find function. I'm trying to search for a unique id within each input element of a particular form.
//Get value attribute from submit button
var name = $('#myForm').find('input#submitThis').val();
//Other code...
Hello,
I'm making a post request to the server and getting back the array of data that I want, but I can't see to access the individual elements and I can't figure out why.
This is the jist of it
$(document).ready(function() {
$.post("myscript", { Action: "JQueryReq", },
function(data){
alert(data);
});
});
If I do the abo...
I have a form that has many checkboxes (too many for it to make sense to use their own rules), and I need to use the jQuery Validation Plugin to make sure at least one of them is selected. They all have different names, so most of the solutions I've found so far by Googling don't work for me.
However, I came across this post, which I t...
Ok, I have a wordpress theme installed here (www.sullivansuccesscoaching.com/home ...we need the /home because there is still an index.html hiding the wordpress install. This is intentional).
On the /home page I have a jquery cycle.lite running for the .animCont class which basically fades the slides using opacity changes. The ol, ul e...
I have a page where i have multiple textboxes followed by a "browse" link, like this:
[textbox1] Browse
[textbox2] Browse
[textbox3] Browse
Now I want to know which textbox's browse link I pushed. I want to set a global variable (how to do that in Javascript/JQuery?) and save the textbox, or at least the class/id/name of the textbox so...
I'm using the following script below to add "+1 day" to second field (#returningdate). But if a user chooses on the #leavingdate 12/31/2009 they would get a #returningdate of 12/32/2009 instead of 01/01/2010. This happens with any end month date.
<script type="text/javascript">
$(function() {
$("#leavingDate").change(function(...
I need to loop through all table elements, somewhere keeping an index and then loop through all elements inside those tables. Idea is to add information into database about elements inside tables together with their table index.
...
I remember seeing this ecommerce site where the shopping cart followed you on the screen even when you scroll down the page.
Is there a plugin for that? what would it be called?
...
On amazon.com and on walmart.com there is a flyout feature when you hover over the departments. It works similar to a menu but an actual rectangular window with full lists of links are displayed on hover.
I am trying to find the name of that feature. I wonder of "flyout" is appropriate? And as a second question are there jQuery plugins ...
where can i get informations how styles are written in jquery.
for example it is not the normal way z-index
it is zIndex... and so on..
fontWeight..
...
Hi my friends.
I am working with two plugins in jQuery: jquery.scrollTo and jquery.Colorbox and I'm having an issue, quite simple I think.
What I want to do is to fire colorbox just after the scrollTo event ends.
ScrollTo actually supports callbacks with the setting onAfter and it works with simple alert() messages. But when I write a...
Hi, I am using the jquery curvy corners plugin I can get this working on a div tag, but as most of the content is empty, and the width/height is 90% of the page the corners are only rounded at the top.
Also when trying to round the corners of a table this doesnt work, is it possible?
<div id="content" class="content">
<table id="nav_l...
I have jquery cury corners working great in firefox, this includes on a div and table.
The div content is empty, but has a height and width vaule...this causes problems in IE as only the top of the div tag is cornerd, the table isnt at all.
<div id="content" class="content">
<table id="nav_links" class="nav_links" cellpadding="7">
...
I have two sortable lists, one being nested, with a mouse over effect on the li elements of the nested sortable list. My problem is that the mouseover and mouseout functions are being called inconsistently when a user moves the mouse quickly through the list over the child elements.
Here is a sample of what is happening, you have to dr...
I am working with jqDock on a DotNetNuke project. I ran jQuery.noConflict() and went through the jqDock.js file and changed all '$' to 'jQuery' (though I don't think it was necessary).
In this little bit of code I have an issue:
altImage : function(){
var alt = jQuery(this).attr('alt');
return (alt && alt.match(/\.(gif|jpg|...
Hi, I am using this JQuery autocomplete plugin. It works, and it's simple. But there's a slight problem...
$("#q").autocomplete('/misc/autocomplete/', {autoFill:false,multiple:true, multipleSeparator:''});
When that happens, everytime I push a key into #q, it will call that misc/autocomplete/ website. If I search for cat, it will ca...