I am using the autocomplete plugin. Everything works fine, besides one
little problem.
How can I control the positioning of the select-box that contains the
autocomplete suggestions? I want to lower the select box a little bit,
and also want to move it a little bit to the left. This is because I
Take a look at the history plug-in page code again:
http://www.mikage.to/jquery/jquery_history.html
A really important concept to understand is that the history plug-in (any
history plug-in) is listening / watching for the URL to change. Any change
you want it to make going Back you will need to
I've used swfupload. It's cross browser, multiple files, etc..
http://netvibe.nl/imagemanager/
On Nov 24, 4:21 am, cambazz [EMAIL PROTECTED] wrote:
Hello,
I am looking for a cross browser solution to file upload with commons
file upload. With the commons file upload, one may also make
How to find very first parent of perticular element?
Update: Found the problem, it was a CSS issue, the carousel container
not being floated correctly.
Ade.
On Nov 24, 1:50 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Does this work with Google Chrome? All looks fine on page load.
However, the thumbnails overshoot (can't think of a
$(#myElement).parent();
Shawn
Debby wrote:
How to find very first parent of perticular element?
jQuery cycle plugin is very nice but I have had bad experiences with
plugins...
Usually they do a lot of things but not exactly what I need, therefore
I have to start tweaking them and 'often' it would take less time
doing it from scratch...
often... ;-)
On Nov 24, 12:09 am, Anyulled [EMAIL
That makes sense; but then how do I bind the functions to the links?
The functions represent a large block of black-boxed code that is an
AJAX handler that pushes content into destination divs.
On Nov 24, 2:52 am, Brian Cherne [EMAIL PROTECTED] wrote:
Take a look at the history plug-in page
I've been trying to figure out why when I click the button nothing
happens...Can someone shed me some light on this example?
html
head
script src=jquery-1.2.6.min.js/script
script
function init(){
alert('one');
alert('two');
};
Any help is much appreciated.
hi, i am stumped so i am posting it here. no luck searching google for
many hours
this is my html code
div id=firstpane class=menu_list !--Code for menu starts here--
p id=header1 class=menu_headHeader-1/p
div class=menu_body
a
I've used the code provided by,
http://jqueryfordesigners.com/image-cross-fade-transition/
Here's the site in question,
http://www.hbportfolio.net/clients/thestlnightlife/
Any idea why sometimes it would show both images underneath each other
in IE6? It shows last image twice in IE6. And I
i have function
jQuery.ajax({
type: GET,
url: url,
data: queryString + 'btnSubmit=1',
success: function(msg)
{
if(msg=0){
if(msg)
{
$(#errorid).val();
}
elementobj.parents()[0]
or elementobj.parent()
On Mon, Nov 24, 2008 at 6:51 PM, Debby [EMAIL PROTECTED] wrote:
How to find very first parent of perticular element?
--
Website/Java Games: http://www.chitgoks.com
Java Casino Games: http://chitgoks.tripod.com
Photo Gallery:
header2obj.children().children().children(#submenu);
chitgoks wrote:
hi, i am stumped so i am posting it here. no luck searching google for
many hours
this is my html code
div id=firstpane class=menu_list !--Code for menu starts here--
p id=header1 class=menu_headHeader-1/p
try
$(#clickMe).click(function () {
alert('four');
});
bkbonner wrote:
I've been trying to figure out why when I click the button nothing
happens...Can someone shed me some light on this example?
html
head
script src=jquery-1.2.6.min.js/script
script
Hi,
when I look at my website statistics (awstats), somehow I keep finding
these 404 records that point to:
/jquery-1.2.3.pack.js/eval/3DYR8yd%2Bmb25QTy058Fe3Q%3D%3D
or
/jquery-1.2.3.pack.js/
+sfgRmluamFuX1R5cGU9amF2YV9zY3JpcHQmRmluamFuX0xhbmc9dGV4dC9qYXZhc2NyaXB0+
Does anyone have an idea
$(#header2).children(p.submenu);
or
$(#header2).find(.submenu);
or make use of context:
$(.submenu, #header2);
- read that as all items with class of .submenu under the #header2
object. The #header2 part can be a selector, DOM element, or jQuery
object.
HTH
Shawn
Liam Potter wrote:
Hello, thanks to all of you.
Your 3 solutions are interesting.
I'll use the wordpress specific solution, but I remind the others for
future work.
I'm glad to see that the JQuery community is helpful and reactive.
Regards,
Raphael
Try:
$(this).parents('.popup_window_wrapper').hide();
On Mon, Nov 24, 2008 at 6:08 AM, Debby [EMAIL PROTECTED] wrote:
Hi all,
On click of hyperlink, i am cerating one popup which is under one div
having class but no id.
On click of close window hyperlink in the popup i want to hide this
i've tried this plugin and i got a problem on running with IE7.
i've posted this as a request beacause i'find the same problem as another user
here is my post http://plugins.jquery.com/node/2472
Can anyone helps thanks
2008/11/24, OhNoMrBill [EMAIL PROTECTED]:
That makes sense; but then how do
Here is the call to the jquery ajax forms plugin:
$(#addForm).ajaxForm({ target: '.flexigrid'},
function() {
$(#CIPdocs).flexReload();
}
);
The target is the div that I am trying to upgrade. Basically, I am
using the
and a good asdf to you to sir.
Weston Weems wrote:
asdf
asdf
Seems to me you're missing a double dot:
{title: Roman History, ID,13}
should be
{title: Roman History, ID: 13}
Also what's the point in using option groups without a label?
Something like this should do:
JS:
var $history = $('#history optgroup');
$.each(json.channel.subtopics,
The XHR object and the error are passed as arguments to the ajaxError
callback:
$.ajaxError(function(event, XHRObject, options, errorThrown){
console.log( XHRObject.responseText, errorThrown );
});
see http://docs.jquery.com/Ajax/ajaxError#callback
On Nov 24, 4:09 am, Adwin Wijaya [EMAIL
Also you need to add the handlers after DOM has loaded, or run the
script at the end of the document body:
script type=text/javascript
$(document).ready(function(){
$('#lstRace').change(function(){
alert('yay');
});
// everything that deals with elements in here
});
I am stubbornly refusing a flash based solution. I am sure there is a
way.
On Nov 24, 12:01 pm, netvibe [EMAIL PROTECTED] wrote:
I've used swfupload. It's cross browser, multiple files, etc..
http://netvibe.nl/imagemanager/
On Nov 24, 4:21 am,cambazz[EMAIL PROTECTED] wrote:
Hello,
I
I got rid of the syntax error, but it appears that clueTip is not
inserting the header on the request.
function initToolTips() {
jQuery('a.eventTitle').cluetip({
width: 350,
local: false,
hideLocal: true,
cursor: 'pointer',
Hi,
I've just run another couple of tests and have discovered the following:
When the form opens and defaults to the tab where the input is located,
$('#field_id').width() returns the correct width (i.e. 175 in this case).
However when the form opens and defaults to a different tab,
Paul Hammant wrote on 11/23/2008 7:28 AM:
The article talks of prepending with {d: and suffixing with } if the
root node is an array. Is that the best strategy ?
The best strategy is to generate a unique token (nonce) when you create a
session for the user and store that value in their
This seems to have something to do with moving a SCRIPT tag around in
the DOM. The gadget creates a script and a style tag. If I *remove*
the script tag from the DOM, and then reposition the wrapper to
another location in the DOM, all works well. If I try to *move* the
script tag to another DOM
I'm making first steps using QUnit for unit testing javascript.
I have a logic that based on selected option from selectbox does
something. I would like to test that logic but I'm unable to select
options programatically in my tests so that change event of the
selectbox is fired.
Please help.
On Nov 22, 10:24 am, hyon [EMAIL PROTECTED] wrote:
Hi,
When desc sorting, it generated 1.5, 0, and No data~~, but when asc
order, it generated 0, No Data~~, 1.5.
It sounds like it is evaluating all types as numerics, and so No
Data is being interpreted as 0
Im not familiar with
Hi all, ive just started using jQuery, and also the livequery plugin
I set up jQuery to automatically stripe a table, and also do a
mouseover to highlight the current row.
This works nicely, but I wanted to use it inside of a tabset which
loads its pages dynamically
To do this I started using
I'm creating a login box that has a Username and Password field. Their
label is displayed inside the input field them self, so you see
Username and Password in the field when the page is loaded and
when you focus the field this label is hidden. It's actually a
background image that a hide and
Ben Nadel did it with CF8 and uplaoded multiple files,I have not had a
need to try this but other stuff from Ben is has been great.
http://www.bennadel.com/blog/1244-ColdFusion-jQuery-And-AJAX-File-Upload-Demo.htm
Hope this help
Im using a jQuery UI tabset, with each tab contents loaded dynamically
div id=example
ul class=ui-tabs-nav
li class=ui-tabs-selecteda
href=accounts.phpspanAccounts/span/a/li
lia
Maybe onblur = submit is what you are after?
This is what I am looking for. Submitting on the condition that the
user tabbed out of the current jeditable input field.
Man you thought of everything when you wrote this...
I'll post my resulting code as soon as I get a chance to write and
test
I'm having some trouble with next() and after reading through the
posts I don't think it's similar to what has already been posted.
The ideal behavior that I'd like is for the p (which is hidden at
first) to be shown when the anchor tag above it is clicked. There is
some extra behavior also
instead of using an array you could use a key/value object.
then you can do something like
var o = {}
o[row_position] = [row_data]
then when you remove a row you do
delete o[row_position]
you could get the row's position from the dragdrop callback I assume,
but even if thats not the case its
Hi to all,
I am trying to develop some code using jqUnit to test-drive things,
and I am running on a strange problem: jqUnit.triggerEvent does not
work as expected, it does not fire a click() handler that is installed
outside of the test's code block. Full code, HTML + 2 JS files,
help and
Hi guys,
Since this is my first post I thought I'd introduce myself - I'm Mike,
working on a web startup in London. We're using jQuery (because it's
awesome!) for all of our JS needs.
However, I'm having a bit of a problem with creating a clickable menu.
In
particular, I'm trying to open a menu
The a element is inside a h3. Doen'st existe any next element inside.
U should do this:
$(this).parent().next(p.none).toggle(slow)
p.none is the next element after h3 which is the parent of a
On Mon, Nov 24, 2008 at 15:14, Vinoj [EMAIL PROTECTED] wrote:
I'm having some trouble with next()
Hello,
I have just started to use the jquery tablesorter and really like it.
Since I'm really new to jquery can someone tell me if there is a
parser or something that will allow me to sort a column which has a
href... in it.
Thanks,
tom
Example...
tda href=index.cfm?groupinfo=#name#img
if you just want it to be similar to a mouseoff then bind a mouseleave
function to the li rather then using mouseoff.
shogunmike wrote:
Hi guys,
Since this is my first post I thought I'd introduce myself - I'm Mike,
working on a web startup in London. We're using jQuery (because it's
Hello Everyone,
I am new to jquery and am using it in a project to develop a PHP based
Mysql report generator. My question is not 100% jquery but more on
application design?
I have a bunch of list items that I can drag and drop (thanks to
jquery) on to a workspace - on dropping I create a TH/TH
Is row_position a row number in the table? Those numbers would change when
you delete a row. Or is it a value that you increment every time you add a
row (independent of the position in the table)? That would work - but you
wouldn't have a way to loop through this object sequentially.
Dave, I
When dealing with tables, event delegation is almost always the best way to
handle it. You might want to give jQuery.listen plugin a try.
http://plugins.jquery.com/project/Listen
--
Brandon Aaron
On Mon, Nov 24, 2008 at 8:36 AM, Carpii [EMAIL PROTECTED] wrote:
Hi all, ive just started using
My previous Google search looks to have pulled the wrong history plug-in.
Try this one from Klaus Hartl. He writes good code and it looks more recent.
http://stilbuero.de/jquery/history/
Brian.
On Mon, Nov 24, 2008 at 6:44 AM, aymen bentaleb [EMAIL PROTECTED]wrote:
i've tried this plugin and
Thanks for the swift reply Liam!
If I select all of the li's, then bind a mouseleave function to each
of them, is it possible to combine this with a mousedown event to
close the menu once it's clicked outside of the div containing the ul/
li's?
Regards,
Mike.
On Nov 24, 5:33 pm, Liam Potter
Thank you guys for your help!
On Nov 23, 8:01 pm, George [EMAIL PROTECTED] wrote:
Just a note: The bind notation allows you to specify additional data
for your even handler function.
I am actually used to always use a .bind
George.
On Nov 23, 7:47 pm, Michael Geary [EMAIL PROTECTED]
Regardless, it is possible that the actual bug may be in the core animate
function as regards to animating relative percentages.
Don't forget to open a ticket on it (dev.jquery.com)
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ^AndreA^
I have a collapsing expanding menu I want to collapse before the
images load on the page. I was able to do this with the $document
ready command. Only problem is
In FF3 menu collapses immediately...once all images are loaded the
menu expands again ... :(
In IE6 works
In IE7 menu never
Codes...
jQuery.test = function(val) {
jQuery.test.foo = function() {
alert( foo + jQuery.test.bar() );
};
jQuery.test.bar = function() {
return bar +val;
};
jQuery(document).ready(function() {
jQuery.test.foo();
});
};
// To use
script
You will likely need to define your own textExtraction function.
http://tablesorter.com/docs/example-option-text-extraction.html
stephen
On Mon, Nov 24, 2008 at 09:21, tjones [EMAIL PROTECTED] wrote:
Hello,
I have just started to use the jquery tablesorter and really like it.
Since I'm
I removed
toggleMenu.addEvent(window, 'load', function(){toggleMenu.init
('menu','hidden');});
and now works as I want it to in FF3
hanks for the reply.
I got this anwer on a previous question. (very helpfull, cause a few
days ago i did not know binding even existed)
So i understand that i have to bind my new form to my validation
script.
But i cant get it working this time.
I have tried to validate just one input for an
Is it possible to send two of the inputs in a form together to a
remote validation php script?
For example, I would like to check whether a person called 'Bob' has
the email address '[EMAIL PROTECTED]'. The php script would need pieces
of information from both the name input and the email
The intent of your code is not very clear. The design of your plugin
can vary a great deal depending on its purpose. Typically, however, I
use a format similar to:
// put in a closure and make jQuery available as $
(function ($) {
// define a function that can be called on a jQuery
Rick,
Yeah, this doesn't create the breadcrumb, that's something better
handled on the server. If we were to create the breadcrumb on the
client side, it would loose all of it's SEO advantages.
It's typical to see breadcrumbs in unordered lists, so I created a
plugin that manipulates those
Hi, I was asked to convert some javascript into a jquery plugin. I've
followed the documentation for authoring a plugin at
http://docs.jquery.com/Plugins/Authoring I've also followed other
instructions found on the web. Currently I have my code working with
respect to this, but largely the
Hi,
Could anyone of you suggest the best way to capture tab and enter key
at document level using JQuery?
Thanks in advance for your help
I would like to have an image rollover with just basic gamma change to
highlight an image...can this be done with basic jquery?
Is there a way of instantiating multiple instances of a plugin on the
same page?
What I have essentially is an animated effects plugin, and I want to
be able to invoke separate instantiations of it, doing something like
the following:
script
$( '#effect_1' ).animEffect( { name:
Yes...
You can use the animate method to fade in/out any element by applying
opacity.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of expat101
Sent: Monday, November 24, 2008 3:04 PM
To: jQuery (English)
Subject: [jQuery] How can i do
This is driving me loopy. Simple post, trying to get a result back
from the server. Heck even copied it from the documentation and the
callback just will not fire, but the post works fine:
var answer = confirm(Delete Selected?);
if (answer){
Thanks for the feedback, Jason!
rick
heysatan wrote:
Rick,
Yeah, this doesn't create the breadcrumb, that's something better
handled on the server. If we were to create the breadcrumb on the
client side, it would loose all of it's SEO advantages.
It's typical to see breadcrumbs in
Rick,
Yeah, this doesn't create the breadcrumb, that's something better
handled on the server. If we were to create the breadcrumb on the
client side, it would loose all of it's SEO advantages.
It's typical to see breadcrumbs in unordered lists, so I created a
plugin that manipulates those
Is it maybe generating an error? Try converting to a .ajax call so that
you've got access to the error method handlers.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rage9
Sent: Monday, November 24, 2008 3:43 PM
To: jQuery (English)
Subject:
Opacity would fade in the image as a whole, rather than adjusting its
brightness/contrast (which is more what gamma would adjust).
I don't know how fancy you want to get, but you could absolutely position a
div in front of the image, set for white (or black) and adjust its opacity
from 0 to some
Thank you for your reply.
Your solution worked fine... I could add a different class to one only
one error.
A further question:
Is it possible to wrap only 2 of the errors with an extra container?
Is this possible with 'errorLabelContainer', or is that globally
set ?!
On 23 Nov., 22:24,
Depends how your plugin is set up.
If you didn't implement the chaining techniques, then chances are you
only have one instance. But if you did implement chaining, you *should*
have multiple instances.
Do you have something like this line in your plugin?
return $(this).each( function () {
Ok did that but still not getting anything from the errors:
$.ajax({
type: POST,
url: test.php,
data: {name: test},
dataType: json,
Yesterday I tried to open a ticket but the server (on http://dev.jquery.com/)
was not responding as it should so I posted a thread also in the
jQuery development google group.
http://groups.google.com/group/jquery-dev/browse_thread/thread/945f3c71a53c88b9
Nobody has replied so far...
I wait a
You may be worried about a problem that doesn't exist. Every time you call a
function, JavaScript creates a new, unique set of local variables for that
invocation of the function. It doesn't reuse the same function invocation
and its local variables over and over again.
Now, you *could* write
Hello,
I have a simple problem - what is the best syntax / way to get the DOM
type of a matched element? I am unable to find this in the docs...
Example:
div class=aaaSome Text/div
span class=aaaSpan Text/div
form
input type=button class=aaa /
/form
How can I get the types of matched
hi, thanks for all the replies
how can i achieve something like here
http://www.linn-bad.no/
the 9 thumbs rollover with increased gamma
cheers
On Nov 25, 8:58 am, Jeffrey Kretz [EMAIL PROTECTED] wrote:
Opacity would fade in the image as a whole, rather than adjusting its
http://www.linn-bad.no/design/plain/js/linn-bad.js
On Mon, Nov 24, 2008 at 4:03 PM, expat101 [EMAIL PROTECTED] wrote:
hi, thanks for all the replies
how can i achieve something like here
http://www.linn-bad.no/
the 9 thumbs rollover with increased gamma
cheers
On Nov 25, 8:58 am,
// when the mouse is hovering over the category link
$(#menu li a[id]).hover(function(){
// hide the default image and description
$(.js_off).fadeOut(fast);
// display the slide show section whose class matches the category
link's id
var
Greetings!
I'm developing a list of events, and when someone clicks on the name
of an event, I want the details to be grabbed from a php page, and
shown underneath.
The HTML is this:
div class='eventName' eid='[the id for the event]' [name of the
event] /div
div class='eventDesc' eid='[event
Michael and Sean,
Thanks to both of you. I think I'll take you up on your offer of
posting some (simplified) code. Sometime tomorrow if I can find the
time for it ...
Thanks again,
Howard
On Nov 24, 3:49 pm, Michael Geary [EMAIL PROTECTED] wrote:
You may be worried about a problem that doesn't
You don't need any of that stuff if you have jQuery:
1. it handles events for you
2. it selects element with CSS3 selectors
3. built-in function for hide/show and effects
This (not tested) should do the same as your code:
$(document).ready(function(){
var subs = $('#container ul ul');
I don't know the answer to your question, but i will provide you some
advice that you'll get better/faster help if you make your subject
lines more in line with what you are having an issue with
for instance, your problem is related to the cycle plugin, if you put
cycle somewhere in the
Hi,
I'm trying change all instances of document.getElementById() with
the jQuery's DOM traversal syntax, however it breaks it everytime.
A simple example is this function:
rm: function(){
var m = document.getElementById('discountMonth');
if(m)
m.selectedIndex = 0;
}
If
Here you go!
$(.aaa).each(function() {
alert(this.tagName);
});
FYI: Firebug is awesome! ;)
On Nov 24, 5:56 pm, DejanNenov [EMAIL PROTECTED] wrote:
Hello,
I have a simple problem - what is the best syntax / way to get the DOM
type of a matched element? I am unable to find this in
how would you write the code to get all children and sub-children that
are of class menu_head and menu_body?
example this would be my html
p id=header2 class=menu_headHeader-2/p
div id=header2_menubody class=menu_body
div id=pane class=menu_list
i managed to get the top most parent regardless which menu item is
clicked using this code
$('#ID_HERE').parents('div.menu_body').prev($('#ID_HERE').parents
('div.menu_body').size()-1)
Here is the page I am working on, I am relatively new to jquery and
javascript in general.
http://johntbrown.com/sandbox/lopano/work.html
What I would like to do is to pull images dynamically from a folder to
generate the back ground for the page. Then for the forward/backward buttons
I would
Hi all,
I've created a tabbed interface using the jQuery UI Tabs plug-in. Very easy
and cool.
Now I'm trying to do this in *each* tab:
1) Create a set of checkboxes that, when each is checked, will superimpose
transparent images (different z-indexes) on top of each other. Multiple
checkboxes
I am trying to run my page with the Validator code but on loading it
in IE6 I get the Expected ; error followed by Object doesn't
support this property or method errors. It has absolutely no problems
in Firefox3. Strangely enough when I comment out the META http-
equiv=Content-Type
by the way, the sample html above is only 1 sub level. i am going to
place in a lot of sub-sub menus so my issue is how to traverse to all
children way down the tree that have the p tag and class menu_head
The $('#id'), or jQuery('#id'), function returns a special jQuery
collection (which acts much like an array in some ways). It does not
return an actual DOM node.
jQuery is a library that helps you select things (via CSS selectors)
and do stuff (usually all at once) to those things.
To check if
Your META tag isn't closed properly so this is probably your starting
point for investigation. Make sure your page validates before you
start to dig into the JavaScript.
On Nov 24, 7:21 pm, jquery_newbie [EMAIL PROTECTED] wrote:
I am trying to run my page with the Validator code but on loading
I didn't notice at first, but also, your input tags aren't closed
properly either:
Should be:
input class=mls_textSmall type=text
name=txtZip id=txtZip value= /
On Nov 24, 8:19 pm, DumpsterDoggy [EMAIL PROTECTED] wrote:
Your META tag isn't closed properly so this is probably your starting
I still can't find anything wrong, and someone on the #jquery channel
confirmed it.
So does _anyone_ have any idea what's going on here?
Thanks..
jQuery#children() only returns the immediate children of the element. If you
want to dig deeper, you should use jQuery#find()
$('#header2').find('.menu_head'); // returns all divs with the class
menu_head within the div with id header2.
-Hector
On Mon, Nov 24, 2008 at 5:57 PM, chitgoks [EMAIL
I used to work for the web company who developed the original BAM
site, and now a friend of mine is project manager for them. They just
released a new version of their website and it uses jQuery:
http://www.booksamillion.com/
From the source, it looks like they're really only making use of an
Hi.
A test page would be really helpful so we can see the HTML and also
the rest of the Javascript. If you can't post a test page, use www.jsbin.com
instead.
That will help us a lot.
Thanks,
-E
On Nov 24, 5:59 pm, theCrandallSter [EMAIL PROTECTED] wrote:
// when the mouse is hovering over
This is also not working :(
On Mon, Nov 24, 2008 at 7:51 PM, Isaak Malik [EMAIL PROTECTED] wrote:
Try:
$(this).parents('.popup_window_wrapper').hide();
On Mon, Nov 24, 2008 at 6:08 AM, Debby [EMAIL PROTECTED] wrote:
Hi all,
On click of hyperlink, i am cerating one popup which is under
1 - 100 of 102 matches
Mail list logo