[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread BrendanC
Jorn - thanks for the responses - I resolved my problem - for the record I had a mismatch between the versions of JQuery (1.3.2) and an earlier (incompatible) version of the plugin. This was causing some errors that I managed to track down with Firebug. Downloaded the new version of the validatio

[jQuery] Re: barackslideshow effect in jquery.

2009-05-06 Thread idrish laxmidhar
hey jack..thanks a lot..ur reply matches my requirements...it is perfect..i appreciate your help...thanks a lot... On Thu, May 7, 2009 at 8:59 AM, Jack Killpatrick wrote: > maybe this? > > http://malsup.com/jquery/cycle/pager5.html > > lots of demos here: > > http://malsup.com/jquery/cycle/more

[jQuery] Re: remote validation

2009-05-06 Thread Mekilioz
Thanks for your reply. This is what I have. function validateName(button) { txtName.rules('add', { remote: { url: 'validate.ashx' , data: ({id: txtName.attr('name')}) } } , messages: { remote: '* Error' } });

[jQuery] debugging of selectors

2009-05-06 Thread Ido Green
Hey, Any good tips on 'who' to debug selectors? (meaning, when I have some selector like: $('form#someId .someClass') and it don't match what I think it would. I know about the basic stuff that we have in firebug. Thanks, Ido

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread kiusau
On May 6, 8:06 pm, chris thatcher wrote: > 5) learn to depend on firebug. It is Firebug that alerted me to the errors. I was hoping that you could explain them. I am still fairly new to Firebug and so far have net learned how to use it to resolve problems -- only detect them. It is does not a

[jQuery] Re: barackslideshow effect in jquery.

2009-05-06 Thread Jack Killpatrick
maybe this? http://malsup.com/jquery/cycle/pager5.html lots of demos here: http://malsup.com/jquery/cycle/more.html?v2.23 - Jack idrish laxmidhar wrote: hey jack thanks..but i knew about this. i tried but cannot make it work.. i was wondering if there is any such plugin in jquery. Actual

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
No problem and thanks...glad you got it working. ;) On May 6, 7:19 pm, Steeleclipse wrote: > Close. li#navPhysicians fixed it. > > I only quickly read your  response earlier as I was at work, but at > second glance, I realized this is your script. > > Thanks for a great script, and the assistanc

[jQuery] what happened to galleriffic?

2009-05-06 Thread Jack Killpatrick
Hi, Does anyone know if the galleriffic plugic is available somewhere new? I started a project with it last week, pulled from here: http://www.twospy.com/galleriffic/ but when I went there yesterday it wasn't working and isn't today, either. Thanks, Jack

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread chris thatcher
5) learn to depend on firebug. its an extension to firefox as a plugin and even though safari 4 beta , ie8, and opera 10 all have built-in debugging environments, firebug is still the best. i have a feeling it will be built into firefox soon too. you can inspect the live dom, any elements compil

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread RobG
On May 7, 12:46 am, "Jonathan Vanherpe (T & T NV)" wrote: > Stephen Korecky wrote: > > I tried that too, has same results... > > > On May 6, 9:35 am, "Jonathan Vanherpe (T & T NV)" > > wrote: > >> stephen wrote: > >>> I created a test page > >>> here:http://clients.stephenkorecky.com/stephen_

[jQuery] Re: barackslideshow effect in jquery.

2009-05-06 Thread idrish laxmidhar
hey jack thanks..but i knew about this. i tried but cannot make it work.. i was wondering if there is any such plugin in jquery. Actually i have some links and corresponding to links are images. i want to fade in the images on mouse hover over the links. also it should changes automatically when n

[jQuery] Re: Performance of "parent > child" selector vs .children() method

2009-05-06 Thread RobG
On May 7, 11:54 am, Ricardo wrote: > On May 6, 10:23 am, Adam wrote: > > > Essentially, I'd like to know if there is any difference between > > > $("div.grandparent > div.parent > div.child") > > > and > > > $("div.grandparent").children("div.parent").children("div.child") > > > Does anyone kn

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Steeleclipse
Close. li#navPhysicians fixed it. I only quickly read your response earlier as I was at work, but at second glance, I realized this is your script. Thanks for a great script, and the assistance to get it working! On May 6, 3:49 pm, Steeleclipse wrote: > Thanks for your reply. I will try tha

[jQuery] Re: Performance of "parent > child" selector vs .children() method

