[jQuery] Re: Autocomplete plugin: results as table?

2009-10-14 Thread Maarten
On 12 okt, 18:35, alexbodn.gro...@gmail.com wrote: hello maarten, your attempt sounds interesting. could you give public access to these urls? Hello Alex, Sure, apparently some server settings were changed in the weekend but you can now access my demo at:

[jQuery] Re: AJAX callbacks: load(); $.get() and $.post() do not

2009-10-14 Thread David
Hi, I have a related problem: http://groups.google.com/group/jquery-en/browse_thread/thread/faf44301f4a22535/537df7c5a5b124bf?lnk=gstq=garcia.narbona#537df7c5a5b124bf I have just also found this: http://groups.google.com/group/jquery-en/browse_thread/thread/4c8e4ac00ee529d2#

[jQuery] Re: background position plugin

2009-10-14 Thread vicix
in this example: http://buildinternet.com/live/smoothmenu/animated-menu.html Does anyone know when i get the menu in question static when clicked? thank you

[jQuery] Item list only loading 1 Image

2009-10-14 Thread Nathan Chapman
So I have just changed the original HTML and CSS then just barely touched the JavaScript to edit the width, height and the different image urls. As you can see in the sample URL below only 1 image is being loaded and rotated. I haven't been able to trouble shoot the issue successfully so that's

[jQuery] Re: (tooltip) Markup problem

2009-10-14 Thread shapper
On Oct 12, 8:57 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: That sounds like you validate a page for the sake of validation. I think thats beneath the point, therefore I don't get your argument. Do you worry about accessibility? If so, did you test the tooltip with a screenreader?

[jQuery] Re: (tooltip) Markup problem

2009-10-14 Thread Jörn Zaefferer
You could give the jQuery UI tooltip a try. Source is here: http://jquery-ui.googlecode.com/svn/branches/dev/ui/jquery.ui.tooltip.js Theme: http://jquery-ui.googlecode.com/svn/branches/dev/themes/base/ui.tooltip.css Visual test (sort of demo) here:

[jQuery] Jquery Corner IE issues

2009-10-14 Thread Paul
Hi there, When using Jquery Corner in Firefox Safari it works like a charm, but in IE 7 8 I only get four ugly black corners... How can I solve this: http://www.cornelisdehoutman.nl/futureisnow

[jQuery] Re: Item list only loading 1 Image

2009-10-14 Thread amuhlou
you may want to try defining the size of the carousel (aka how many items you have total) in your document.ready function before or after wrap: 'circular' size: mycarousel_itemList.length, On Oct 14, 10:54 am, Nathan Chapman nachap...@gmail.com wrote: So I have just changed the original HTML

[jQuery] Re: Validate

2009-10-14 Thread TipTop
I have now solved this issue so no need to post any replies - Thanks! On 8 Oct, 17:35, TipTop poppetkit...@googlemail.com wrote: I am new to jquery(my first application!)  and I am using the fantastic validate plugin. I am calling a dialog from a tab and although the validation  works

[jQuery] Re: Calling function through an event

