Hi,
I use jQTransform (http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/) to style select boxes, but when testing it and other types of form styling plugins, they don't provise a scroll bar for scrolling through items, even though it is set to overflow-y:auto.
Can anyone help with this? For the time being I have set the h...
Hi,
I'm using JQuery 1.3 to validate and submit a form to a PHP page which JSON encodes a server response to display on the original form page.
I've tried submitting the form without the JQuery part and everything seems to work fine but when I add JQuery it doesn't submit and constantly displays the ajax indicator.
Here's my code:
...
Hi everyone,
I'm setting up jQuery and Uploadify in my Rails app (with the uploadify-rails plugin). Its all going fine, the flash is loaded, the authenticity paramater is passed through along with the session key and so on. However, my MySQL queries on the way to handling the upload from the flash are all reporting a 'redundant UTF-8 se...
I have being using jquery autocomplete. By default it is showing 10 items in the dropdown, i want to increase its number to 20 or customise it according to requirement. i have tried many ways of cache length but none of them is working. pls suggest a way.
...
Hello all,
I have this function below which returns all IDs of checked boxes on my page seperated by a comma. It works great but the problem is, it seems to put a lot of white space after each checkbox ID. I can't seem to figure out why?
/*Returns selected checkbox ID in string seperated by comma */
function get_selected_chkbox(){
...
Hi!
I want to upgrade jQuery inside my drupal installation. At the moment I have jQuery 1.2.6 and I would like to upgrade it to jQuery 1.4
I guess some Drupal modules still depends on the old jQuery version. I've tried jquery_update module to upgrade jQuery, but it didn't work. It asked to replace the original Drupal files in the "misc...
To build a menu block which should be switchable with hide/unhide of the menu items, I'm using .append html.
The code idea is this:
navigat += '<h3 class="infoH3"> <a id="' + menuID +'"'
+ ' href="javascript:slideMenu(\'' + menuSlider + '\');">'
+ menuName + '</a></h3>';
navigat += '...
Hi guys!
I got a problem with the jQuery Validation plugin Jörn wrote.
Here is how my form looks:
Two radiobuttons that makes yes or no.
The yes radiobutton is called and has ID = #bWantStorage1
That radiobutton gives the email field a class named storage when its clicked.
And then I have the email field, and if Yes is checked ( #...
I have a form that is submitted via Ajax to a PHP script. Inside the PHP script I do a few checks for swear words.
How would I pass a 'yes' or a 'no' back to jquery from the PHP script so I can display some feedback to the user on the front end? In other words, a 'Thank you', or a 'Don't Swear!'
Thanks
...
Hy I am a uber nube to jquery my question is like this:
if I have multiple toggle on same page and the div I`m toggleing must be desplayed in the same div.
For example I have in div 'box' 6 divs named '1' '2' '3' '4' etc and all are hiden if I click on a 'a' tag named 1 it will display content div 1 in div 'box' if I click tag 'a' na...
I have a script that checks the class (integer) of a , runs a switch statement to change that integer value to text and appends the text to another in the same listitem tag. I use the .each() function because each listitem starts with class=_[user ID] -- each user can have up to 5 entries.. Enough explaining -- heres the code:
<HTM...
$('#somediv').stop(false, true)
.animate({marginLeft: '-=' + e.width() + 'px'}, options.speed, function(){ options.onNewSlide() })
e.with() returns 640
opctions.speed contains 800
options.onNewSlide() contains a a custom callback function
It works fine in firefox. But i debugged it with jquery.lint because it was throwi...
Hi Folks,
$(document).ready(function(){
var _new_li = $('<li/>', {
'id': 'p',
'text': 'CLICKME',
click: function(){
alert('fired');
},
data: {
'somedata': 'somedata',
}
});
_new_li.appendTo($("#example"));
});
I receive an ...
So I've got the latest versions of jQuery and UI running.
I'm using the basic autocomplete invocation and returning valid JSON (validated via JSONLint).
$("input#cust_id").autocomplete({
source: yoda.app.base + "/assets/cfc/util/autocomplete.cfc?method=cust",
minLength: 2,
select: function(event, ui) {
...
Hi
I am currently working on a project where I am using jQuery to animate a block of text on mouse over. The event listener is on the containing div (as shown by the code below) and works really well until the mouse is over the title (.views-field-title) which is absolutely above the containing div. The animation begins to jump almost a...
Hi,
I currently have 3 textbox controls on my page.
I also have a required valdiator of each of the textboxes. However I only want the validator for a textbox to fire if there is text in either of the other 2 textboxes. If all 3 textboxes are empty then no validators should fire.
Is there any way I can do this in javascript/jquery as ...
hi,
does the "find" method work in jQuery with classes selectors ?
For example:
var tagsDiv = $(".node-form .taxonomy-super-select-checkboxes").find("div.fieldset-wrapper");
doesn't work. But
var tagsDiv = $(".node-form .taxonomy-super-select-checkboxes").find("div#edit-taxonomy-tags-1-wrapper");
works. This is the html code:
.....
Is this the proper way to use the .animate(top) function?
Positive number (animate down)--
$("div#container div#history-menu").animate({top:'180px'}, 600);
Negative number (animate up)--
$("div#container div#history-menu").animate({top:'-180px'}, 600);
Because I'm getting a java error in my error console that says:
"error...
Hi, I have a form that submits to a PHP script with Jquery and Ajax. The PHP script returns some XML. For some reason the Ajax success function is not firing, and the error ones is.
Can anybody see where I'm going wrong?
My Jquery is as follows
$('#submit-excuse').submit(function (event) {
event.preventDefault();
ws_ur...
I am trying to make a jquery tool tip to open up a link in a mootools lightbox.
Can you please help me... Here is my Code:
Header
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language="javascript" typ...