2009-05-06 Thread Ricardo
On May 6, 10:23 am, Adam wrote: > Essentially, I'd like to know if there is any difference between > > $("div.grandparent > div.parent > div.child") > > and > > $("div.grandparent").children("div.parent").children("div.child") > > Does anyone know which of these is more performant or preferred wh

[jQuery] Re: Scoping issue with load and call back function.

2009-05-06 Thread Josh Nathanson
OK it looks like you have a few things to sort out here. One thing is that you have to remember that load is asynchronous. So when that is fired the rest of your code will continue along its merry way. In other words the loop will keep looping independent of the callback function firing. My hu

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Karl Swedberg
On May 6, 2009, at 10:59 AM, Stephen Korecky wrote: On May 6, 9:46 am, "Jonathan Vanherpe (T & T NV)" wrote: the 'correct' way is disabled="disabled", though. Jonathan -- Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be Ah, that makes more sense then, I know the 'correct' wa

[jQuery] val ( ) prefers labels over values?

2009-05-06 Thread Michael B. Williams
Consider the following select box: XS S M L XL 0 1 2 3 4 5 6 7 8 9 10 11 12 If I do a $("#test").val(2) on this I would hope it would select "S", but instead it selects "2". Why is this setting the value of the select box based on the label rather than based on the value attribute? I am usin

[jQuery] Re: Scoping issue with load and call back function.

2009-05-06 Thread Stever
Josh thanks for the quick response. I tried putting the variables var TableCells=[,]; var TableRowName =[,]; var TableColName =[,]; outside the document ready function. Originally. (not redefined with var inside document ready shown here). http://www.hou.asp.ti.com/ sparcit_data_re

[jQuery] Re: Scoping issue with load and call back function.

2009-05-06 Thread Josh Nathanson
When you say you get undefined outside the load function, do you mean outside $(document).ready, or inside $(document).ready? They should not be accessible outside document.ready, because of the closure caused by passing the anonymous function to document.ready, and because you use var to declare

[jQuery] Scoping issue with load and call back function.

2009-05-06 Thread Stever
I am a relative newbie to Jquery and I am getting some scoping issues I can't figure out. I was hoping for some advice. Basically I am trying to load multiple documents that have HTML tables and then parse the tables and redisplay in a new format. Merging elements from the different documents.

[jQuery] webkit-specific problem with jcarousel

2009-05-06 Thread nibbo
Hi! I am using the jcarousel plugin for a gallery site I am working on. I use the carousel to scroll the thumbnails. When I test my code in firefox everything works fine but I run into problems with webkit- based browsers, like safari or chrome. When I scroll the carousel a new li-element is pre

[jQuery] Re: refresh image?

2009-05-06 Thread André Oliveira
you can, replace your querystring... $("#captcha").attr("src").replaceWith("inc/captcha/captcha.php?test=123"); in the next reload $("#captcha").attr("src").replaceWith("inc/captcha/captcha.php?test=231"); it isn't the best practice... 2009/5/6 Eric Garside > > For reference, this php should

[jQuery] Multiple selectors failing in Safari

