[jQuery] Re: beginner question on show/hide and reusing functions

2008-05-08 Thread Wizzud
Something like this?... $(document).ready(function() { var sp = $('.searchpanel').hide() //hide boxes initially , so = $('#searchoptions') , anim = false //prevents fast clicking of second option ; // shows all $('a.showall', sp).click(function() { anim = true; //hide

[jQuery] sortable: drag list items by custom handle

2008-05-08 Thread emi polak
Hi there, I am using $(#myList).sortable({}); to sortable-ize a ul list. All works fine, however the entire li element responds to dragging and I want the li elements to be draggable only by using a custom handle like this: li id=list_1 some content here div class=custom_handleMY

[jQuery] Re: Checkbox confusion

2008-05-08 Thread Wizzud
Try this... $(#bChecklist input:checkbox).click(function(event){ var item = $(this).parent().text(); alert ( (this.checked ? '' : 'Un') + 'Checked = ' + item); }); On May 8, 1:38 am, mr4d [EMAIL PROTECTED] wrote: Hi all, Can't quite get the the following functionality to

[jQuery] Re: Modal Dialog in blockUI

2008-05-08 Thread Adwin Wijaya
it is easy ... for example your block like this div id='blockui'/div get the page from ajax first ... webpage = ... ; //get from ajax $('#blockui').empty(); $('#blockui').append(webpage); On May 6, 10:34 pm, Adam [EMAIL PROTECTED] wrote: Is it possible to show an external webpage inside of

[jQuery] livequery help

2008-05-08 Thread skunkwerk
hi, how can I access the URL of an a tag - when I was using the non- livequery version of this ajax form, I could just use $(this)[0] but that's returning an html document now, and $(this).href is undefined. var container = $(#table); container.find(a).livequery('click', function(e){

[jQuery] Re: Problem with IE6/7 show/hide and relative positioned elements below

2008-05-08 Thread kareneliot
I hate to bump this, but if anyone has any fixes for this, that would be great...?

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-08 Thread darren
hey joe, it looks like testing node types may help with your problem. Google node types and you'll find that DOM text nodes are type 3, element nodes are type 1 etc etc. You could do something using the selector expression [nodeType=3] to determine if the current node you have selected is a text

[jQuery] ajax tabs not working

2008-05-08 Thread skunkwerk
i'm following the instructions here: http://docs.jquery.com/UI/Tabs i've included the following: script type=text/javascript src=http://dev.jquery.com/view/trunk/ ui/ui.core.js/script script type=text/javascript src=http://dev.jquery.com/view/trunk/ ui/ui.tabs.js/script link rel=stylesheet

[jQuery] Re: Best way to do Lightbox-like modal windows?

2008-05-08 Thread Kyrre Nygård
Err.. where's the message I just posted? Wizzud, did I sent it directly to you instead? On May 8, 2:24 am, Wizzud [EMAIL PROTECTED] wrote: There's Shadowbox too (http://mjijackson.com/shadowbox/). On May 8, 12:06 am, Adwin Wijaya [EMAIL PROTECTED] wrote: I use JQuery UI Dialog ...easy and

[jQuery] livequery help

2008-05-08 Thread skunkwerk
how do i access the url of an a tag matched by jquery? when i was not using livequery, i could just do $(item)[0] but that doesn't seem to be working anymore, as its returning an http document now. here's my code: container.find(a.vote).livequery('click', function(e){ e.preventDefault();

[jQuery] Re: Best way to do Lightbox-like modal windows?

2008-05-08 Thread Kyrre Nygård
I wish Google'd let me fix the typos in my posts. mmiller: Wow, that sure is simple! But perhaps a little bit too simple. Like Einstein said: Everything should be made as simple as possible, but no simpler. Cool thing it's based on jqModal though. Wizzud: Looks interesting indeed man, thanks a

[jQuery] [autocomplete] Multiple values to autocomplete

2008-05-08 Thread realin
hi guys, i m new in the list, i want to know how can i add multiple values using autocomplete in a single text field, just like gmail when we add email address in to field. can i capture a keypress event, so that a list is again opened when i press a seperator ? Please let me know thanks :)

[jQuery] Re: Photo Crop proposal

2008-05-08 Thread netvibe
@ LTG, I'm very busy at the moment with another project.. (remake of http://vakantievrienden.nl) What's the meaning of Face cropping (elliptical crop) .. I think when u save that image, you get a black background (or another color) with a elliptical image over it. It's really funny, but

[jQuery] Re: Loading a js file with the ajax content

2008-05-08 Thread warpdesign
From PHP (or whatever language you're using..): $my_array['script'] = '$(document).ready'; $my_array['html'] = 'div id=my_divblabla.../div'; die(json_encode($my_array)); From javascript, the function called on ajax success: function return(msg) { $('#foo').html(msg['html']);

[jQuery] JQuery Form Plugin returns nothing in Opera

2008-05-08 Thread dkosarev
I've got a form that uploads a file. It's an AJAX form, initialized by the following code: $(document).ready( function() { $('#filer').ajaxForm( { target: '#vars', beforeSubmit: function(formData, jqForm, options) { alert('sending'); }, success: function(responseText, statusText) {

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-08 Thread Joe
Thanks Darren. I was originally thinking this route and actually google node type to find out the text node number, but ended up writing my script differently. I will most likely optimize it with something Ariel suggested or yourself. Thanks! Joe On May 8, 1:39 am, darren [EMAIL PROTECTED]

[jQuery] Re: Simple AJAX Call to Google Maps

2008-05-08 Thread Joe
So what is it you are trying to accomplish? Maybe a demo link would help. On May 7, 4:11 pm, quigebo [EMAIL PROTECTED] wrote: I'm having trouble taking various fields from a form, concatenating them and then sending it off to do a local business search on Google maps. I'll send the results

[jQuery] How to use data() ?

2008-05-08 Thread [EMAIL PROTECTED]
Hi :) I was interested to see the new data method (is it a 'method'?) and imagine I should be using it with the shopping basket I'm building. But I can't work out how to use it properly! I presently have code like this: $( 'form.basket .productchoice:last[value]' ).val(

[jQuery] Re: sortable: drag list items by custom handle

2008-05-08 Thread tlphipps
You need to use the handle option as detailed here: http://docs.jquery.com/UI/Draggables/draggable#options (the sortable docs refer you to this description for that handle option) On May 8, 4:09 am, emi polak [EMAIL PROTECTED] wrote: Hi there, I am using $(#myList).sortable({}); to

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-08 Thread Ariel Flesler
You can't do $('*').filter('[nodeType=3]') because text nodes aren't included when finding. This is only valid when using .contents() but that only gathers the childNodes, so you still need to recurse. In conclusion, jQuery doesn't save you much work, you'll probably have as many lines of code

[jQuery] Re: Expression/Selector question...

2008-05-08 Thread Dan G. Switzer, II
Karl, Yeah, it's also strange that while this doesn't work: $(body ul li).filter($li[0]); this does: $(body ul li).not($li[0]); I'm a little lost by your parents example, though. Not sure exactly what you're trying to get (esp. since you don't show where you've declared $el

[jQuery] Re: Photo Crop proposal

2008-05-08 Thread Richard D. Worth
On Wed, May 7, 2008 at 10:40 AM, LTG [EMAIL PROTECTED] wrote: Does anyone know who did the existing real world crop example? I see no credits for it. This was done by Bruno Basto, during our recent jQuery Sprint: http://docs.jquery.com/JQuerySprint Here's the changeset where it was first

[jQuery] jQuery ui tabs crashes in IE 6 7

2008-05-08 Thread Ash
Hi I have a site I am working on http://lx0.taylor-ch.co.uk/index.php/eng/Products/Trade-Waste/Continental-Trade The tabs work on FF fine, but in IE 6 7 the last one (More Info) at best crashes the browser, and at worst the whole PC! Can some one help? I don't see why it would to this on one

[jQuery] jQuery TShirt

2008-05-08 Thread CVertex
I noticed captain John Resig wearing a few nice threadless.com tshirts, and he mentioned a few times in a recent talk that they were selling jQuery tshirts in this or that place. I was wondering if anyone knew of any jQuery tshirts that were around? What would you put on your jQuery T? $(body)

[jQuery] jTip

2008-05-08 Thread Mr.Morton
Hi Group! I am very new to jQuery, and I need help! I am trying to make jTip work the way i want. I found this http://15daysofjquery.com/jquery-tooltips/21/ and from that I made this http://www.visual-astma.dk/js/ And with a few modification I almost got it working the way I want... But what

[jQuery] ajax textStatus documented?

2008-05-08 Thread deer421
Is ajax textStatus documented anywhere? I am looking for a list of textStatus values.

[jQuery] JSON Serializer

2008-05-08 Thread KG
I'm having an issue using an asmx web service to return json to a jQuery ajax call. If I run the web service stand alone i get a nice json response as follows: string {City:nyc,Country:usa,PostalCode:null,State:null,Street:null} /string I'm using the DataContractJsonSerializer in .NET to create

[jQuery] Re: New to JQ

2008-05-08 Thread canadaduane
Along with this if i change the xml headline tag to a div tag or h1 tag it stops working.. Any help is greatly appreciated! It looks to me like you just need to change this line: $(headline a).click(function(){ If you replace the headline tags in your HTML with, say, h1 tags, then you

[jQuery] Tabs 3 Ajax issue

2008-05-08 Thread HelloGoodbye
Hello dear JQ community, I'm having some problems regarding the Tabs 3 Plugin: My page has a div container called maincontent which contains all the data except the navigation, footer, etc. I use this container to store content served by my phpscript and to load other content dynamically via

[jQuery] Error when tablesorter is applied to empty table

2008-05-08 Thread owen
I'm using the tablesorter plugin in a web application that sometimes outputs empty tables. I'm trying wherever possible to catch these instances and skip the output of the table altogether when necessary, but it begs the question: Is there a way to avoid errors when tablesorter tries to sort an

[jQuery] The $(xxx).load(url,param,callback) may have a bug

2008-05-08 Thread kaneg
You can see the example below, do you know what will be alerted? html head script type=text/javascript src=http://code.jquery.com/ nightlies/jquery-nightly.js/script script type=text/javascript function callback(args) {

[jQuery] Re: error with $(this).val(value) in IE 6.x

2008-05-08 Thread code_berzerker
anybody any clue?

[jQuery] beginner selector question

2008-05-08 Thread bobh
hello, I'm wondering if there is such a thing as: $(div).hover( function(){ $(this.p).show(); }, function(){ $(this.p).hide(); } ); I know the above code is useless because of the use of this but I wonder if there's a selector

[jQuery] Re: DataTables plugin

2008-05-08 Thread mriendea
In Flexigrid XML, you can wrap your cell content in a CDATA construct. cell![CDATA[ a href=yoururllink/a ]]/cell This will force the XML parser to ignore the HTML markup. Hope this helps. mr On Apr 21, 2:31 pm, matt [EMAIL PROTECTED] wrote: Can any of the above decorator columns with

[jQuery] [jQuery][ANN] New jQuery group on LinkedIn

2008-05-08 Thread Brandon Aaron
You can join the LinkedIn group by following this invite link: http://www.linkedin.com/e/gis/100943/4C28294034F5 -- Brandon Aaron

[jQuery] Tabs 3 Ajax issue

2008-05-08 Thread HelloGoodbye
Hello dear JQ community, I'm having some problems regarding the Tabs 3 Plugin: My page has a div container called maincontent which contains all the data except the navigation, footer, etc. I use this container to store content served by my phpscript and to load other content dynamically via

[jQuery] Re: beginner question on show/hide and reusing functions

2008-05-08 Thread illtron
Thank you! That's *exactly* the sort of thing I had in mind, and *exactly* how I thought it might work (I just didn't know exactly how to do it myself). Great commenting too; it'll really help me learn! On May 8, 5:24 am, Wizzud [EMAIL PROTECTED] wrote: Something like this?...

[jQuery] Re: ajax textStatus documented?

2008-05-08 Thread Mike Alsup
timeout error notmodified success parsererror On Thu, May 8, 2008 at 9:32 AM, deer421 [EMAIL PROTECTED] wrote: Is ajax textStatus documented anywhere? I am looking for a list of textStatus values.

[jQuery] Re: beginner selector question

2008-05-08 Thread [EMAIL PROTECTED]
Yes, you can go $( this ).children( 'p' ).hover( function () { ... :) On May 8, 3:28 pm, bobh [EMAIL PROTECTED] wrote: hello, I'm wondering if there is such a thing as: $(div).hover( function(){ $(this.p).show(); }, function(){

[jQuery] Re: beginner selector question

2008-05-08 Thread Michael Geary
Sure, use $('p',this) where you have $(this.'p'). Once you get it working, though, you may find yourself in a situation where paragraphs get hidden and shown rather unexpectedly. Suppose you have one of your paragraphs expanded and you now move the mouse over the next heading below that. What

[jQuery] Re: jQuery TShirt

2008-05-08 Thread John Resig
There's one in the works right now - we're sending it to the producer and will have a store to go along with it. We'll definitely make an announcement when it's ready. --John On Thu, May 8, 2008 at 8:09 AM, CVertex [EMAIL PROTECTED] wrote: I noticed captain John Resig wearing a few nice

[jQuery] Re: error with $(this).val(value) in IE 6.x

2008-05-08 Thread [EMAIL PROTECTED]
Haven't tested it - but did you try it with your forward slashes escaped? On May 8, 2:44 pm, code_berzerker [EMAIL PROTECTED] wrote: anybody any clue?

[jQuery] Re: jQuery TShirt

2008-05-08 Thread Andy Matthews
PLEASE PLEASE PLEASE offer colors other than just black!! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Thursday, May 08, 2008 10:24 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery TShirt There's one in the

[jQuery] remove() works differently in 1.5b4, at least for UI Dialogs

2008-05-08 Thread snobo
I stumbled upon a tricky situation. In my app, I use UI Dialogs based on my form's. When a dialog is created, it takes the form out of the HTML context where it was originally located, moves before the closing /body tag and wraps it with all these dialog divs, buttons etc. But when my AJAX calls

[jQuery] [treeview] Href/click-parameters on asynchronous treeview

2008-05-08 Thread Jyrki Pulliainen
Hi there, I'm working on an application to a client that uses Asynchronous treeview. However, at the moment, if I want to create a link with onclick functionality, I need to pass html inside the JSON sent to the treeview js. I'm thinking of making modifications to the treeview plugin so that it

[jQuery] Re: beginner selector question

2008-05-08 Thread bobh
thanks mike. my hover area is about 400x300px in size so accidental show/hides shouldn't be an issue. but I'll keep the hoverintent plugin in the back of my head shoud it ever become one. On 8 mei, 17:23, Michael Geary [EMAIL PROTECTED] wrote: Sure, use $('p',this) where you have $(this.'p').

[jQuery] Re: JQuery Form Plugin returns nothing in Opera

2008-05-08 Thread Mike Alsup
I've got a form that uploads a file. It's an AJAX form, initialized by the following code: $(document).ready( function() { $('#filer').ajaxForm( { target: '#vars', beforeSubmit: function(formData, jqForm, options) { alert('sending'); }, success: function(responseText, statusText)

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-08 Thread matt
Here is an example of Ingrid doing what you are looking for. http://sutternow.com/sti/summaryIngrid.action tablesorter does not have the ajax/pagination bits. Your pretty much rolling your own. On May 7, 1:25 am, Adwin Wijaya [EMAIL PROTECTED] wrote: Uhmm ... flexigrid looks more difficult

[jQuery] Innerfade Crashing Safari 2.0.4

2008-05-08 Thread jqNoob
Hello, I'm having a problem with the innerfade plug-in crashing Safari 2.0.4. It's working fine in all newer browsers with this one exception. As luck would have it, my client is using this version of Safari. In addition to innerfade, I'm using the Perciformes drop down plug-in. I tried running

[jQuery] [tooltip] Help creating tooltips for several objects

2008-05-08 Thread Kusanagi
Hello. I have a problem with the tooltip plugin. I have several dynamicaly created images, with different id's and classes; the same goes for DIVs that i will use to fill the contents for the tooltip, here's the code (i'm using PHP): echo 'img border=0 class=tooltip '.$filterKey.' id=img-'.

[jQuery] Re: [tooltip] Help creating tooltips for several objects

2008-05-08 Thread Jörn Zaefferer
Try to put var in front of your variables to avoid declaring and overwriting global variables. Jörn On Thu, May 8, 2008 at 6:05 PM, Kusanagi [EMAIL PROTECTED] wrote: Hello. I have a problem with the tooltip plugin. I have several dynamicaly created images, with different id's and

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-08 Thread Karl Swedberg
Hi Darren, I just remembered that I wrote a plugin a few months ago for someone else who was trying to work with text nodes. Maybe it will help? http://plugins.learningjquery.com/nth-text-child/ There is an interactive demo here: http://plugins.learningjquery.com/nth-text-child/#demo

[jQuery] Accessing an iframe after fileupload

2008-05-08 Thread Ben Rooney
I am having the devil’s own business trying to access the contents of an iframe which is used as a target for a file upload. In a php file called AJAXaddFile.php, I have the form etc - as you can see it handles the return itself: form action=?php echo $_SERVER['PHP_SELF'] . '?' .

[jQuery] Re: Accessing an iframe after fileupload

2008-05-08 Thread Mike Alsup
2008/5/8 Ben Rooney [EMAIL PROTECTED]: I am having the devil's own business trying to access the contents of an iframe which is used as a target for a file upload. In a php file called AJAXaddFile.php, I have the form etc - as you can see it handles the return itself: form action=?php

[jQuery] Error $.ajax on IE

2008-05-08 Thread mmoreira
Hi People! This my code, sorry my stupid english! rs.. $.ajax({ contentType: 'application/x-www-form-urlencoded; charset=UTF-8', url: cad_produto.do.php, type: post, data: dados, success: function(msg) { $('#busca').html(msg); } }); I don't understand because

[jQuery] Trac macro for clueTip?

2008-05-08 Thread Scott Bussinger
Since it looks like the jQuery developers use Trac for their project tracking, I was wondering if anyone had produced a Trac macro for clueTip? I like the look of clueTip tooltips and would love to use them in my own Trac wiki pages. Trac already uses jQuery so hopefully this wouldn't be too

[jQuery] JQuery Form Plugin returns nothing in Opera

2008-05-08 Thread Kosarev Denis
Hello, Mike! You saved my day! :) This version worked perfectly for me! Thanks for the fast reply! Thursday, May 8, 2008, 8:05:19 PM, you wrote: I've got a form that uploads a file. It's an AJAX form, initialized by the following code: $(document).ready( function() {

[jQuery] Re: Superfish - modified Richard Willis

2008-05-08 Thread Drew
Hi Joel, Thanks a lot for taking the time to look into this. Your solution does stop the dropdowns from staying open, which was a problem, so that's great. Perhaps I didn't state the biggest problem clearly though...if you actually click on a link from a dropdown, (for example, go to the About

[jQuery] Re: jQuery TShirt

2008-05-08 Thread Mike Branski
Agreed! A darker blue with white text would look good (design pending). On May 8, 10:32 am, Andy Matthews [EMAIL PROTECTED] wrote: PLEASE PLEASE PLEASE offer colors other than just black!! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] [validate] Jquery validation plugin and FCKeditor

2008-05-08 Thread cdawg
Hello, I am trying to validate an FCKeditor textarea with the validation plugin. FCKeditor apparently holds it's input in memory until the form is submitted. Is there a way to do an onkeyup validation of this input before the form is submitted? Thanks in advance!

[jQuery] Cycle plugin inside Tabbed Menu?

2008-05-08 Thread YWFTDG
Hey guys, Hitting a big wall here. I have the Cycle plugin working and have it now added into a tabbed menu as the default value for the loading tab content, using this tabbed menu script: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ My problem is, on load the Cycle plugin works

[jQuery] Re: Cycle plugin inside Tabbed Menu?

2008-05-08 Thread Mike Alsup
Hitting a big wall here. I have the Cycle plugin working and have it now added into a tabbed menu as the default value for the loading tab content, using this tabbed menu script: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ My problem is, on load the Cycle plugin works fine,

[jQuery] unbinding, livequery or other way to cancel an ajax retrieved form or remove form from DOM?

2008-05-08 Thread pedalpete
Hi All, I'm building a site with lots of ajax retrieved forms, and have finally realized why I'm seeing tons of errors (I think). On the site, if you select an input which gets an ajax form, I add a 'cancel' button to the form which will hide the form if the user decides not to take that

[jQuery] Re: jQuery TShirt

2008-05-08 Thread Josh Nathanson
It would be cool if said something like: $(code).less(); ...in Courier typeface...and then had the jQuery logo on it. -- Josh - Original Message - From: Mike Branski [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, May 08, 2008 11:36 AM Subject:

[jQuery] Re: unbinding, livequery or other way to cancel an ajax retrieved form or remove form from DOM?

2008-05-08 Thread pedalpete
sorry, correction to my code posted above. the cancel funciton has to have unbind() or it submits the form anyway, but even with the unbind, it then submits the form twice the next time the form is called. cancel function above should read pedalpete View profile More options May 8,

[jQuery] Getting Parent Element using this

2008-05-08 Thread briandichiara
I have a page where I need to get a parent forms action after firing the onchange event on a select, like so: form action=something select name=some_name onchange=changeAction(this); !-- some options -- /select /form I can't figure out how to use this + a selector with jQuery, I've tried

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread Josh Nathanson
jQuery is even easier than that. You can remove the need to put your onchange inline like so: var formAction = null; $(select[name=some_name]).change(function() { formAction = $(this).parent().attr(action); }); This binds the anonymous function to set the variable formAction, to the

[jQuery] Re: [validate] Jquery validation plugin and FCKeditor

2008-05-08 Thread Jörn Zaefferer
FCKeditor most likely provides a method to update the underlying textarea. One approach would be to update the textarea on keyup, then the validation plugin can handle the actual validation. Jörn On Thu, May 8, 2008 at 8:38 PM, cdawg [EMAIL PROTECTED] wrote: Hello, I am trying to validate

[jQuery] Re: The $(xxx).load(url,param,callback) may have a bug

2008-05-08 Thread Ariel Flesler
http://groups.google.com/group/jquery-dev/browse_thread/thread/d8c0d226fea29fd4/bf6c5d8764df8aff -- Ariel Flesler http://flesler.blogspot.com On 8 mayo, 09:40, kaneg [EMAIL PROTECTED] wrote: You can see the example below, do you know what will be alerted?

[jQuery] Any plugin like this one, double select boxes ???

2008-05-08 Thread Vivek
Hi Guys, i am looking for an functionality in jquery. some thing like this one. Sometimes we see two big text boxes with values, one on the left side other one is on the right side and there is two arrow buttons ( faced towards left and right ) in the center of both of them with the help of

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread briandichiara
what if the parent element is not a form. like: form label select /select /label /form On May 8, 2:30 pm, Josh Nathanson [EMAIL PROTECTED] wrote: jQuery is even easier than that. You can remove the need to put your onchange inline like so: var formAction = null;

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread briandichiara
Also, i'd rather not commit anything i.e. using name=blah in case the name gets changed. without me knowing. On May 8, 2:30 pm, Josh Nathanson [EMAIL PROTECTED] wrote: jQuery is even easier than that. You can remove the need to put your onchange inline like so: var formAction = null;

[jQuery] Howto assign $(this) to variable

2008-05-08 Thread Jong
Hi, I'm pretty new to jQuery, and I have stumbled across a weird problem. It may just be me fooling around, anyway here goes... var foo = false; $('div span').each(function() { foo = $(this); // debugging in firebug console.log($(this), foo); console.log($(this) == foo); }); You should, at

[jQuery] List ul slideDown/Up Menu

2008-05-08 Thread Panman
Hi, new to jQuery and very impressed. I already have a CSS menu that shows/hides a list menu. However, I'd like to add more dynamics and have the sub menus slide down and back up. So using the below code, I've got it to slide down and up, but repeatedly. It seems like it wants to keep sliding for

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread briandichiara
I don't know why my reply's aren't showing up, but: What if the first parent is not a form (like it could be a label or div)? and also, I would like to avoid using the name=something just because the name could change without me knowing it. Thanks for the help. On May 8, 2:30 pm, Josh

[jQuery] Re: Any plugin like this one, double select boxes ???

2008-05-08 Thread Jason Huck
Yes, here's one I wrote recently: http://devblog.jasonhuck.com/2008/04/25/jquery-combo-select-redux/ HTH, Jason On May 8, 3:28 pm, Vivek [EMAIL PROTECTED] wrote: Hi Guys, i am looking for an functionality in jquery. some thing like this one. Sometimes we see two big text boxes with

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread Michael Geary
I don't know why my reply's aren't showing up, but: What if the first parent is not a form (like it could be a label or div)? and also, I would like to avoid using the name=something just because the name could change without me knowing it. Assuming you have a DOM element in 'this',

[jQuery] Re: Howto assign $(this) to variable

2008-05-08 Thread mrpollo
actually you are not cloning your element, you are just making a pointer of the element in this line foo = $(this); so its not the same element, its just a pointer comparing with an actual element DOM object you can see it live in action in this site if you have firebug

[jQuery] Re: Error $.ajax on IE

2008-05-08 Thread mrpollo
hello, what type of object dados is? make sure its defined first, also does the #busca Element is rendered when you receive the success callback? On May 8, 9:54 am, mmoreira [EMAIL PROTECTED] wrote: Hi People! This my code, sorry my stupid english! rs.. $.ajax({ contentType:

[jQuery] Static List - Move Item Up or Down

2008-05-08 Thread all4one
Contributors have moved items in the order they wish to display on the page but the page displays the items in random order. I have four columns of content: Parent, Description, Image, and Title... the order should be based on the Title. What am I missing?

[jQuery] Re: simplemodal and datepicker

2008-05-08 Thread surfast
I am having similar issues using thickbox. I can get the datepicker to show as long as I am using TB_inline but can not get it to work with an ajax call to thickbox? On Mar 12, 5:13 pm, MikeR [EMAIL PROTECTED] wrote: Hm, I took a look at the example generously supplied by Eric Martin, but was

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread briandichiara
Ok, I tried this: $(elm).parents().map(function () { alert(this.tagName); }); but the FORM never shows up. Reason is because the source looks like this: table width=460 border=0 cellspacing=0 cellpadding=0 tr valign=top td

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread briandichiara
ok, i'm not sure if this is the easiest way, however, this is how I got the form action in the following HTML: table width=460 border=0 cellspacing=0 cellpadding=0 tr valign=top td table width=100% border=0 cellpadding=0 cellspacing=0

[jQuery] Re: jQuery AJAX IE Error

2008-05-08 Thread Wil Everts
Instead of: var status = $(status, dataSet).text(); Try this: var status = $(dataSet).find('status').text(); Hope that helps. Wil Everts [EMAIL PROTECTED]

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread Josh Nathanson
Could you possibly just give your form an id attribute? Then onchange you could just return $(#myformid).attr(action) and not have to mess with any traversing. -- Josh - Original Message - From: briandichiara [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent:

[jQuery] Re: BlockUI displayBox() thickbox alternative?

2008-05-08 Thread Nathaniel Whiteinge
On Apr 30, 5:03 am, Mike Alsup [EMAIL PROTECTED] wrote: You can still use blockUI in that way even though the displayBox function has been removed in the 2.x line. Is there an easy way to close the box by clicking outside of it -- like how it worked in the old displayBox?

[jQuery] Re: BlockUI displayBox() thickbox alternative?

2008-05-08 Thread Mike Alsup
On Apr 30, 5:03 am, Mike Alsup [EMAIL PROTECTED] wrote: You can still use blockUI in that way even though the displayBox function has been removed in the 2.x line. Is there an easy way to close the box by clicking outside of it -- like how it worked in the old displayBox? This should

[jQuery] Re: Static List - Move Item Up or Down

2008-05-08 Thread all4one
On May 8, 3:37 pm, all4one [EMAIL PROTECTED] wrote: Contributors have moved items in the order they wish to display on the page but the page displays the items in random order. I have four columns of content: Parent, Description, Image, and Title... the order should be based on the Title.  

[jQuery] MM_preloadImages

2008-05-08 Thread all4one
My images are loading too slow. I have 5. They are less that 50k each. Can I preload the first image and then load 2-5? CODE: function loadBanner() { bC = bannerCount(); if (bC 0) { sponsor = getCookie(bannerIndex, bC, 1); var banner = \'banner + sponsor + \'; var numberBar = \'numberBar +

[jQuery] How to trigger my modal window after 30 seconds?

2008-05-08 Thread Kyrre Nygård
Please excuse me, I'm a bit new to all of this. I'm trying to use jqModal for my Lightbox-like newsletter signup. Right now it's being triggered by a link. Instead, how do I trigger it after 30 seconds? It would also be cool if I could make it not bother the same user more than once... maybe a

[jQuery] $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread [EMAIL PROTECTED]
Test page here - http://www.justice.net.nz/static.html Jquery is definitely being loaded - I'm currently pulling it from jquery.com, and Firebug is showing that it has loaded. Any ideas? This is my first attempt at jquery and I'm falling at the first hurdle :

[jQuery] jqGrid Metadata

2008-05-08 Thread Sanjiv
Hi All, Is there a ready made solution for using jqGrid by querying column metadata from the server. I want to create a generic grid where the colModel and colNames are not fixed and are be created dynamically by querying the server. Thanks Sanjiv

[jQuery] Re: List ul slideDown/Up Menu

2008-05-08 Thread [EMAIL PROTECTED]
Hello, Panman! Welcome. It would help if you posted a link to your work page. Without seeing your actual code, it looks like you have every second- child li sliding up down with every mouseover, which would kind of explain the problem ;) To make life easy you could use the jQuery UI Accordion

[jQuery] Re: MM_preloadImages

2008-05-08 Thread [EMAIL PROTECTED]
You're not using jQuery ? Cherry On May 9, 12:34 am, all4one [EMAIL PROTECTED] wrote: My images are loading too slow. I have 5. They are less that 50k each. Can I preload the first image and then load 2-5? CODE: function loadBanner() { bC = bannerCount(); if (bC 0) { sponsor =

[jQuery] Re: Superfish - modified Richard Willis

2008-05-08 Thread Joel Birch
Thanks Drew, sorry I overlooked that issue. Here's another hack to solve that one. Add the following line inside your document ready block, after the Superfish initialisation code: $('ul.superfish li li').hideSuperfishUl(); That will close the last level of submenu. Sorry for another hacky

[jQuery] Re: Getting Parent Element using this

2008-05-08 Thread Michael Geary
With markup as invalid as that, it's no surprise that elements are not where you expect them in to be in the DOM. A FORM element can't be sandwiched in between a TABLE and TR like that. So the browser tries to turn this into something it can work with. It may shuffle things around, or just put up

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread [EMAIL PROTECTED]
Hi, Kent. I'm a beginner myself, so I'm replying to you in the hope that one of this group's more-experienced gurus will pick up! It looks to me like you've bunged jQuery in the middle of a bunch of other javascript (some of which was actually meant to work with jQuery; it won't do too well

[jQuery] Re: Expression/Selector question...

2008-05-08 Thread Wizzud
In the docs, where 'expr' as stated as being either a 'string' or an 'expression' it means that it is a selector expression, ie. a string that would be acceptable as a selector in $(selector). In all the examples you have given - filter, find, parent, etc - the expected argument is a selector

[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-08 Thread Richard D. Worth
Line 135: jQuery.noConflict(); This turns off the $ alias in case you're using jQuery with another library that wants it. Simply use jQuery in place of each $. Or, if you don't need it, remove the noConflict call. - Richard On Thu, May 8, 2008 at 8:11 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]

[jQuery] old tablesorter works, new one doesn't

2008-05-08 Thread lamp5matt
I inherited an app with a lot of tablesorter implementations, but wanted the zebra functionality -- alternating css-styled rows -- so i upgraded. Now I'm getting Error: $(#writer-table).tableSorter is not a function If I revert to the jquery.tablesorter.js file that I inherited (not sure what

  1   2   >