[jQuery] Re: [autocomplete] Repeated AJAX search when selecting a returned value

2008-09-01 Thread Jörn Zaefferer
No, you aren't doing anything wrong. While the implementation may be less then optimal, the additional request is by design. It ensures that the selected value really is a valid match. If you consider that a bug, please file a ticket: http://dev.jquery.com/newticket Jörn On Fri, Aug 29, 2008 at

[jQuery] Autorefreshing DIV

2008-09-01 Thread Sir Rawlins
Good morning all, I have a requirement to automaticly refresh a DIV with some content from another URL every couple of seconds and was hoping to get your opinions on how this is best handled. For instance, I have a div which looks like this: div id=my_refreshable_div /div I dont need a full

[jQuery] Tabs ui links

2008-09-01 Thread Daniel Beard
Hi everyone, I am using jQuery UI tabs version 3.0. I am calling the tabs content via Ajax, but the links inside the tabs don't open inside the tabs, instead they load into a new page. Is there any way to make my links load via Ajax into the current tab? Thanks, Daniel

[jQuery] Plugin developement

2008-09-01 Thread mwk
Hi @ all, i have a problem with the understanding of public methods of an plugin. Specialy how to create and link them to the plugin. For example: code ;(function($) { $.fn.pluginname = function(options) { var _options = $.extend( {

[jQuery] enable/disable to text inputs with checkbox

2008-09-01 Thread Robert Rawlins
Good afternoon guys, I'm pretty much a jQuery novice and I'm looking for your advice on how to achieve this task. I have two input fields which I want to be disabled by default, with a checkbox which is checked. Then, if a user unchecks the checkbox it will enable the two fields for them to

[jQuery] Start page load with collapsed DIV

2008-09-01 Thread Boersnoes
Hi, Is it possible to have a div collapsed at/before page load so I can neatly unfold it on page load? Currently before my form's submit, I slideToggle the result container, add some loading text to it, slideToggle it again and submit the form. All smooth and quick. Now when the page comes back

[jQuery] No response with jQuery Form Plugin in Opera

2008-09-01 Thread Uznick
I have a form, that uploads a file. It is initialized by the following code: $(document).ready(function() { $('#image_upload_button').click(function() { $('#imageform_step1').ajaxSubmit({ beforeSubmit: function(formData, jqForm, options) { alert('sending'); },

[jQuery] Sorting mixed data

2008-09-01 Thread swaroop
Hi all, Currently i am working on tablesorter plugin with jqery to sort column values in a table. My problem is when there is mixed data in a column like some numbers and - (when there is no data to display) its sorting the digits treating as string. e.g. in a column if the values are 7, 12,

[jQuery] Re: Mouseover /Mouseout div issue

2008-09-01 Thread MikeyJ
Perfect! Thx for the prompt reply! On Aug 31, 6:35 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Try using the mouseenter and mouseleave special events. $(...).bind('mouseenter mouseleave', function(event) {   if ( event.type == 'mouseenter' ) {     // just entered   } else {     // just left

[jQuery] Re: How to retrieve jQuery.query?

2008-09-01 Thread Tzury
jQuery.fn.find=function( selector ) {   this.query=selector;  //this is the only line you have to modify   var elems = jQuery.map(this, function(elem){     return jQuery.find( selector, elem );   });   return this.pushStack( /[^+] [^+]/.test( selector ) || selector.indexOf(..) -1 ?    

[jQuery] Re: Cycle plugin: more then elements in slideExpr:

2008-09-01 Thread ppblaauw
Thanks, That solves it all Will put some examples on http://ddblock.myalbums.biz Philip On Aug 31, 8:33 pm, Mike Alsup [EMAIL PROTECTED] wrote: Is it also possible to use the CSS selectors to select images in a certain class or ID? div class=cycle-images img class='cycle' ...

[jQuery] Nested Selectors

2008-09-01 Thread SeanCurtis
Hi Guys, Just wondering how many times you can nest selector functions like parent, not, has, etc I tried the following... $ (.someDiv .someSpan:parent(:has(input:checked))).addClass(hasSelectedCB); and $ (.someDiv .someSpan:parent(:has(input:not(:checked.addClass(notSelectedCB); The

[jQuery] Question about the new jQuery website

2008-09-01 Thread Feed
Hello all, About the new jQuery website, you noticed that it has 3 blue links: - Lightweight Footprint - CSS3 Compliant - Cross-browser When you hover, it displays a box that stays above the link. I was looking into the code when I found this: //cta tooltips if($.browser.msie){

[jQuery] Access Ajax content with jquery DOM

2008-09-01 Thread Saurabh Sharma
Hi, Is there any way to access the DOM of ajax result ???... Like ... I want to access $(#mydiv2).html() . where mydiv2 is in html file which is loaded using ajax... (my ajax result is html). I have one more question is it possible to put below code in my ajax file (which I am going to

[jQuery] XML manipulation

2008-09-01 Thread ChenKaie
Dear all, is that possible to get a nodevalue including full tags , not merely text.. eg, I have the following xml data, - catalog cd title empire burlesque /title artist bob dylan

[jQuery] Re: best techniques to optimize loading of multiple libraries?

2008-09-01 Thread Alex Weber
Thanks a million Mike! I hated that code but wasn't sure how to make it better... :) So just to clear things up, you prefer using document.write() to insert script tags instead of appending the elements to the DOM: var finan = document.createElement('script'); finan.type =

[jQuery] Re: Autorefreshing DIV

2008-09-01 Thread Boersnoes
You could probably start with the jquery.timer plugin (http:// plugins.jquery.com/project/Timer) And use the $(selector).html() method to fill it up. Boris Sir Rawlins wrote: Good morning all, I have a requirement to automaticly refresh a DIV with some content from another URL every couple

[jQuery] Re: How to retrieve jQuery.query?

2008-09-01 Thread Ariel Flesler
prevObject is internal, you don't need to know about it. Just use end() instead. -- Ariel Flesler http://flesler.blogspot.com/ On Sep 1, 9:19 am, Tzury [EMAIL PROTECTED] wrote: jQuery.fn.find=function( selector ) {   this.query=selector;  //this is the only line you have to modify   var

[jQuery] Re: No response with jQuery Form Plugin in Opera

2008-09-01 Thread Mike Alsup
I have a form, that uploads a file. It is initialized by the following code: $(document).ready(function() { $('#image_upload_button').click(function() {             $('#imageform_step1').ajaxSubmit({                 beforeSubmit: function(formData, jqForm, options) { alert('sending'); },

[jQuery] Re: No response with jQuery Form Plugin in Opera

2008-09-01 Thread Mike Alsup
http://localhost/dev/j/malsup/form/file-upload-test.html Oops. http://malsup.com/jquery/form/file-upload-test.html

[jQuery] Re: Best practices - js includes, plugins, greasemonkey

2008-09-01 Thread Alex Weber
this thread might shed some light on your problem! :) http://groups.google.com/group/jquery-en/browse_thread/thread/f4277815d73f06ca?hl=en On Aug 14, 7:50 pm, mickes [EMAIL PROTECTED] wrote: Can the jquery powerusers shed some light onbestpractices for using multiple plugins and or any

[jQuery] focus() in IE?

2008-09-01 Thread Boersnoes
Hi, Today I noticed the focus() doesn't work in IE. Can anybody confirm this or (even better) know how to fix it? Boris

[jQuery] Re: Sorting mixed data

2008-09-01 Thread Joanna Kane
Man i need that two but i don't find anything. I want to autoscroll images in my carousel in randome mode but neahhh i can't get this to work. If you can help me please send me an email with some details or something.Tnx a lot man.

[jQuery] Hovers that appear from top

2008-09-01 Thread Marcin
Hi all, I am looking for similar widget that I sow in ExtJS library. For example here: http://www.extjs.com/deploy/dev/examples/message-box/msg-box.html first click: Show button, and than confirm the box. After that on the top of the page animated hover will appear with the text: Button Click

[jQuery] Re: Hovers that appear from top

2008-09-01 Thread Feed
Take a look at: http://ui.jquery.com and http://plugins.jquery.com/project/Plugins/category/43 But I must say that, unfortunately, extJS is much better when it comes to UI elements On Sep 1, 10:10 am, Marcin [EMAIL PROTECTED] wrote: Hi all,   I am looking for similar widget that I sow in

[jQuery] Re: Selecting same img using 2 selectors, but both doesn't return same value doesnt equal each other :S !

2008-09-01 Thread Richard D. Worth
You're comparing two jQuery objects which are not equal, even if they contain the same DOM Element. To do the comparison, access the first (and presumably only) DOM Element in each one by using .get(0) or [0], then compare the actual DOM Elements. - Richard On Sun, Aug 31, 2008 at 7:14 PM,

[jQuery] Re: focus() in IE?

2008-09-01 Thread GasGiant
It works for form elements in IE. FF has implemented support for focus throughout the DOM, I believe, but not IE. On Sep 1, 9:06 am, Boersnoes [EMAIL PROTECTED] wrote: Hi, Today I noticed the focus() doesn't work in IE. Can anybody confirm this or (even better) know how to fix it? Boris

[jQuery] Re: Access Ajax content with jquery DOM

2008-09-01 Thread GasGiant
Put the js that you want to run on Ajax-loaded elements into the callback method, such as ajaxStop()

[jQuery] Re: Start page load with collapsed DIV

2008-09-01 Thread GasGiant
How about loading it hidden and using a setTimeout($ ('#div_id').toggle(), 500) to open it a little while later?

[jQuery] Re: Question about the new jQuery website

2008-09-01 Thread SeanCurtis
I know that IE (6 and 7) both have issues with opacity with regards to content inside the opacity-changing container. If the content has bold text (IE6 and 7) or transparent PNG images there can be display issues - the font is rendered without it's anti-aliasing (eg. cleartype) and the image is

[jQuery] Re: Having trouble with date picker in AJAX div

2008-09-01 Thread GasGiant
Why not use jQuery to handle the Ajax for you with a simple .load() call and then put the date picker initialization code into a callback method such as ajaxStop() so that it executes after the Ajax is loaded. As it is now it looks like, when the datepicker() is run, your Ajax-loaded bits are not

[jQuery] Re: enable/disable to text inputs with checkbox

2008-09-01 Thread Karl Swedberg
This is very generic, so you'll have to be more specific with your selectors, but it should give you an idea of how to do this: $(document).ready(function() { $('input:checkbox').click(function() { if ($(this).is(':checked')) { $('input:text').val('').attr('disabled', true); }

[jQuery] Re: Question about the new jQuery website

2008-09-01 Thread Joel Birch
That's all correct about IE. In this case however, it seems like the reason for the if/else is for the benefit of Mac Firefox 2. In that browser, the weight of the text appears to alter suddenly whenever it's opacity shifts between 0 and 0.0001, and also between 0. and 1. The else block

[jQuery] Re: enable/disable to text inputs with checkbox

2008-09-01 Thread Robert Rawlins
Hi Karl, This is very generic, so you'll have to be more specific with your selectors, but it should give you an idea of how to do this: $(document).ready(function() {   $('input:checkbox').click(function() {     if ($(this).is(':checked')) {       $('input:text').val('').attr('disabled',

[jQuery] Cloning a table row.

2008-09-01 Thread Adam Asham
Cloning a table row. Hello I am new to jquery I have a problem with cloning a table row. It gets messed up if the method is called more than once. The information is added several times in a row. The html-code is merely used as markup, template information in this case. all content is added

[jQuery] Cloning a table row.

2008-09-01 Thread Adam Asham
Hello I am new to jquery I have a problem with cloning a table row. It gets messed up if the method is called more than once. The information is added several times in a row. The html-code is merely used as markup, template information in this case. all content is added through jquery and

[jQuery] doc website down again

2008-09-01 Thread matt knapp
so frustrating. I will pay the money necessary to move it to a reliable host. $100 a year?

[jQuery] Unwantet content in htlm when using jQuery in mobile browser

2008-09-01 Thread vttanhua
Hi, I'm using jquery for generating web pages, but in mobile browser(in E70 phone) following content appears in the resulting html at least when using calendar component or when using load(url) function to embed content into page from jsp page: function(m, all, tag){return

[jQuery] Re: jQuery Forum

2008-09-01 Thread dbzz
some people actually prefer emails. ( i'm not one of them ) but, no problem, i just signed up here: http://groups.google.com/group/jquery-en/subscribe and checked the 'no emails' option. then you can view threads like this:

[jQuery] Re: Possible animate (negative) bug w/ Firefox 2

2008-09-01 Thread maksik
Hi, I have exactly same problem! I'm creating kind of gallery: http://banners-dev.nana.co.il/Temp/Slider.html And in FF2 have this strange jumping problem...

[jQuery] Re: Clash between jQuery UI datepicker 1.5.2 and an ASP.net 3.5 CustomValidator

2008-09-01 Thread tekanet
This doesn't work for me: I can't set the onSelect with that syntax, I tried with .bind(onSelect,function(){}) but nothing. Maybe we're using different components.. mine is this: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ A further explanation will be much appreciated! On Aug

[jQuery] refreshing clueTip

2008-09-01 Thread Eric
Hi there, I'd like to refresh a tooltip I am looking at. It is a default tooltip activated by mouseover. When clicking at the hovered element, I have to change the tooltip-content. This is very easy, I just have to change the title-attribute and call $(element).cluetip() again. But I have to

[jQuery] tablesorter data excepts

2008-09-01 Thread [EMAIL PROTECTED]
hi guys, i'm using the tablesorter plugin. Does anybody know how to exclude table rows. because i habe a table like this tr th class=head1/th th class=head2/th /tr /tbody tr class=basicinfo td/td td/td /tr tr class=subhead td/td td/td /tr tr class=details td/td td/td /tr rows with class

[jQuery] Re: Possible animate (negative) bug w/ Firefox 2

2008-09-01 Thread maksik
A little addition to my previous post: You can experience the bug while scrolling few times to the left and then back to the right.

[jQuery] Re: tablesorter data excepts

2008-09-01 Thread aquaone
look into the repeat headers example widget. it should give you a good starting place. stephen On Mon, Sep 1, 2008 at 9:43 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi guys, i'm using the tablesorter plugin. Does anybody know how to exclude table rows. because i habe a table like

[jQuery] Re: Using Validate with jqGrid

2008-09-01 Thread Tony
Hello, There is email checking in the last version. As for the ajax you can use beforeSubmit event for this purpose Regards Tony On Aug 31, 10:30 pm, Steffan A. Cline [EMAIL PROTECTED] wrote: on 8/31/08 12:50 AM, Tony at [EMAIL PROTECTED] wrote: Hello, The grid has build in

[jQuery] Re: Possible animate (negative) bug w/ Firefox 2

2008-09-01 Thread maksik
Well, I think I found the source of the problem, but don't know exactly what to do with it. There is a function in JQ named curCSS, it used to retrieve actual element style value. To get properties like right or left in mozilla it uses the following statement : defaultView.getComputedStyle(

[jQuery] Re: Selecting same img using 2 selectors, but both doesn't return same value doesnt equal each other :S !

2008-09-01 Thread Mahmoud M. Abdel-Fattah
Oh, finally it works :) thanks a lot man, really thanks a lot cause I spent a lot of time on it and couldn't fix it :) Mahmoud On Sep 1, 4:56 pm, Richard D. Worth [EMAIL PROTECTED] wrote: You're comparing two jQuery objects which are not equal, even if they contain the same DOM Element.

[jQuery] Question about hiding table

2008-09-01 Thread jjsanders
Hello everyone, I was trying out this example (http://www.webdesignerwall.com/demo/ jquery/accordion1.html) and building further on it but I got stock somewhere. I have the exact same structure, but within the p element two child elements (Span and table). Now the span is hides like the rest

[jQuery] Re: Sorting mixed data

2008-09-01 Thread cursed
On Sep 1, 9:00 am, swaroop [EMAIL PROTECTED] wrote: Hi all,   Currently i am working on tablesorter plugin with jqery to sort column values in a table. My problem is when there is mixed data in a column like some numbers and - (when there is no data to display) its sorting the digits

[jQuery] Re: jQuery uploading. Data type question.

2008-09-01 Thread Alexandre Plennevaux
McBilly, my serverside code wouldn't help you its bloated with other stuff, but basically: if you set the datatype to json, you must echo your data like this echo '{ myVar : this is my value}'; if you set it to xml, then it would be something like: echo 'myVarthis is my value/myVar'; if you

[jQuery] Re: Problem with taconite

2008-09-01 Thread alaiz007
Thanks Mike You found the bug J-M On 1 sep, 03:43, Mike Alsup [EMAIL PROTECTED] wrote: I see that but if you test on my web test page there is a bug a href=http://www.olympsport.be/contacts6;test page/a Click on the lock icon on the right and after on the button password oublié and

[jQuery] strange .toggle() behavior

2008-09-01 Thread Prairie Dogg
Hi jQuery community, I hit an interesting situation with jQuery today where the toggle() method exhibited some strange behavior. Show / hide methods inside the toggle() worked fine, but the setting and removing the clicked attribute on the checkbox to which the toggle was bound did not. I

[jQuery] descendants

2008-09-01 Thread matt knapp
I have some table rows: table tr class=tableRowtd/tdtd/tdtddivBlah divinput=checkbox id=mycheckname_4343/div/div/td tr class=tableRowtd/tdtd/tdtddivBlah divinput=checkbox id=mycheckname_3422/div/div/td tr class=tableRowtd/tdtd/tdtddivBlah divinput=checkbox id=mycheckname_3243/div/div/td /table

[jQuery] Re: Question about hiding table

2008-09-01 Thread Adam Asham
You can't have a table inside of a paragraph - the paragraph is automatically closed when the table tag starts! Until you know html inside out, always run your documents through a html validator would be my tip. :-) On 1 Sep, 23:03, jjsanders [EMAIL PROTECTED] wrote: Hello everyone, I was

[jQuery] Problem with Superfish and Cycle Plugin

2008-09-01 Thread Lex
Hi, Not sure if this is the right place to send this... I'm using the Cycle plug-in for creating a slideshow and I have the Superfish menu plug-in on the side. The problem is when one of the sub-menus are opened, they go behind the slideshow... not good Any suggestions? Thanks, Lex [EMAIL

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread me-and-jQuery
Hi Brad. Here I can see the same hint as micah was talking about (unbind and then bind). Or do you have any other solution in mind? Thanks. On Aug 31, 2:51 am, Brad [EMAIL PROTECTED] wrote: Have a look at the article athttp://www.learningjquery.com/2008/05/working-with-events-part-2.

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread tony luo
If there is a ajax call, I will use Loading... modal dialog to cover the parent till the call finished. Maybe it will help you. On Tue, Sep 2, 2008 at 6:37 AM, me-and-jQuery [EMAIL PROTECTED]wrote: Hi Brad. Here I can see the same hint as micah was talking about (unbind and then bind). Or do

[jQuery] Proof of concept: Animated data grid/table jquery plugin with sorting and pagination and somewhat lightweight

2008-09-01 Thread num
My proof of concept http://www.overset.com/2008/08/30/animated-sortable-datagrid-jquery-plugin-jtps/ I haven't yet seen html scrolling animation like this non-flash or flex. This is essentially an unreleased jquery plugin that you can attach to an already created table that will allow for

[jQuery] Nesting if statements not working

2008-09-01 Thread hubbs
For some reason, when I am nesting if statements, it seems to bypass the first if, and go right to the second one, even if the value of #duplicateInput is more than 10. I want the statement to check to see if the input field has a number that is equal or less than 10, then, if it is, throw an

[jQuery] Re: Multiple AJAX calls problem

2008-09-01 Thread Brad
Basically, that article, and its Part 1 which is linked at its beginning, talk about the various ways to work around the behavior you are seeing. See http://docs.jquery.com/Frequently_Asked_Questions#Re-binding Yes that solution is mentioned. Even though micah's suggesting his is quick and dirty

[jQuery] Re: descendants

2008-09-01 Thread Jason Huck
$(this).find('input[id*=mycheckname]:first'); http://docs.jquery.com/Traversing/find#expr - jason On Sep 1, 5:27 pm, matt knapp [EMAIL PROTECTED] wrote: I have some table rows: table tr class=tableRowtd/tdtd/tdtddivBlah divinput=checkbox id=mycheckname_4343/div/div/td tr

[jQuery] Re: Nesting if statements not working

2008-09-01 Thread Karl Rudd
Just off the top of my head, the val() function returns a string, not a number. Convert the string to a number (parseInt() or parseFloat()) and things should work better. Karl Rudd On Tue, Sep 2, 2008 at 11:25 AM, hubbs [EMAIL PROTECTED] wrote: For some reason, when I am nesting if

[jQuery] Re: Nesting if statements not working

2008-09-01 Thread Jason Huck
One thing I would suggest is casting the .val() as an integer before comparing it: var dulicateCheck = parseInt($(#duplicateInput).val()); Otherwise it's doing a string comparison, which will throw off your results. - jason On Sep 1, 9:25 pm, hubbs [EMAIL PROTECTED] wrote: For some

[jQuery] Animate Query

2008-09-01 Thread [EMAIL PROTECTED]
Hey All, Im kind of new to all this jQuery stuff ... Im building a site at the moment and i want to put some jQuery in, but im not sure how to go about it. What i want to do is wait about 2 or 3 seconds after the page has loaded, fade in some text, wait another 2 or 3 seconds, then have it

[jQuery] Re: descendants

2008-09-01 Thread matt knapp
Thank you! On Sep 1, 9:29 pm, Jason Huck [EMAIL PROTECTED] wrote: $(this).find('input[id*=mycheckname]:first'); http://docs.jquery.com/Traversing/find#expr - jason On Sep 1, 5:27 pm, matt knapp [EMAIL PROTECTED] wrote: I have some table rows: table tr

[jQuery] New Google Browser announced

2008-09-01 Thread Geoffrey
http://news.cnet.com/8301-17939_109-10029974-2.html?tag=mncol;txt Looks like we have another browser to contend with.

[jQuery] Re: Problem with Superfish and Cycle Plugin

2008-09-01 Thread Joel Birch
Hi Lex, Sounds like a z-index stacking order issue. Ensure that the sub-menus have a higher z-index value than the elements of the slideshow. If the problem still remains, apply z-index to the parent elements also. Of course, z-index requires the element's position value to be anything but

[jQuery] Re: Finding form tag wrapping around image

2008-09-01 Thread Duncan
Ok Mike Thanks, here is the example of the code, with the issue in tact. http://www.sixfive.co.uk/jq1/ The XLS button is the key on this page - clearly there is no styling. The objective is to make the user is able to hit enter on the form, and have the 'Display Button' run the search form, NOT

[jQuery] Re: New Google Browser announced

2008-09-01 Thread Karl Swedberg
But since it uses Webkit, it shouldn't be too much different from Safari, right? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 1, 2008, at 10:44 PM, Geoffrey wrote: http://news.cnet.com/8301-17939_109-10029974-2.html?tag=mncol;txt Looks like we

[jQuery] Re: New Google Browser announced

2008-09-01 Thread Joel Birch
I use a bunch of Google apps and really like them so I'm looking forward to seeing what this browser has to offer. Webkit is a great start - I'm not worried about having to develop for it. No Mac version to begin with though :( Joel.

[jQuery] Re: New Google Browser announced

2008-09-01 Thread Geoffrey
Not sure what the part about the new javascript virtual machine means. The browser is being written with WebKit, the open-source engine at the core of Apple's Safari and Google's Android. The browser is also getting a new Javascript virtual machine, V8. It's said to be a better solution for