2009-05-06 Thread nate.bridi
Hello, I have an input box searching a XML file for a string. Anything the user types in, the script searches through the XML file in the "name" and "conference" tags for results. This works just fine in Firefox. However, in Safari, it only returns a result when a single search result is found. I'

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread kiusau
On May 6, 10:34 am, dhtml wrote: > var time = new (function(x){ >   this.timeStamp = +new Date; >   this.end = new Date(x); // Invalid Date. > })(Infinity); How do you explain that both time.timeStamp and time.end are returned without error in the following: var time = new (function(x){

[jQuery] Re: Superfish : close on click outside the menus

2009-05-06 Thread Paulo JF Silva
Well... I answer myself: $(document).click(function() { $('ul.sf-menu').hideSuperfishUl(); }); On May 5, 11:41 am, Paulo JF Silva wrote: > Hi, > > I want to use theSuperfishmenu plugin but with 1 more behaviour: > when the user clicks outside the menu, the menu closes. (or

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread Jörn Zaefferer
You can set debug:true for debugging. It will always prevent the form submit, which is useful to look at errors that are thrown during validation. Jörn On Wed, May 6, 2009 at 8:37 PM, BrendanC wrote: > > Jon - Good catch - however that was just a cut/paste problem - below > is a new example tha

[jQuery] Re: How to get an array of values?

2009-05-06 Thread Karl Swedberg
You can also do this: $(':checkbox').map(function() { return this.value; }); or, if you just want an array of checked checkbox values, do this: $(':checkbox:checked').map(function() { return this.value; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com O

[jQuery] [autocomplete] remove dynamically

2009-05-06 Thread epitka
Hi, How do I remove autocomplete from the text box dynamically. I have a text box that will perform two kinds of searches depending on the context (don't ask me why, beyond my control). I need to remove previous autocomplete and attach new one. Difference is in the url that it goes against. Or may

[jQuery] Re: recursive dom walker

2009-05-06 Thread Eric Garside
You can return the jQuery object, but jQuery will throw undefined if you attempt to call $('.selector').recurse You'd have to call $.recurse You can implement a pretty quick fix, if you don't plan on doing much else with the function. Try: $.recurse = $.fn.recurse = function(options){ ...

[jQuery] Re: recursive dom walker

2009-05-06 Thread AndyCramb
Thanks Eric So is the only way to chain from an extended function in jQuery is to use $.fn.recurse= function(){} I cannot uses $.recurse = function() { } and return the jQuery object from within this function? Thanks andy On May 6, 3:13 pm, Eric Garside wrote: > Your "recurse" function is not

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Steeleclipse
Thanks for your reply. I will try that tonight and post how it goes! On May 6, 3:37 pm, Eric Martin wrote: > I just took a look and it looks like the main issue is that you are > not binding the link correctly. You need to modify the selector in > confirm.js from: > > $('#confirmDialog input.con

[jQuery] Re: Is it possiblwe to use "this" in slection

2009-05-06 Thread Christos
Thanks a lot Eric, It worked fine.

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
I just took a look and it looks like the main issue is that you are not binding the link correctly. You need to modify the selector in confirm.js from: $('#confirmDialog input.confirm, #confirmDialog a.confirm').click (function (e) { ... }); to: $('#navPhysicians a.confirm').click(function (e)

[jQuery] Re: Preloading files

2009-05-06 Thread Smartcoding
Sorry, I thought I am writing in group of MultiFile Plugin (http:// www.fyneworks.com/jquery/multiple-file-upload/) Would appreciate if anyone could help.

[jQuery] jqModal inserting links with live clicks doesn't work

2009-05-06 Thread Bradley
I read a bit on the new jqModal version that has live events on the a.jqModal (Actually reading this didn't tell me whether live events were enabled on .jqModal by default, or if you had to make the call shown in the code, but that's neither here nor there) So, I have a control panel list users

[jQuery] Re: refresh image?

2009-05-06 Thread Eric Garside
For reference, this php should properly force no-cache: Just be sure to replace $mime with the correct type for the image (jpg, gif, whatever you're sending) header('Content-Type: ' . $mime); header('Cache-Control: no-cache'); header('Pragma: no-cache'); On May 6, 2:30 pm, Ricardo wrote: > On

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread BrendanC
Jon - Good catch - however that was just a cut/paste problem - below is a new example that does not work as expected - for some reason the validation errors are ignored and the form is posted - not what I was expecting. Is there something else I need to do to prevent form from posting on errors? W

[jQuery] Re: refresh image?

2009-05-06 Thread Ricardo
On May 6, 6:46 am, heohni wrote: > Hi, after sending a form, I would like to reload the form in order to > send a new message. > Therefore I was resetting the old form, but I need to call a new > captch image. > It's currently like this: > > style="float:left;" /> > > I thought I coud re-load it

[jQuery] Re: How to get an array of values?

2009-05-06 Thread Charlie Griefer
On Wed, May 6, 2009 at 10:20 AM, hellolindsay wrote: > > Let's say I want an array of all the values for checked checkboxes on > my page. How do I do this? > This: > > $('input:checkbox:checked').val() > > ..only returns the first value. Is there a function that will return a > javascript array o

[jQuery] Performance of "parent > child" selector vs .children() method

2009-05-06 Thread Adam
Essentially, I'd like to know if there is any difference between $("div.grandparent > div.parent > div.child") and $("div.grandparent").children("div.parent").children("div.child") Does anyone know which of these is more performant or preferred when selecting child nodes? Thanks.

[jQuery] SimpleModal issues... too many scripts?

2009-05-06 Thread Steeleclipse
Hi Everyone, I am new to the jquery world, but have found it quite useful... maybe a little too useful. It seems like I have too many scripts running. Is there a way to simplify what I have been doing in the markup to run them? Please take a look and let me know if I can narrow things down: http

[jQuery] How to get an array of values?

2009-05-06 Thread hellolindsay
Let's say I want an array of all the values for checked checkboxes on my page. How do I do this? This: $('input:checkbox:checked').val() ..only returns the first value. Is there a function that will return a javascript array of values? Thanks.

[jQuery] SimpleModal issues... too many scripts?

2009-05-06 Thread Steeleclipse
Hi Everyone, I am new to the jquery world, but have found it quite useful... maybe a little too useful. It seems like I have too many scripts running. Is there a way to simplify what I have been doing in the markup to run them? Please take a look and let me know if I can narrow things down: http

[jQuery] Preloading files

2009-05-06 Thread Smartcoding
Hi there! First of all I want to thank author for this great plugin! Here is my situation: I am trying to implement this plugin to some content's edit page (written in php), that means that content may already have uploaded files with it so I need somehow to "Preload" this files (or just filenames

[jQuery] Need Help to Apply effect to newly created element

2009-05-06 Thread Jigar Mistry
Hi, I am using jQuery for multiple file upload. Now my requirement is as follows: 1) I can create file element dynamically through javascript. 2) I need to apply the jQuery ability to add multiple file in newly created element. Below are my js files Code to add input file dynamically

[jQuery] jCarousel - set start variable based on class w/Dynamic data

2009-05-06 Thread Mimi
I have a dynamic jCarousel which pulls in JSON data from php, and prints out the list html. What I'm trying to do is set the carousel start item as a variable, which would find the item with the class ".active", and start with that item. The problem is that since the data is dynamic when it look

[jQuery] Set text property of server control

2009-05-06 Thread Goldielocks
Hi, I am creating a dialog that has three asp.net buttons inside it. I want to change the text property of the buttons from jquery. I have tried the following code but it does not work. The text is not changed. //server control id=b1 var b1 = $("#<%=b1.ClientID %>"); b1.text("yes"); I have a

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread ken
I'll back up even more, to a very-high level, because these concepts weren't instantly evident to me; once I realized them it helped me to better conceptualize how and why jQuery works as it does. $() aka jQuery(), is basically an implementation of the Factory Pattern, in which one object is resp

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread dhtml
On May 5, 1:53 pm, Matt Kruse wrote: > On May 5, 3:38 pm, kiusau wrote: > > > QUESTION:  If a lone pair of parentheses can be used to automatically > > call a function, then what does it mean when two pairs are juxtaposed > > in the same statement as follows:  ()(jQuery);? > > See, this is pur

[jQuery] [jQuery AJAX]

2009-05-06 Thread Rogue Lord
I am using the jquery.form.js addon, and I was wondering if there was a way that I could add something to check for a certain string in resulting response? I am having a form sending an AJAX request to the server which then places the result into the div that is used for responses but I am unsure

[jQuery] jquery-roundcorners-canvas - not working on table border

2009-05-06 Thread banacan
I'm trying to use the plugin jquery-roundcorners-canvas.js on a table but the border is not rounded like the background. Has anyone else found this to be a problem? Any solutions? TIA

[jQuery] FRAMES

2009-05-06 Thread kali
hi, I need to refer to a frame, in plain JavaScript it is: parent.frames.main.emplmain.document.getElementById ('mail').style.display='block'; how would I do this in jQuery (so I can do neat things like fadeIn(), etc...;) thank you..

[jQuery] Re: barackslideshow effect in jquery.

2009-05-06 Thread Jack Killpatrick
maybe this: http://devthought.com/blog/projects-news/2008/06/barackslideshow-an-elegant-lightweight-slideshow-script/ - Jack idrish laxmidhar wrote: hi all..i am looking for a similar effect like the barackslideshow effect. can anyone suggest such a plugin in jquery. thanks a lot

[jQuery] Re: Resetting the reset button

2009-05-06 Thread russellneufeld
Rob, Thanks a ton. I was able to code up what I needed with your advice. Here's what I did, in case someone else out there needs to do something like this in the future. Russ /** * Set all the default values of a form to whatever is there now, effectively updating the reset * button t

[jQuery] Re: [autocomplete] Bug in click function

2009-05-06 Thread Tom Worster
On 5/5/09 1:59 PM, "tudela" wrote: > > Hi, I was using the autocomplete and found a bug in the click > function, follow the code: > > Actual code: > // In this code you need to click twice in the input element to show > the results. > .click(function() { > // show select when clicking in a

[jQuery] Re: efficient way to find a parent

2009-05-06 Thread mkmanning
.parent() gets you the immediate parent of the element, .parents() traverses up through all ancestors, so you could use .parents('.user') and it wouldn't matter how deep you nest the link. You can also use .closest(), which finds the closest parent that matches the specified selector: $(this).clo

[jQuery] Re: [cycle] transparent pngs on background in IE

2009-05-06 Thread Michael Smith
I've not managed to solve this but have found this which explains things a little: http://blog.pengoworks.com/index.cfm/2009/2/17/Fading-a-24bit-transparent-PNG-in-IE7 In my case, these didn't work so I'm moving over to gifs - sadly the images don't look anywhere near as nice but there doesn't s

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Stephen Korecky
On May 6, 9:46 am, "Jonathan Vanherpe (T & T NV)" wrote: > Stephen Korecky wrote: > > I tried that too, has same results... > > > On May 6, 9:35 am, "Jonathan Vanherpe (T & T NV)" > > wrote: > >> stephen wrote: > >>> I created a test page > >>> here:http://clients.stephenkorecky.com/stephen_k

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Stephen Korecky
Even that still returns disabled="" On May 6, 9:41 am, "Andy Matthews" wrote: > Right. The disabled attribute takes an actual string, not a boolean. You can > set even set it to true if you prefer: > > $("#button").attr("disabled","true"); > > > > -Original Message- > From: jquery-en@goo

[jQuery] How can I refresh jQuery object's DOM (after having AJAXed dynamic content)?

2009-05-06 Thread Barney
Hello list, Is there a way I can refresh the jQuery object's DOM on command so that it can acknowledge content that's been brought in after the initial DOM ready event? Ideally, I'd find something that looked a bit like this: $.get('wad_of_unknown_content.php', someVariableParameters, $.reloadP

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Jonathan Vanherpe (T & T NV)
Stephen Korecky wrote: I tried that too, has same results... On May 6, 9:35 am, "Jonathan Vanherpe (T & T NV)" wrote: stephen wrote: I created a test page here:http://clients.stephenkorecky.com/stephen_korecky/js_test.html But basically the problem is that $("#button").attr("disabled",true)

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Andy Matthews
Right. The disabled attribute takes an actual string, not a boolean. You can set even set it to true if you prefer: $("#button").attr("disabled","true"); -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jonathan Vanherpe (T & T NV) Se

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Stephen Korecky
I tried that too, has same results... On May 6, 9:35 am, "Jonathan Vanherpe (T & T NV)" wrote: > stephen wrote: > > I created a test page > > here:http://clients.stephenkorecky.com/stephen_korecky/js_test.html > > > But basically the problem is that $("#button").attr("disabled",true); > > shoul

[jQuery] Re: is next() recursive?

2009-05-06 Thread brian
On Wed, May 6, 2009 at 6:36 AM, Paul Mills wrote: > > Hi, > Your code is missing th for > > When I add this in everything toggles as expected  -->   > http://jsbin.com/esaso/edit I was just going to reply to my own post. Everything's good, the problem was not with next() and everything works a

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Jonathan Vanherpe (T & T NV)
stephen wrote: I created a test page here: http://clients.stephenkorecky.com/stephen_korecky/js_test.html But basically the problem is that $("#button").attr("disabled",true); should disable a input button, and it does, HOWEVER it outputs disabled="" when it should output disabled="disabled" a

[jQuery] Re: 1.3.2 td class selector only picks the first td

2009-05-06 Thread kape
Yeah, I've written a simple test myself in which everything works fine. However, in the case where it doesn't work, there's a lot of other code that might be causing problems. The table itself is inside a widget created using jQuery sortable, draggable, droppable, and resizable. Initially the w

[jQuery] Disable input button, using wrong HTML code?

2009-05-06 Thread stephen
I created a test page here: http://clients.stephenkorecky.com/stephen_korecky/js_test.html But basically the problem is that $("#button").attr("disabled",true); should disable a input button, and it does, HOWEVER it outputs disabled="" when it should output disabled="disabled" anyone know how to

[jQuery] Re: recursive dom walker

2009-05-06 Thread Eric Garside
Your "recurse" function is not a method of the jQuery.fn object, so it can't work on elements. The line: $.recurse = function(options) { should be $.fn.recurse = function(options) { On May 6, 9:00 am, AndyCramb wrote: > I am trying to write a plugin that will eventually match a specific > st

[jQuery] Re: Is it possiblwe to use "this" in slection

2009-05-06 Thread Eric Garside
Yes, you can. "this" refers to the HTMLElement in the context of an event handler. Though, your syntax is a bit wonky, should be: $('#slickbox' + this.id).toggle(400); On May 6, 4:13 am, Christos wrote: > Hi all, > > I wanted to ask whether we can use "this" for selecting in jquery. > What i wa

[jQuery] Re: How To Get Around: Access to restricted URI denied" code: "1012

2009-05-06 Thread bittermonkey
I won't be able to rewrite the service cause we also have cold fusion sites consuming the xml data. I guess I am stuck with creating another asp.net page that will call the service. Thanks for helping out everyone. On May 5, 9:16 pm, 丁亮 wrote: > use jsoncallback=? in the end of url

[jQuery] Re: [autocomplete] disable submit until valid selection is made

2009-05-06 Thread Tom Worster
On 5/5/09 7:51 PM, "Seth" wrote: > I have a situation where the only valid inputs on my autocomplete > field are the ones supplied by my ajax method. Is there a way to > disable the submit button on my form until the input field contains > one of the autocomplete values? could you perhaps enabl

[jQuery] Re: [autocomplete] Invoking autocomplete dropdown on focus, before user types

2009-05-06 Thread Tom Worster
On 5/5/09 6:09 PM, "Mike Harris" wrote: > Does anyone know how I can get the autocomplete dropdown list of > values to appear when the text field gains focus, before the user > types anything. I've been trying to do this, and have so far been > unsuccessful. Any help would be greatly appreciat

[jQuery] Re: remote validation

2009-05-06 Thread Jörn Zaefferer
Not easy to solve - you could use $().ajaxStop() to wait for the request to finish, then you valid() again, this time it will validate the cached value and return the correct result. Jörn On Wed, May 6, 2009 at 8:00 AM, Mekilioz wrote: > > I'm trying to do a jquery remote validation on a 'Name'

[jQuery] Re: Using Tablesorter with ajax generated tables

2009-05-06 Thread MorningZ
Put it at the end of the "changeBalanceTable" event On May 6, 2:36 am, Evan wrote: > I'm having a similar problem with my site > > I'm loading a table like this: > >     > > The changeBalanceTable() function simply inserts a table from a php > script into a div using .innerHTML = TABLE > > Sinc

[jQuery] Re: Disable checkbox

2009-05-06 Thread Jörn Zaefferer
That doesn't need the validation plugin. jQuery can do this by itself: $("#first").click(function() { $("#other").attr("disabled", true); }); Jörn On Wed, May 6, 2009 at 11:37 AM, ciupaz wrote: > > Hi all, > using jQuery.Validate plug-in, how can I disable a checkbox when the > user check an

[jQuery] remote validation

2009-05-06 Thread Mekilioz
I'm trying to do a jquery remote validation on a 'Name' text field. The validation checks if the name is unique, hence it has to be done through the remote method. 'Save' button onclick is attached to this javascript method function validateName() { txtName.rules('add', { remote: {

[jQuery] barackslideshow effect in jquery.

2009-05-06 Thread idrish laxmidhar
hi all..i am looking for a similar effect like the barackslideshow effect. can anyone suggest such a plugin in jquery. thanks a lot

[jQuery] recursive dom walker

2009-05-06 Thread AndyCramb
I am trying to write a plugin that will eventually match a specific string pattern on the id attribute of all form element(s) I aim to get a collection of all elements that I want to return for chaining I generate a regular expression on the fly based on the arguments passed in and use this to fin

[jQuery] multiple selects put into an array is this easy?

2009-05-06 Thread snorkel
hullo, I am new to js and jquery ... and have got into a mess trying to find a way to do this. I have a large table and I want to be able to select multiple entries from one column... using the usual ctrl and shift keys to either select continuous groups or multiple individual entries. So a

[jQuery] smooth fadein() problem with iframes and div tags

2009-05-06 Thread mango7
Hi, I'm having a problem achieving smooth loading of iframes. My ideal behavior for the iframe is that iframe is completely loaded into the dom, and them when I call fadeIn, it smoothly fades in. Instead, I get a very choppy behavior. If I run a sequence like: fadeIn(), fadeOut(), fadeIn() - t

[jQuery] Re: Using Tablesorter with ajax generated tables

2009-05-06 Thread Evan
I'm having a similar problem with my site I'm loading a table like this: The changeBalanceTable() function simply inserts a table from a php script into a div using .innerHTML = TABLE Since my table loads after 100ms how do I set my TableSorter to sort it since the table is not in the DOM

[jQuery] Is it possiblwe to use "this" in slection

2009-05-06 Thread Christos
Hi all, I wanted to ask whether we can use "this" for selecting in jquery. What i want to do is to have one toggle function for many objects. the fuction i use now is the above $('a#slick-toggle').click(function() { $('#slickbox').toggle(400); return false; })

[jQuery] image changes when mouse over a link

2009-05-06 Thread idcoder
I am looking for a effect. There are 3 images and 3 links at the bottom. when mouse over a link should change the image. I tried all the possible searches but could not get the desired tutorial. any help?? thanks..

[jQuery] Strange problem getting width/height

2009-05-06 Thread paolo
Hello to everybody, I'm writing you since I'm getting a strange problem with getting height/width of a div I've inserted with div.html (data); Ive got this HTML : I need to autoresize the root

[jQuery] Disable checkbox

2009-05-06 Thread ciupaz
Hi all, using jQuery.Validate plug-in, how can I disable a checkbox when the user check another checkbox in the form? Thanks in advance. Luigi

[jQuery] Getting the text of an element: IE6 vs. FF3

2009-05-06 Thread infoaddicted
I have some HTML: Link One Link Two Link Three And the following JQuery JS to test the "onclick" handler $(".links").click(function(){ alert( "this.text -> " + this.text + "\n" + //above returns "undefined" in IE 6

[jQuery] efficient way to find a parent

2009-05-06 Thread jquerysk
I want to find a parent for a button. I have set up the html like the following. My name goes here some description The thing is that I need to specify how many steps I have to go up to get the parent id( see the bottom ) and if I add another tag I migh have to change this source. Is there any

[jQuery] BEdita - semantic content management framework that uses jQuery

2009-05-06 Thread Alberto Pagliarini
Hi, after more than 2 years of hard/heavy work we are really pleased to announce the first public beta release of BEdita 3 (pronounced [bi'εdita]), a semantic content management framework that uses jQuery. http://www.bedita.com http://www.bedita.com/beopen [our website is still work in progress,

[jQuery] Re: refresh image?

2009-05-06 Thread ryan.j
depending whether it tries to pull the existing image from the user's temp.internet files or not, you may also want to add a random number onto the request to prevent IE from caching the previous request. On May 6, 12:03 pm, "ryan.j" wrote: > could you .load() the image into a container? > > On

[jQuery] Re: refresh image?

2009-05-06 Thread ryan.j
could you .load() the image into a container? On May 6, 10:46 am, heohni wrote: > Hi, after sending a form, I would like to reload the form in order to > send a new message. > Therefore I was resetting the old form, but I need to call a new > captch image. > It's currently like this: > > style=

[jQuery] Re: is next() recursive?

2009-05-06 Thread Paul Mills
Hi, Your code is missing th for When I add this in everything toggles as expected --> http://jsbin.com/esaso/edit Paul On May 6, 3:37 am, brian wrote: > jquery 1.3.2 > > I have a nested group of lists similar to below where all but the > top-level list is hidden. Clicking a link should op

[jQuery] refresh image?

2009-05-06 Thread heohni
Hi, after sending a form, I would like to reload the form in order to send a new message. Therefore I was resetting the old form, but I need to call a new captch image. It's currently like this: I thought I coud re-load it with: $("#captcha").attr("src").replaceWith("inc/captcha/captcha.php");

[jQuery] Re: Resetting the reset button

2009-05-06 Thread RobG
On May 1, 1:49 am, russellneufeld wrote: > Hi all, > >   I've got a set of forms which all act the same way - the form submit > is handled by the jQuery form plugin which redirects the output to a > div on the page.  That means that when the user hits submit, the page > in the browser doesn't c

[jQuery] jcarousel sorgalla.com auto circular

2009-05-06 Thread dyke
Hi everyone, I have problem with set up jcarousel with jquery 1.3. I need the auto circular one jQuery('#mycarousel').jcarousel({ wrap: 'circular', auto: 2 }); but behavior of carousel is vague. In init the first item appears correctly, and the width of container is ok(I think it is