2009-10-14 Thread Richard D. Worth
$(function() { $(#slider).slider({ value:0, min: 0, max: 11, step: 1, slide: function(event, ui) { myFunction(ui.value); } }); }); function myFunction(val){ // } - Richard On Tue, Oct 13, 2009 at 4:48 AM, Vinyl dapu...@gmail.com wrote: I am using a slider

[jQuery] Re: Adding selectors to $(this)?

2009-10-14 Thread Richard D. Worth
On Tue, Oct 13, 2009 at 6:49 AM, Matt guitarroman...@gmail.com wrote: What I want, though, is to add this class to the h3 within my li. I tried: receive: function(event, ui) { $(ui.item + ' h3').addClass('editable');

[jQuery] Re: Bassistance validation plugin issue

2009-10-14 Thread Edgar Méndez .
script type=text/javascript $(document).ready(function(){ $.validator.addMethod(nonEmptyTable, function(value, element) { return get_table_data(); }, 'xxx.'); $(#OrdenForm).validate({ rules: { id_orden:{required:true}, fecha_sol: {required:true, dateISO: true}, concepto:

[jQuery] jquery autocomplete plugin - hardcoded overflow: auto

2009-10-14 Thread Rick Strahl
I'm taking a look at the jQuery autocomplete plugin and it works great for the most part except that it's generating scrollbars on both sides of the drop down list. Unfortunately this can't be overridden (AFAIK) via the stylesheet provided because the code apparently hard codes the overflow:

[jQuery] Validation on a button click, Validation to check many inputs with same class

2009-10-14 Thread jackkit...@gmail.com
Hi all I was wondering if someone could please help me with the jquery validation. I have a foreach loop that creates many input text rows and i would like jquery validation to check on button click if each of the input boxes meets the requirements. Right now on button click it is only checking

[jQuery] jQuery Form Plugin - File upload with JSON response

2009-10-14 Thread Florent Paillard
Hi, I'm trying to use the jQuery Form Plugin for file upload with JSON response (basically, I need to get an uploaded file ID back from the server after upload) I have a problem when getting the data from the iframe back to the javascript in the main page because the json string is wrapped in a

[jQuery] Optimizing code with JQuery

2009-10-14 Thread Frederic Laruelle
Would appreciate some help on identifying the best way to utilize JQuery to build DOM objects in memory before inserting them into the document, here is some sample (abbreviated) code, which depicts what i am trying to do: function Item(JSON) { this.JSON = JSON; this.Node =

[jQuery] jQuery updatable graph

2009-10-14 Thread megladon
I am looking for a pie chart that I can update by jQuery. I have used sparklines but I cant get it to update without a page refresh. Has anyone used such a graph?

[jQuery] Can't get .attr to work in chrome

2009-10-14 Thread Curtis Ovard
Here is the code $(document).ready(function(){ $('img').attr({onclick: Image_Click(src)}); $('img').css(cursor, pointer); }); function Image_Click(src){ var img = $('divimg src=\' + src + '\ alt=\Full size image\/ div'); $(img).dialog({ resizable:

[jQuery] Several callbacks?

2009-10-14 Thread Dennis Madsen
I've this code: $(.page).fadeTo(fadeSpeed,0,function() { alert(test); }); I've 3 elements with class page. Because of that, I got 3 alerts. I'm only interested in one alert when all .page is faded out. How can I?

[jQuery] Re: Can't get .attr to work in chrome

2009-10-14 Thread Leonardo K
Use the click event: http://docs.jquery.com/Events/click#fn On Wed, Oct 14, 2009 at 01:23, Curtis Ovard cjo...@gmail.com wrote: Here is the code $(document).ready(function(){ $('img').attr({onclick: Image_Click(src)}); $('img').css(cursor, pointer); }); function

[jQuery] Re: What causes a query string when request ing jQuery? e.g. /jquery-1.3.2.min.js?_=12553…

2009-10-14 Thread oliver.pra...@googlemail.com
would allowing google to serve up jQuery not also stop this problem? On Oct 14, 1:13 am, Ninad Desai desai.ni...@gmail.com wrote: Hey Mike, Do you see timestamp / query string appended to js even when you see source code? if that is the case, make sure no rewrite rules are written in

[jQuery] Re: ie6 and .val() issue

2009-10-14 Thread oliver.pra...@googlemail.com
I use and tested: $(select#selectbox).val(value); See if that solves the problem. Also sie if the value really exists. On Oct 14, 3:55 am, Gene Berger crapper_m...@att.net wrote: I am a JQuery newbie so I am probably mistaken. I just ran into a problem with .val (grabbed it from an

[jQuery] Re: ie6 and .val() issue

2009-10-14 Thread oliver.pra...@googlemail.com
I use and tested: $(select#selectbox).val(value); See if that solves the problem. Also sie if the value really exists. On Oct 14, 3:55 am, Gene Berger crapper_m...@att.net wrote: I am a JQuery newbie so I am probably mistaken. I just ran into a problem with .val (grabbed it from an

[jQuery] Re: File upload - json result ERRORZ!

2009-10-14 Thread Florent Paillard
Same problem here. Where do you add the textarea ? On the server side ? Do you enclose your JSON string between textarea and / textarea before returning it to browser? On Sep 29, 9:25 am, Flynsarmy flynsa...@gmail.com wrote: The problem was due to me not wrapping the result in a textarea This

[jQuery] Sortable Help

2009-10-14 Thread Dave Maharaj :: WidePixels.com
I am sorting but the data being sent is in wrong format. Response headers: data = entry[]=cf43c5caa5eentry[]=1cb5758d6aaentry[]=ee713a3034aentry[]=d32cea34 83f key = entry_0[] but it should be entry[0]=cf43c5caa5eentry[1]=1cb5758d6aaentry[2]=ee713a3034aentry[3]=d32c

[jQuery] Re: loading message shows up after page has loaded

2009-10-14 Thread sdtacoma
Wow, easy there Karl. I was just showing you working examples of the issue I was experiencing. I have applied the code that you sent me and it does work, kinda. Your code does not actually wait for the data to finish loading. It merely unblocks the UI after a period of time. This is not what I

[jQuery] Re: XML Parsing, am I doing it wrong?

2009-10-14 Thread Jim
Solved: function get_idc_fields(jqxml, field_names) { var ret = new Object(); jqxml.find('*').each(function(Index) { //I could add an 'if($( this )[ 0 ].nodeName == 'idc:field') somewhere in here, //but it isn't necessary var target = $(this)[0];

[jQuery] Re: Several callbacks?

2009-10-14 Thread Karl Swedberg
Try this ... var pageCounter = 0; var pagesTotal = $('.pages').length; $(.page).fadeTo(fadeSpeed,0,function() { if (++pageCounter == pagesTotal) { alert(test); } }); I'm assuming you have declared a variable for fadeSpeed. --Karl Karl Swedberg

[jQuery] Search Replace RegExp in entire form

2009-10-14 Thread Gene Berger
I have a validation regular expression: [?\-#$%():;,._ 0-9a-zA-Z] in a hundreds of pages in edit boxes. Is there a way I can on-the-fly add two items to this list: (after a page loads) 1) A single quote : ' 2) A double quote : Sort of like a search and replace for the ENTIRE form (html

[jQuery] Re: Can't get .attr to work in chrome

2009-10-14 Thread MorningZ
$('img').attr({onclick: Image_Click(src)}); $('img').css(cursor, pointer); to $('img').css(cursor, pointer).click(function() { Image_Click (this.src); }); And I may be mistaken, but i *think* that the modal div needs to be added to the DOM *before* it can be called as a modal popup... i could

[jQuery] Autocomplete not working in Firefox

2009-10-14 Thread vrodg
I can get Jquery Autocomplete to work in all browsers but Firefox. The function correctly queries the data and creates the results div/ list, but it's not setting the style: display to show or block, it's remaining at none, the default state. Firebug is not showing me any errors, as far as its

[jQuery] Re: Autocomplete not working in Firefox

2009-10-14 Thread vrodg
Also it's Firefox on both Platforms of PC and Mac it is not working. The firefox versions used for testing is 3.5.3 On Oct 14, 10:36 am, vrodg vance.rodg...@gmail.com wrote: I can get Jquery Autocomplete to work in all browsers but Firefox. The function correctly queries the data and creates

[jQuery] Re: Autocomplete not working in Firefox

2009-10-14 Thread MorningZ
I use the plugin just fine against Firefox 3.5 Got some example code? Have you tried to view another instance of the plugin from your Firefox install? (like for instance the demo page) On Oct 14, 1:38 pm, vrodg vance.rodg...@gmail.com wrote: Also it's Firefox on both Platforms of PC and Mac

[jQuery] Re: loading message shows up after page has loaded

2009-10-14 Thread Karl Swedberg
Wow, easy there Karl. I was just showing you working examples of the issue I was experiencing. easy there? I was just trying to help. You showed examples that didn't include my suggestions, after we had already established that your first attempts were not going to work. Your code does

[jQuery] Re: (validate) How to get individual error messages and disable auto-showing

2009-10-14 Thread Mike
For my first question I ended up switching from the jalerts plugin to just using the jquery ui dialog box. Seems to work well. The issue is that the jalerts popup doesn't use a previously configured div on the page to show things...it creates a new one...so the validation plugin has no place to

[jQuery] Re: Iterate through elements of a given class and multiply

2009-10-14 Thread Avik Basu
Thanks for your help--using .text() solved the scaling problem. A related problem is how can I go back to the original values in the divs when scaling multiple times? Right now the behavior is such that it scales the div values properly the first time, but the second time it scales the already

[jQuery] How to convert prototype to jquery

2009-10-14 Thread Netto
My prototype script: function loginMenu() { $('mydiv').innerHTML = Loading...; var param = Form.serialize($('myForm')); var myAjax = new Ajax.Updater ( 'myOutputDiv', '%=$app%/users/login', { method: 'get', parameters: param,

[jQuery] Re: What causes a query stri ng when requesting jQuery? e.g. /jquery-1.3.2 .min.js?_=12553…

2009-10-14 Thread Bob Eastbrook
Thanks very much to all who've been thinking about this problem. @Michael, James: I've been working all morning to reproduce my problem in code I can post, but I'm coming up empty. In fact, when my app talks to a remote database I see no problems. I only see the glitch when my app talks to a

[jQuery] Re: How to Sort an Unordered List - TinySort

2009-10-14 Thread mkmanning
Never used the plugin, but doing the sort you want is fairly simple: $('#refmenu').click(function(){ var sorted = $.makeArray($('#listli')).sort(function(a,b){ return ($(a).children('a').attr('title') $(b).children('a').attr ('title')) ? -1 : 1; }); $('#list').html(sorted); }); HTH

[jQuery] Re: Autocomplete not working in Firefox

2009-10-14 Thread vrodg
I found the issue. the original developer of the site had a separate CSS called in for Firefox. I was attempting to perform actions against classes that did not exist. On Oct 14, 10:40 am, MorningZ morni...@gmail.com wrote: I use the plugin just fine against Firefox 3.5 Got some example

[jQuery] Re: Iterate through elements of a given class and multiply

2009-10-14 Thread James
You can store the original inside the div element as an attribute. There are several ways you can do this. Here are the popular methods: One method is using the jQuery data() function: http://docs.jquery.com/Core/data However, this would require you to add the data via Javascript, which maybe

[jQuery] Re: Iterate through elements of a given class and multiply

2009-10-14 Thread James
Oh, another method is to store the default values as a Javascript array/object with a matching ID of the DIV. For example: var defaults = { 'div1': 100, 'div2': 200 } div id=div1 class=num100/div div id=div2 class=num200/div alert( defaults['div1'] ); // alerts '100' On Oct 14, 8:29 am,

[jQuery] Re: jQuery updatable graph

2009-10-14 Thread Scott Haneda
Have you looked at Raphaèl? -- Scott Iphone says hello. On Oct 14, 2009, at 5:47 AM, megladon chap...@gmail.com wrote: I am looking for a pie chart that I can update by jQuery. I have used sparklines but I cant get it to update without a page refresh. Has anyone used such a graph?

[jQuery] [autocomplete] Callback for selected match

2009-10-14 Thread eka
Hi Is there anyway to pass a callback to the options to be called when an option is selected? Regards Eka

[jQuery] Jquery Cycle - Combining Prev Next with Image Count

2009-10-14 Thread northbeach
I have worked out how to use the Next and Prev example here : http://malsup.com/jquery/cycle/int2.html and the count example here: http://www.malsup.com/jquery/cycle/count.html I can't however work out how to combine them so when you press Next it changes a 1 out of 5 image counter. Any help

[jQuery] Superfish:'null is Null or not an object

2009-10-14 Thread Simael
Hi, I'm developing my first site with Superfish and DNN. All runs very well as expected, but I have a problem with one DNN Tab: If this tab will be clicked I receive the JS error, that 'null' is Null or not an object. May I ask to visit following site to see this error directy?

[jQuery] Writing a plug-in that uses jQuery .live() method, but something doesn't work...

2009-10-14 Thread Stephen
Hi, I'm trying to write a plug-in that enforces a character limit on a textarea of a form that is dynamically loaded via Ajax. If the character limit is reached, I disable keyboard input except for a few keys. Without writing a plug-in, this code works: (function ($) { $

[jQuery] calculating value based on two sliders

2009-10-14 Thread DekiR
HI, I am new to jquery and I am trying to calculate a value based on two sliders. Can somebody help me or point me into the right direction. Thanks, DekiR This is the code that I am using: var value1; var value2; $(function() { $(#slider).slider({

[jQuery] Newbie Question

2009-10-14 Thread Tiger
I am running a function that takes a long time to run in coldfusion. I would like to display a Loading Data message when the data needs to be loaded then hide that message once the data load is complete. What jQuery functions do you recommend and what basic approach do I need to take. This is

[jQuery] jquery.validate plugin not working with thickbox in safari only

2009-10-14 Thread 3rdman
Hi All, I am in need of a solution. I am using Thickbox to display a simple contact form in a site I am building. Only problem is that when I use the js.validate plugin for the form it does not work but only in Safari, in FF and IE and Opera it works fine. I know that the validate plugin works

[jQuery] jQuery speed seems slow

2009-10-14 Thread JenniferWalters
Are jQuery searches slow versus using DOM? (i.e. document.getElementById(whatever) ) It seems that it takes forever to do things that when done with document.getElementById, goes much quicker. What do you think?

[jQuery] Re: loading message shows up after page has loaded

2009-10-14 Thread Mike Alsup
I'm enjoying this thread. :-) On Oct 14, 2:04 pm, Karl Swedberg k...@englishrules.com wrote: Wow, easy there Karl. I was just showing you working examples of the issue I was experiencing. easy there? I was just trying to help. You showed examples that didn't   include my suggestions,

[jQuery] Re: Jquery Cycle - Combining Prev Next with Image Count

2009-10-14 Thread Mike Alsup
There's a demo for that. http://jquery.malsup.com/cycle/count2.html On Oct 14, 11:48 am, northbeach aaronfin...@googlemail.com wrote: I have worked out how to use the Next and Prev example here :http://malsup.com/jquery/cycle/int2.html and the count example

[jQuery] Prevent Select from opening.

2009-10-14 Thread Dave Maharaj :: WidePixels.com
I have a select input that when clicked i want to prevent from dropping down. How can this be done? I only have this so far: script type=text/javascript $(document).ready(function(){ $(#JobStateId).mousedown(function(){ alert('clicked'); return false; }); }); /script

[jQuery] Re: jQuery speed seems slow

2009-10-14 Thread Matt Kruse
On Oct 14, 3:33 pm, JenniferWalters jenniferwalt...@email.com wrote: Are jQuery searches slow versus using DOM? (i.e. document.getElementById(whatever) ) Of course. jQuery adds many function calls and layers of abstraction when you do $('#whatever') vs. document.getElementById('whatever').

[jQuery] Re: Writing a plug-in that uses jQuery .live() method, but something doesn't work...

2009-10-14 Thread Stephen
After consulting with a colleague, I abandoned the plug-in and turned it into a normal function. Profile.enforceCharLimit = function(options){ /* defaults */ var defaults = { selector: '', charLimit: 1000

[jQuery] Re: ie6 and .val() issue

2009-10-14 Thread Daniel Murker
the /default was a typo here. It's correct in the source code. Ultimatately the issue wasn't with the Jquery, it was with how IE6 executes javascript faster than it renders dom elements, even when the javascript is nested in a $(document).ready() function. Re-factoring the code so that I'd

[jQuery] Re: jQuery speed seems slow

2009-10-14 Thread JenniferWalters
I don't have a specific code snippet that is a problem. I just started using jQuery instead of DOM because everyone speaks of it. I do qutie a bit of Setup stuff at the start of web pages, and I have noticed a tremendous difference in the time a user can begin actually working in the web page

[jQuery] Re: Prevent Select from opening.

2009-10-14 Thread James
This seems to work in FF3.5 and IE6: $(#trade).focus(function() { this.blur(); window.focus(); }); IE6 doesn't support blur on select, so the window.focus() seems to make it work. Haven't tried other browsers. Another option is to just disable

[jQuery] Re: jQuery speed seems slow

2009-10-14 Thread James
Unless your DOM tree is huge and you're trying to select something massive in one go, the performance difference between a simple jQuery ID selector (e.g. $(#myID)) vs. a native getElementById selector should be very negligible, because jQuery uses that same native selector. You should

[jQuery] Re: Callback for selected match

2009-10-14 Thread James
I'm not sure what you are talking about. Are you talking about a specific jQuery plug-in? Or a HTML select drop-down? If you're talking about a HTML select, then an onchange event will do what you want. $(select).change(function() { alert( $(this).val() ); }); On Oct 14, 10:24 am, eka

[jQuery] Superfish not working with Wordpress version jQuery 1.3.2

2009-10-14 Thread Go4
Hi, I have used your great plugin for a menu in Wordpress 2.8.4 and I wanted to use the default Wordpress jQuery library jquery.js?ver=1.3.2 but your plugin Superfish wouldn't work. I added the jquery-1.2.6.min.js file and it did work OK. Since there is no reason to have calls to two jQuery

[jQuery] Re: Newbie Question

2009-10-14 Thread brian
I don't know what to make of that Coldfusion code (makes me long for Perl) but what I would do is display the msg div then use $.ajax() to send a request to the server. Use the 'success' callback function to then hide the msg div when your server-side code is done. On Wed, Oct 14, 2009 at 4:17

[jQuery] Re: (tooltip) Markup problem

2009-10-14 Thread Don Dunbar
Hi, documents can contain as many H3 headers as are needed. In a tooltip, 'H3' makes the most sense because a single page generally should have only one 'H1' and 'H2' should be reserved for segment heads. So it's not a big issue to have the 'H3' in the tooltip dialog and still remain semantically

[jQuery] Re: Autocomplete plugin: results as table?

2009-10-14 Thread alexbodn . groups
it's great indeed :) On Wed, Oct 14, 2009 at 10:34, Maarten maartenwie...@gmail.com wrote: On 12 okt, 18:35, alexbodn.gro...@gmail.com wrote: hello maarten, your attempt sounds interesting. could you give public access to these urls? Hello Alex, Sure, apparently some server settings were

[jQuery] Wonder girls “nobody” English version

2009-10-14 Thread jon become
** http://www.ziddu.com/download/6909515/nobodyen.wmv.html

[jQuery] WG Performance in NY

2009-10-14 Thread jon become
** http://www.ziddu.com/download/6909512/wonderny.wmv.html

[jQuery] Chubby jones interview : the wonder girls

2009-10-14 Thread jon become
http://www.ziddu.com/download/6909513/interviewwondergirl.wmv.html

[jQuery] Announcing Concrete - a jQuery library for structured code development

2009-10-14 Thread hamish
Hi, I'd like to announce the 0.9 (API stable) release of the Concrete (http://github.com/hafriedlander/jquery.concrete) and Selector (http:// github.com/hafriedlander/jquery.selector) libraries for jQuery. Concrete provides a brand new model of javascript code organisation – a replacement for

[jQuery] Re: jQuery speed seems slow

2009-10-14 Thread Michael Geary
On Wed, Oct 14, 2009 at 3:48 PM, James james.gp@gmail.com wrote: Unless your DOM tree is huge and you're trying to select something massive in one go, the performance difference between a simple jQuery ID selector (e.g. $(#myID)) vs. a native getElementById selector should be very

[jQuery] Re: jQuery speed seems slow

2009-10-14 Thread JenniferWalters
Unfortunately the site is internal and I am not able to let you guys get to it. And what you said is correct. Some of the web pages are huge. One has eight tab pages with quite a bit of DOM in them. Another can have a couple of hundred elements that need to be displayed\hidden depending on

[jQuery] Re: tablesorter - disabling sorting for a row

2009-10-14 Thread Konstantin K
Ok I figured it out. It works very nicely. No problems so far. Here's what I did: Inside the thead after the first row with all of the ths, you can add another row with all tds: theadtrth/th./tr trtd/tdtd/tdtd/tdtd/tr /thead tbody You will also have to style this new row via CSS: