[jQuery] Re: question about dealing with JSON callback

2009-04-17 Thread dhtml
On Apr 16, 5:14 pm, mkmanning wrote: > As I said before: it's a string until it's eval'd, which happens with > the 'json' response type within jQuery, or as I said you can eval the Notice carefully what 'sneaks' used for his dataType: jQuery.post( "/wp/wp-admin/admin-ajax.php", {

[jQuery] need help with jqGrid

2009-04-17 Thread led
I' m trying to use the jquery jqGrid plugin but i can't see it working with ASP code. this is the xml generated file. 114 191 15 192 15 193 15 and this is the html: jqGrid Demo jQuery(document).ready(function

[jQuery] Re: help with jqgrid

2009-04-17 Thread Tony
Hello, The most common error when writing is the comma. You have colModel :[ {name:'id', index:'id', key:true, width:55}, {name:'cod_casa', index:'cod_casa', width:55}, <--- Error ], Remove the comma and will be ok Regards Tony On Apr 17, 3:12 am, led wr

[jQuery] Re: need help with jqGrid

2009-04-17 Thread Tony
Hello, Already replayed. Please check your code - you have a unneeded coma in colModel Regards Tony On Apr 17, 1:33 pm, led wrote: > I' m trying to use the jquery jqGrid plugin but i can't see it working > with ASP code. > this is the xml generated file. > > >   >   >   114 >     >       1

[jQuery] Re: help with jqgrid

2009-04-17 Thread Tony
Hello, Please see my previous mail, remove the comma at last item - ie. the col model should be colModel :[ {name:'id', index:'id', key:true, width:55}, {name:'cod_casa', index:'cod_casa', width:55} ], and not colModel :[ {name:'id', index:'id', key:true, width:55},

[jQuery] Re: [validate] invalidHandler is called before the errors are shown, maybe better vice versa?

2009-04-17 Thread Jörn Zaefferer
The suggestion makes sense, though there are probably also cases where the current order makes more sense, and changing it will cause other issues. Take a look at this tabs demo for an alternative implementation: http://jquery.bassistance.de/validate/demo/tabs/ Jörn On Fri, Apr 17, 2009 at 12:2

[jQuery] Re: help with jqgrid

2009-04-17 Thread Led
See it my friend, but i've changed and nothing On 17 Abr, 11:55, Tony wrote: > Hello, > Please see my previous mail, remove the comma at last > item - ie. the col model should be > >   colModel :[ >       {name:'id', index:'id', key:true, width:55}, >       {name:'cod_casa', index:'cod_casa', wi

[jQuery] Iframe auto height

2009-04-17 Thread Lauri B.
I can't find any cross browser solution for setting iframe height depending on its content.

[jQuery] Re: help with jqgrid

2009-04-17 Thread Led
Strange... this thing On 17 Abr, 12:00, Led wrote: > See it my friend, but i've changed and nothing > > On 17 Abr, 11:55, Tony wrote: > > > > > Hello, > > Please see my previous mail, remove the comma at last > > item - ie. the col model should be > > >   colModel :[ > >       {name:'id', index

[jQuery] Re: Creating custom attributes in html

2009-04-17 Thread RobG
On Apr 17, 3:34 pm, RobG wrote: [...] > OK, here is a dead basic proof of concept.  Of course it is nowhere > near production code, but I think you can see where it's going.  I > would wrap the entire thing in the module pattern, but I've just used > basic globals at this stage.  My intention i

[jQuery] Re: need help with jqGrid

2009-04-17 Thread Led
tony , check that is not that. On 17 Abr, 11:46, Tony wrote: > Hello, > Already replayed. Please check your code - you have a unneeded coma in > colModel > Regards > Tony > > On Apr 17, 1:33 pm, led wrote: > > > > > I' m trying to use the jquery jqGrid plugin but i can't see it working > > with

[jQuery] Adding properties to $.ajax(options)

2009-04-17 Thread blasto333
$.ajax({ type: "GET", url: prefix+url, success: script_saved, custom_property : someVar }); Is there anything wrong with this?

[jQuery] Re: Internet Explorer - my jQuery is not working

2009-04-17 Thread MorningZ
Somewhere there is a problem with your code or syntax without posting more information than "not working" or examples of what you are trying to do and how you are doing it makes it absolutely impossible for others to help you On Apr 17, 7:40 am, hybris77 wrote: > anyone aware of what is th

[jQuery] [autocomplete] Submit form on click result

2009-04-17 Thread dajaniel
Hi there, My jquery is pretty sketchy so I was wondering if anybody knew how to submit the form that the search field appears in on click of a result (after having populated the textfield and any other fields)? Not sure how to do this... Thanks! Dan.

[jQuery] How to select sub element text on clicking the parent element.

2009-04-17 Thread Kapse
Hi, I am newbie to the jquery. Please let me know, how i can do this. question1 answer1 question2 answer2 The question is.. Onclicking "question1", I should popup "answer1". window.onload = function() { $("#questions-

[jQuery] Validation plugin (bassistance.de) problem

2009-04-17 Thread Jonas
Example form: http://jquery.bassistance.de/validate/demo/milk/ (this is the demo for the script on bassistance.de) When it does 'live' validation (on blur) it tells the user if the field is correct or incorrect. When you fill in the first field, tab to the next field, go back to the previous (all

[jQuery] Help choosing JavaScript library

2009-04-17 Thread dnagir
Hi, I know.. probably a bit naive but still. Sorry if something... Guys, can you please help me to choose JS library and say your experienced opinion on each one: http://dnagir.blogspot.com/2009/04/javascript-library-survey.html Much appreciated and many thanks in advance! Dmitriy.

[jQuery] Re: jQuery problem in php

2009-04-17 Thread Jonathan Vanherpe (T & T NV)
JACK3985 wrote: hi all,i face some problem in php,when i using html2php (http:// www.quasarcr.com/html2php/ ) convert my html code to php the jquery scrollTop will not work. Forgive me for asking, but why would you even do such a thing? Anyway, the best you can do is view the source of the pag

[jQuery] Re: Validation plugin (bassistance.de) problem

2009-04-17 Thread Jörn Zaefferer
The behaviour is described here: http://docs.jquery.com/Plugins/Validation/Reference#Validation_event Jörn On Fri, Apr 17, 2009 at 10:46 AM, Jonas wrote: > > Example form: http://jquery.bassistance.de/validate/demo/milk/ > (this is the demo for the script on bassistance.de) > > When it does 'li

[jQuery] Re: tabs collapsed by default on open

2009-04-17 Thread robintrain...@yahoo.com
THANK YOU SO SO MUCH! On Apr 16, 7:29 pm, Klaus Hartl wrote: > On 16 Apr., 20:38, "robintrain...@yahoo.com" > wrote: > > > Hello everyone. Is there a way to have tabs created in jQuery that are > > collapsed when the page loads? I use this: > > > $(document).ready(function(){ > > $("#tabs").tab

[jQuery] Re: help with jqgrid

2009-04-17 Thread Led
i'm happy to contact with you. You have done a great job with this plugin , but i can't see it working. See the sample in http://realferias.com/jqgrid_demo.htm I'm trying to implement this in a project but the basic sample is not working. Again , please... On 17 Abr, 11:41, Tony wrote: > Hello,

[jQuery] Re: can jquery capture these events all in one: user closes browser window/tab, or leaves my domain?

2009-04-17 Thread Raja Koduru
On Fri, Apr 17, 2009 at 3:25 AM, Govinda wrote: > > Hi all, > > I am brand new here.  Except for quick installs of pre-written scripts > over the years, I have very little experience of javascript (do we use > the acronym "js" here?)  I have written in visual basic (I was last > semi-fluent with

[jQuery] Re: How to select sub element text on clicking the parent element.

2009-04-17 Thread Raja Koduru
* var answer_text = $("ul li", this).text(); alert("answer is " + answer_text); does this help? -raja koduru

[jQuery] [validate] invalidHandler is called before the errors are shown, maybe better vice versa?

2009-04-17 Thread snobo
Hi Jörn, incredibly awesome plugin you've made, thanks a million! Started to explore and using it, and stumbled onto situation. In my invalidHandler, I'm trying to access the first input which is marked as invalid (in order to ensure that it is visible - my form is split on tabs, and I need to s

[jQuery] Re: [autocomplete] Submit form on click result

2009-04-17 Thread Raja Koduru
Dan, Do you want an ajax post or form submit Can you provide some information on what you are looking for? - raja koduru On Fri, Apr 17, 2009 at 4:44 PM, dajaniel wrote: > > Hi there, > > My jquery is pretty sketchy so I was wondering if anybody knew how to > submit the form that the search fie

[jQuery] Re: Adding properties to $.ajax(options)

2009-04-17 Thread Raja Koduru
don't see any.. what is the error you are experiencing? - raja koduru On Fri, Apr 17, 2009 at 5:30 PM, blasto333 wrote: > > $.ajax({ > type: "GET", > url: prefix+url, > success: script_saved, > custom_property : someVar > }); > > Is there anything wrong with this?

[jQuery] Internet Explorer - my jQuery is not working

2009-04-17 Thread hybris77
anyone aware of what is the problem with my jQuery code that makes it nor run in IE? are there particular issues to be aware of? /pär

[jQuery] Re: Setting a newly inserted option as the selected option

2009-04-17 Thread Raja Koduru
$("#refSelectBox option[text^=" + author + "]").attr("selected","selected"); I guess the above is doable. let me know. - raja koduru On Thu, Apr 16, 2009 at 11:16 PM, Nando wrote: > > I'd like set a newly inserted option in a select box as the selected > option. I'm trying to use jQuery to sele

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-17 Thread Tom Worster
On 4/16/09 6:44 PM, "tatlar" wrote: > So, I got around this by creating another JSON file that is just an > array of station names. Autocomplete now parses this just fine, and my > first field is completed. The next part was more tricky - how to > populate the second input field based on the num

[jQuery] Re: .navButtonAdd Quick Question...

2009-04-17 Thread Raja Koduru
Can you provide more details. Feels like doable just by fiddling with class attribute -- raja koduru On Thu, Apr 16, 2009 at 9:40 PM, briandus wrote: > > Hi there - I'm adding a custom button using the .navButtonAdd > function. I see that there is an option for an image, but I'm > wondering if

[jQuery] Re: [autocomplete] Submit form on click result

2009-04-17 Thread Tom Worster
On 4/17/09 7:14 AM, "dajaniel" wrote: > My jquery is pretty sketchy so I was wondering if anybody knew how to > submit the form that the search field appears in on click of a result > (after having populated the textfield and any other fields)? Not sure > how to do this... check out the documen

[jQuery] Re: Error messages is repeating !!

2009-04-17 Thread Raja Koduru
name collision could be a reason like a function and a variable(non function) having same name..and you try to call the variable provide more info on the problem you are facing -- raja koduru On Thu, Apr 16, 2009 at 9:02 PM, akmsharma wrote: > > Hi , > > > Frnds I had encountered a unusual pr

[jQuery] Re: [validate] invalidHandler is called before the errors are shown, maybe better vice versa?

2009-04-17 Thread snobo
Hmm, interesting alternative solution! Thanx, I will consider this. Well, if you are sure there WILL be issues, let it be, although purely theoretically for me it seems more logical to have invalidHandler being run at the moment where errors are shown. cheers On Apr 17, 1:55 pm, Jörn Zaefferer

[jQuery] Re: Validation plugin (bassistance.de) problem

2009-04-17 Thread Tom Worster
i also detected some difference between the demo's behavior and the docs. i'm not sure what sequence of ui actions led to the result in the attached png but i've seen it twice now. On 4/17/09 8:17 AM, "Jörn Zaefferer" wrote: > > The behaviour is described here: > http://docs.jquery.com/Plugins/

[jQuery] [validate] remote vs depends

2009-04-17 Thread snobo
I've been trying to use remote method coupled with depends, like this: remote: { depends: function(element) { element.value = $.trim(element.value); return element.defaultValue != element.value; }, url: 'my.php', type: 'post', data: { action: 'check_user_name' } }

[jQuery] Re: [validate] invalidHandler is called before the errors are shown, maybe better vice versa?

2009-04-17 Thread Jörn Zaefferer
Sure, it makes sense. Its just not that easy a descision to change something in a stable API. Jörn On Fri, Apr 17, 2009 at 2:55 PM, snobo wrote: > > Hmm, interesting alternative solution! Thanx, I will consider this. > > Well, if you are sure there WILL be issues, let it be, although purely > t

[jQuery] Re: Adding properties to $.ajax(options)

2009-04-17 Thread blasto333
There is not an error, I was just wondering if this is frowned upon. On Apr 17, 8:32 am, Raja Koduru wrote: > don't see any.. > what is the error you are experiencing? > > - raja koduru > > On Fri, Apr 17, 2009 at 5:30 PM, blasto333 wrote: > > > $.ajax({ > > type: "GET", > > url: prefix+url, >

[jQuery] Re: Adding properties to $.ajax(options)

2009-04-17 Thread blasto333
There is not an error, I was just wondering if this is frowned upon. On Apr 17, 8:32 am, Raja Koduru wrote: > don't see any.. > what is the error you are experiencing? > > - raja koduru > > On Fri, Apr 17, 2009 at 5:30 PM, blasto333 wrote: > > > $.ajax({ > > type: "GET", > > url: prefix+url, >

[jQuery] Re: [validate] remote vs depends

2009-04-17 Thread Jörn Zaefferer
This is indeed a bug, in this case something never tested for. Is using required: function() {} together with remote an option? Jörn On Fri, Apr 17, 2009 at 3:03 PM, snobo wrote: > > I've been trying to use remote method coupled with depends, like this: > > remote: { >        depends: function

[jQuery] Re: Works in IE7 but not IE6

2009-04-17 Thread slycreations
> That's what I have now: a simple jQuery action and as far as IE6 is > concerned it is not there at all. At this point, the issue could be related to jQuery itself, or to the css for mainDiv. That's why I recommended something simple like an alert, so that you could determine if the issue is act

[jQuery] Re: [validate] remote vs depends

2009-04-17 Thread snobo
well, I don't see how required can help me... what I want is to make a remote call/check ONLY under certain circumstances. Plus, this field is "constantly"-required already anyway... actually, now I think there might be various workarounds, e.g. creating a custom method, which would check the con

[jQuery] Re: Internet Explorer - my jQuery is not working

2009-04-17 Thread hybris77
morningZ, you are very correct however what im after is particular things not fully compatible with IE 7 for example, maybe there's a guide or something stating those issues if anyone knows, please message me /pär On 17 Apr, 14:05, MorningZ wrote: > Somewhere there is a problem with your cod

[jQuery] jQuery AIR stripped

2009-04-17 Thread Spot
Someone might have already asked this, but I could not find anything. Has there been any thought given to providing a dist of jQuery which has all cross-browser functionality and checks stripped, specifically for AIR? While those checks are limited and as streamlined as possible, would it not

[jQuery] Re: jQuery AIR stripped

2009-04-17 Thread Andy Matthews
Interesting concept. I doubt that the jQuery team itself would approach that project as it would require forked code, but it might be a fun project for an individual. andy -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Spot Sent: Fr

[jQuery] Re: [validate] remote vs depends

2009-04-17 Thread Jörn Zaefferer
Ok, that makes it a bit more difficult. For a workaround, try something like this: $.validator.addMethod("customRemote", function(value, element) { if (!remoteRequired(element) { return "dependency-mismatch"; } return $.validator.methods.remote.apply(this, arguments); }, $.validator.mes

[jQuery] Re: jQuery AIR stripped

2009-04-17 Thread Spot
Yeah, I can see why they would not be interested, but it might be pretty easy to mark cross browser checks, so that they can be parsed out. It wouldn't allow you to strip everything, but would think the browser checks could possibly be stripped. However I could be completely off. :) Andy Ma

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread Karl Swedberg
Thanks a lot for bringing this to my attention. I'm working on this one now. I think I have something in place, but need to test it. Basically, all the ajax callback functions will execute the one passed in through the options object first, before anything that needs to be done within the p

[jQuery] Re: cluetip IE8 very slow adding to table rows

2009-04-17 Thread Karl Swedberg
Not sure what's going on there, to be honest. I'll have to take a look as soon as I find some more time. It might just be that binding cluetip to a whole lot of elements won't work. I've used event delegation to get around this sort of problem with other plugins, but unfortunately I can't d

[jQuery] Re: need help with jqGrid

2009-04-17 Thread Tony
Hello, The version of jquery 1.3.1 that you use is not compatible with jqGrid version 3.4 Download the latest 3.4.3 version of jqGrid On Apr 17, 2:51 pm, Led wrote: > tony , check that is not that. > > On 17 Abr, 11:46, Tony wrote: > > > Hello, > > Already replayed. Please check your code - yo

[jQuery] Re: How to rotate image (in degrees)?

2009-04-17 Thread banacan
Isn't there someone who knows of such a plugin, or a means to accomplish what I need? On Apr 16, 8:37 am, banacan wrote: > Is there a jquery plugin that will allow an image to be rotated by say > 90 - 180 degrees?  I'm using it in my background (multiple times) and I > want it to appear in diffe

[jQuery] Re: Internet Explorer - my jQuery is not working

2009-04-17 Thread Olivier Percebois-Garve
hybris77 half of the web resources about web development is about issues related to IE. jQuery is correcting quite a few of them. Now you are having a specific issue with IE7, this is no surprise but there is no way to guess what it is. If you don t describe your issue, as morningZ said, th

[jQuery] Re: passing more than 1 param via click()?

2009-04-17 Thread kgosser
Here's a better example with HTML. See, I said it was hard to explain in the first place :). Ok, so basically think of this as a list of things where the HTML is always going to be the same, but there could be between 1 and N rows. I'm trying to remove the onClick, and target just the link's clas

[jQuery] Re: jQuery script simplification question

2009-04-17 Thread Calvin Stephens
Hi Richard, Thanks for taking time out of your schedule to help me learn how to write simplified code! Cheers, Calvin On Thu, Apr 16, 2009 at 9:47 PM, Richard D. Worth wrote: > You only need one document.ready, and there's a shorthand: > > $(function() { > >   $("li.one").click(function() {

[jQuery] Re: [validate] remote vs depends

2009-04-17 Thread snobo
Thanx a ton for the ultra-quick reply & help! Worked like a charm, I did it like this: rules.UserName = { xRemote: { condition: function(element) { element.value = $.trim (element.value); return element.defaultValue != element.value; },

[jQuery] Re: help with jqgrid

2009-04-17 Thread Led
please tony , help me with that. I've made the change and still not working . Maybe i have to drop the plugin? On 17 Abr, 11:55, Tony wrote: > Hello, > Please see my previous mail, remove the comma at last > item - ie. the col model should be > >   colModel :[ >       {name:'id', index:'id', key

[jQuery] Re: remote vs depends

2009-04-17 Thread snobo
huh, only one minor thing... wicked things happen to the error messages. I specify a message for my input in the validate() call: messages: { UserName: { required: " ", remote: 'User name already exists or invalid'

[jQuery] Re: Creating custom attributes in html

2009-04-17 Thread roger
Josh, Since you aren't creating nodes, why not wait until after you insert the string of html onto the page, at which point you will have access to those nodes, so you can loop through them and set all of the corresponding properties on them using .data() or just the usual document.getElementById(

[jQuery] Re: How to rotate image (in degrees)?

2009-04-17 Thread Richard D. Worth
This is going to require canvas. So a google search for 'rotate image javascript canvas' turned up: http://snippets.dzone.com/posts/show/5514 http://code.google.com/p/jquery-rotate/ http://wilq32.googlepages.com/wilq32.rollimage222 - Richard On Fri, Apr 17, 2009 at 10:44 AM, banacan wrote: >

[jQuery] CTRL+S to Insert Record PHP+JQUERY

2009-04-17 Thread bharani kumar
Hi , Can u tell me , i have to create any div ID ? , Or simply paste this code ? jQuery(function($) { var pressed = {}; $(document).keydown(function(event) { // Capture the key being pressed var keyCode = event.keyCode; pressed[keyCode] = true; // Check if 'S' was pressed if (83 == keyCode

[jQuery] Re: Autocomplete problems with multiple fields

2009-04-17 Thread Tom Worster
On 4/16/09 2:50 PM, "Lance A. Brown" wrote: > I'm working on adding autocomplete to a form which describes a > discussion paper. Each paper can have multiple authors and I want to > provide autocomplete on the author names. I'm new to jQuery so this > code is kind of rough. > > My java script

[jQuery] fadeOut Callback Trigger Count

2009-04-17 Thread blockedmind
Callback function of fadeOut effect is executed once for each element animated against. Is it possible to make it executed once after all elements faded?

[jQuery] Re: CTRL+S to Insert Record PHP+JQUERY

2009-04-17 Thread Hector Virgen
No need for a div with that code, the keyup and keydown events are observed at the document level. -Hector On Fri, Apr 17, 2009 at 8:52 AM, bharani kumar < bharanikumariyer...@gmail.com> wrote: > Hi , > Can u tell me , > > i have to create any div ID ? , > > Or simply paste this code ? > > > >

[jQuery] Re: Autocomplete problems with multiple fields

2009-04-17 Thread Lance A. Brown
Tom Worster wrote: > > what autocomplete plugin are you using? this one does not have a documented > "parse" option: > http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions Its the standard autocomplete plugin available at http://docs.jquery.com/Plugins/Autocomplete I fou

[jQuery] Re: Creating custom attributes in html

2009-04-17 Thread dhtml
On Apr 14, 3:34 pm, Ricardo wrote: > If you insert these attributes server-side, the page will not validate > and might trigger quirks mode in the browser. Which browser? Thanks, Garrett

[jQuery] How can i access iframe content... and manupulate the elements from jquery script from parent ?

2009-04-17 Thread Kapse
Need help!! How can i access iframe content... and manupulate the elements from jquery script from parent ? any ideas... ??

[jQuery] [validate] form with multiple buttons and multiple submit handlers

2009-04-17 Thread BalusC
I've a paged form with back and next buttons on each form. Each button invokes an ajaxSubmit() using submitHandler. Next button should display next form using slideUp() and slideDown(). Back button should display previous form using slideUp() and slideDown (). Here's an example of 2nd form (step)

[jQuery] Using message in $.blockUI

2009-04-17 Thread Colonel
Hi all, I have some problem with code: When I try code like this: $('#showDialog').click(function() { $('#question').load('wait.php?ID=1&NUMBER=1'); $.blockUI({message: $('#question'), css:{width:'275px'}}); }); I have some error in IE: Unexpected call to method or treatment to the property.

[jQuery] Re: How to select sub element text on clicking the parent element.

2009-04-17 Thread enygmari
Problem: If that's actual code, you have duplicate IDs and nothing based on those IDs will fire correctly. In which case use classes instead. If they're all unique, your function doesn't handle them - and you'd need to loop through finding the one that fired the event, and *then* find the next->

[jQuery] Using jQuery On Widget Service For My Site

2009-04-17 Thread phirschybar
I would like to use jquery to add behaviors to a UI widget that people can grab from my site by copying a javascript snippet. I am wondering about best practices for this. Do I * Include a direct call to jquery bundled up with the snippet? * Do I use jQuery's "no conflict" and then namespace my w

[jQuery] Re: Iframe auto height

2009-04-17 Thread CharlesMartin
If I remember correctly, this is the script I used to auto-adjust the size of my iframes : http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm Good luck! On Apr 17, 7:19 am, "Lauri B." wrote: > I can't find any cross browser solution for setting iframe height > depending on its content.

[jQuery] Jquery content Scrolling

2009-04-17 Thread Waseem
Hi, NOTE : I am using Mozilla FireFox 3 for this. Once i get this working popper I will do testing and correcting on Other Browsers. ( im sure IE6 will be the daemon here ) I am a bit new to jquery and as a test project i decided to create a content scroll-er. it works quite nicely but has a few

[jQuery] Jquery content Scroller

2009-04-17 Thread Waseem
Hi, NOTE : I am using Mozilla FireFox 3 for this. Once i get this working popper I will do testing and correcting on Other Browsers. ( im sure IE6 will be the daemon here ) I am a bit new to jquery and as a test project i decided to create a content scroll-er. it works quite nicely but has a few

[jQuery] Forward and back buttons for a gallery

2009-04-17 Thread marcott
Hello, I would greatly appreciate any help I can get. I currently have an image gallery that is navigated by clicking on numbers 1 through 'n' (n being the last photo). When you click on the number the image is loaded into a div and the clicked numbers class is changed to active. This works fine.

[jQuery] Newbie Question - Show/Hide on a:link

2009-04-17 Thread KetanMV
Hi guys -- very basic question here I think. I've got some documentation and a book in front of me, but I can't get this to work! I want to click the "Welcome" nav item to show the div named "welcome" on the page. If I use just the "hide" line of code, the page loads up with the DIV hidden properl

[jQuery] Re: Autocomplete problems with multiple fields

2009-04-17 Thread Tom Worster
On 4/17/09 12:49 PM, "Lance A. Brown" wrote: > > Tom Worster wrote: >> >> what autocomplete plugin are you using? this one does not have a documented >> "parse" option: >> http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions > > Its the standard autocomplete plugin ava

[jQuery] [validate] form with multiple buttons and multiple submit handlers

2009-04-17 Thread BalusC
I thought I already have added the [validate] tag to the subject? Anyway, now it's done again. On Apr 17, 12:31 pm, BalusC wrote: > I've a paged form with back and next buttons on each form. > Each button invokes an ajaxSubmit() using submitHandler. > Next button should display next form using s

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread Karl Swedberg
Okay, tested the new version and it seems to be working well. Please give it a shot and let me know if you run into any problems: http://github.com/kswedberg/jquery-cluetip/tree/master thanks! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009,

[jQuery] Change li class to "current" and remove all other "current" classes onclick

2009-04-17 Thread Mat
I have already read the similar post in this group, and have scoured the internet in search of an answer, but nothing is working for me! My website is all contained on one page. I have the jQuery lavalamp menu at the top of the page with the "About Me" tab set to class="current" when the page loa

[jQuery] Re: Works in IE7 but not IE6

2009-04-17 Thread MauiMan2
Well, my jQuery tests didn't work and I thought they were very simple but I can try an alert test.

[jQuery] Re: Newbie Question - Show/Hide on a:link

2009-04-17 Thread Andy Matthews
Try using toggle instead: ${"a.welcomenav").toggle(function(){ $("#welcome").show(); return false; },function(){ $("#welcome").hide(); return false; }); -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of K

[jQuery] Re: Change li class to "current" and remove all other "current" classes onclick

2009-04-17 Thread Karl Swedberg
Hi Mat, Try this: $('#menu li').click(function() { $(this).addClass('current').siblings().removeClass('current'); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009, at 1:11 PM, Mat wrote: I have already read the similar post in this gro

[jQuery] Re: Setting a newly inserted option as the selected option

2009-04-17 Thread Nando
Thanks Raja. That worked! For reference, I also needed to put something in place to wait until the .trigger('refreshOpts'); call had completed. The use of animate() as a sort of sleep routine is a bit of a kludge, since it seems .trigger() doesn't implement a callback, so I wound up with this:

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-17 Thread blockedmind
This problem occurs when $("#menu li a").fadeOut(function() {}); being used. callback function is called 3 times 'cos there is 3 li elements. On Apr 17, 7:28 pm, blockedmind wrote: > Callback function of fadeOut effect is executed once for each element > animated against. Is it possible to make

[jQuery] Re: question about dealing with JSON callback

2009-04-17 Thread mkmanning
>- the dataType is "JSON", not "json". >(I pointed this out earlier in this thread) I noticed what sneaks did, I also noticed you had pointed it out, which is why my comment was in direct reply to sneaks post about the 'object side' and removing the quotes (check the quoted text in my post to see

[jQuery] Re: Internet Explorer - my jQuery is not working

2009-04-17 Thread James
There aren't really any major issues with jQuery and IE to be aware of. If there are, they are considered jQuery bugs because the point of jQuery is to make sure that whatever you're doing is cross-browser capable. If you are having issues, post your code and you may find your answer. On Apr 17,

[jQuery] jQuery Accordion & IE8 issue

2009-04-17 Thread d.williams
Hi all, I have the jQuery Accordion from the UI running here: http://distantelegy.net/clients/ebip It works fine in all the browsers I've tested except IE8. When I mouse over any of the moving pieces, I get an Invalid argument error. It references line 1061 in the development code, which is ins

[jQuery] AJAX Problem

2009-04-17 Thread Rogue Lord
Hey folks, I noticed that when I was using $.ajax() on a $('a').click () to pull up an external page (eg "stats.php" within the same folkder) within a div called #main_content that any link that was pulled up in that would not have the same effects as outside of it. Is there a way to pass the inhe

[jQuery] Re: form with multiple buttons and multiple submit handlers

2009-04-17 Thread BalusC
OK, I solved it the following way without using the submit handler: [code] $('#step2form button.back').click(function() { if ($('#step2form').validate().form()) { $('#step2form').ajaxSubmit(); $('#step1form').slideDown(500); $('#step2form').slideUp(

[jQuery] I need some hints

2009-04-17 Thread András Csányi
Hi all! I'm developing an php and jQuery based grid (something like this: http://www.phpgrid.com/grid/) for my Thesises and I want to coloring the table row if the mouse over the row. You know, this is the minimal visual feature what is following the users eyes... I tried with css () and jQuery (

[jQuery] Re: clueTip plugin - onClose option in the API?

2009-04-17 Thread tatlar
Brilliant! Thanks Karl! Have a great weekend and thanks for writing such a sweet jquery plugin. On Apr 16, 6:38 pm, Karl Swedberg wrote: > Hi there, > > The plugin already has an onHide option. I just fixed it so that   > within onHide's anonymous function "this" will be the invoking element. >

[jQuery] Cascade plugin help

2009-04-17 Thread Chrisw
I am new to jquery and I need to make a form that allows a user to select a state and a city that they go to school in. I am using the cascade juqery plug-in (http://plugins.jquery.com/project/cascade. Which I think is a great plugin) The problem is there is a lot of data and it takes a long time

[jQuery] Re: binding after .get()

2009-04-17 Thread Karl Swedberg
On Apr 16, 2009, at 11:27 AM, hphoeksma wrote: Hi Donny, thanks for your reply. This will lead to lots of extra code I guess... Would there be another way? See the FAQ for more information: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_requ

[jQuery] Re: AJAX Problem

2009-04-17 Thread Karl Swedberg
You have run into a fairly common issue: how to get events to work with elements that are added to the DOM, through either ajax or simple DOM mainpulation, after the "document ready" code has already fired. This FAQ topic should answer your question: http://docs.jquery.com/Frequently_Asked_Q

[jQuery] unsubscribe please

2009-04-17 Thread Johnny Lombardo
I have been trying to unsubscribe but there is always a bounce-back. __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New

[jQuery] Re: Autocomplete problems with multiple fields

2009-04-17 Thread Lance A. Brown
Tom Worster wrote: > On 4/17/09 12:49 PM, "Lance A. Brown" wrote: >> I found the syntax for handling json data in it on another web page. > > standard warnings on using undocumented api features apply. It's undocumented in the autocomplete API but is a clearly documented option in the jQuery.aj

[jQuery] Re: binding after .get()

2009-04-17 Thread Andy Matthews
If you're using a current version of jQuery, then the liveQuery method is for you. http://docs.jquery.com/Events/live#typefn _ From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Karl Swedberg Sent: Friday, April 17, 2009 1:51 PM To: jquery-en@googlegroup

[jQuery] Re: unsubscribe please

2009-04-17 Thread Andy Matthews
Have you tried using the Google Groups interface? _ From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Johnny Lombardo Sent: Friday, April 17, 2009 2:01 PM To: jquery-en@googlegroups.com Subject: [jQuery] unsubscribe please I have been trying to unsubscrib

[jQuery] Re: Selector questions

2009-04-17 Thread Karl Swedberg
On Apr 16, 2009, at 8:26 AM, Dragon-Fly999 wrote: Instead of using "$(this).parent().parent().find(':checkbox')", is there a way to select using the following rule: Go up the hierarchy (regardless of how many parents there are) until the first is found, then give me a list of all the checkbox

[jQuery] Re: Cascade plugin help

2009-04-17 Thread Chrisw
I forgot to say what my issue is. It dose load anything if I remove the if statments it works fine. On Apr 17, 11:50 am, Chrisw wrote: > I am new to jquery and I need to make a form that allows a user to > select a state and a city that they go to school in. I am using > thecascadejuqery plug-i

[jQuery] Re: unsubscribe please

2009-04-17 Thread Karl Swedberg
Hi, The following instructions are paraphrased from: http://groups.google.com/support/bin/answer.py?hl=en&answer=46608 You can unsubscribe from a group through the web interface or via email. To unsubscribe through the web interface, just click the "Edit my membership" link on the right-hand

  1   2   >