[jQuery] Re: callbacks calling callbacks calling callbacks ....

2008-03-07 Thread Shawn
I did a little search and came across this page: http://www.soapatterns.org/asynchronous_queuing.asp While it may not appear to be an exact answer, it does tend to suggest some possibilities here. For instance, if each of the Ajax requests were added to a queue for processing, and the queue

[jQuery] jqGrid final preview

2008-03-07 Thread Tony
Hi all, At end I have done a lot of work to finalize the jqGrid. More information you can found here http://www.trirand.com/blog Note that this is not official release, since of missing documentation. I'm working hard on this and hope to finish the documentation at end of week. Enjoy Tony

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Tony
Sorry, Forgot to give a link to the new demos http://www.trirand.com/gridpreview/jqgrid.html See the new Live Data manipulation examples Tony On Mar 7, 11:07 am, Tony [EMAIL PROTECTED] wrote: Hi all, At end I have done a lot of work to finalize the jqGrid. More information you can found

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Matthieu BARBE
Nice job Tony, i like jqGrid ! Matthieu 2008/3/7, Tony [EMAIL PROTECTED]: Sorry, Forgot to give a link to the new demos http://www.trirand.com/gridpreview/jqgrid.html See the new Live Data manipulation examples Tony On Mar 7, 11:07 am, Tony [EMAIL PROTECTED] wrote: Hi all, At end

[jQuery] Pass a parameter to $.ajax's success callback?

2008-03-07 Thread Shawn
Here's the scenario. I'm writing a routine that will take in a list of items. Each item will fire an Ajax request and the resulting data is placed into a variable identified in the items properties. Looping over the items to do the Ajax call results in the LAST item's variable being

[jQuery] Re: How to animate remove() and html() ?

2008-03-07 Thread Fabien Meghazi
You can do a similar thing with show (or fadeIn, etc). $('divText/div') .hide() .appendTo(somewhere) .fadeIn(1000); Thanks guys! And sorry about asking questions when I know the answer. It must be because I'm working 16h/day while sleeping 5h/day since 2 weeks. My brain is slowly

[jQuery] Re: Pass a parameter to $.ajax's success callback?

2008-03-07 Thread Tony
Shawn Look at this: http://plugins.jquery.com/project/ajaxqueue Maybe will solve the problem or use ajax with option async = false Regards Tony On Mar 7, 12:16 pm, Shawn [EMAIL PROTECTED] wrote: Here's the scenario. I'm writing a routine that will take in a list of items. Each item will

[jQuery] Will latest version of TableSorter work with its Pager?

2008-03-07 Thread robgallen
Hi All, Summary - Ultimately I'd like a table that can be generated client-side, is sortable, can be updated, and paged through. I have already got the generation, updating and sorting working. - I use TableSorter to do the sorting, and I'd like to use its addon plugin Pager.

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Ariel Flesler
As far as I know, document.ready will execute functions right away if the dom is ready. Also you can use: if( jQuery.isReady ). On 6 mar, 17:46, Iair Salem [EMAIL PROTECTED] wrote: Hello everyone, I have a problem The basics: $(document).ready(function(){alert(DOM Loaded)});

[jQuery] Re: Targeting pseudo classes with jQuery

2008-03-07 Thread Richard D. Worth
On Thu, Mar 6, 2008 at 4:57 PM, TheOriginalH [EMAIL PROTECTED] wrote: I have a menu which is working nicely. When an item is clicked, I'm using jQuery to change the CSS color to indicate it is current. To keep things neat, I have also changed the color of all similar items back to the

[jQuery] Re: problems with event triggering in IE6, presumably 5.5 as well.

2008-03-07 Thread hedgomatic
I actually started with hover, with something along the lines of... -(snip) $(#trigger_news).hover( function () {$(#news).addClass(news_on);}, function () {$(#news).removeClass(news_on);$ (#news).addClass(news);}); -(/snip) ...which sadly wound

[jQuery] Current element position on sort change

2008-03-07 Thread applecoremilo
Is there a way I am able to find out what position the dragged element is in.. IE: i have 5 list elements which are sortable, i drag element 4 into position 2. I need to update a referenced list with the new sort order. thanks.

[jQuery] Using JQuery Effects in Parent Window from iFrame?

2008-03-07 Thread ABecks
Hello, I have a simple HTML file with an iframe. Inside the iframe is a simple submission form. I would like to be able to click Submit and have Jquery append content to a div that is outside of the iframe. I have exhausted my knowledge of parent heirarchy in JS trying to find a solution. I

[jQuery] Re: callbacks calling callbacks calling callbacks ....

2008-03-07 Thread Hamish Campbell
Sounds like some sort of ajax queuing plugin is in order. Would have to be more complex than animation queues. eg, queue constists of a 1-d array. Each element in the array can be a request, or an array of requests (that execute simultaneously). The queue pops the first element, performs the

[jQuery] Sortable Element Position

2008-03-07 Thread applecoremilo
Hi, I'm trying to figure out how i can get the current element position of a sortable list after drag has complete. Should i be using traverse for this?? code example: the second alert gives me -1 as an index. ie: ul id=foolivalue/lilivalue/lilivalue/li/ul

[jQuery] Using JQuery Effects in Parent Window from iFrame?

2008-03-07 Thread ABecks
Hello, I have a simple HTML file with an iframe. Inside the iframe is a simple submission form. I would like to be able to click Submit and have Jquery append content to a div that is outside of the iframe. I have exhausted my knowledge of parent heirarchy in JS trying to find a solution. I

[jQuery] Re: best web 2.0 ads and mailings ?

2008-03-07 Thread [EMAIL PROTECTED]
Sure! Could you review http://www.ZoToDo.com? It's a simple daily to do list organizer, I just finished up :) -Venkat On Feb 28, 11:24 am, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Hi all This is quite an off topic question, I hope it wont be moderated. I would like to review nice

[jQuery] getJSON data problem for getting youtube json data

2008-03-07 Thread Saidur
Hi , I want to get the json data from the youtube api (http:// code.google.com/apis/youtube/developers_guide_protocol.html). My code is like : url=http://gdata.youtube.com/feeds/api/videos?format=1vq=catstart- index=10max-results=20orderby=viewCountalt=json; $.getJSON(url,callBackFucntion);

[jQuery] Re: Targeting pseudo classes with jQuery

2008-03-07 Thread Hamish Campbell
Rather than setting CSS attributes directly, use classes. Eg, with hover: $('.someElements').click(function() { $('.someElements').removeClass('aSelected'); $(this).addClass('aSelected'); } $('.someElements').hover( function(){ $(this).addClass('aHover') }, function() {

[jQuery] Checkbox click event fires more than once

2008-03-07 Thread Patrick J Collins
Hey All, I'm trying to dynamically add a list of check boxes (and an associated click event handler) to my page. Problem is, when I click on a box, the event is fired multiple times (once per checkbox on the page). I don't really understand this behaviour - the event should only fire once. I

[jQuery] Problem with Lightbox plugin (background-shadow)

2008-03-07 Thread kisi
Hi. I have some problems with the jQuery plugin Lightbox. I would like to do a reference page for my webprojects with the Lightbox. The problem is, that that the background-shadow doesn't appear over the hole screen when i use an big image. You can see the effect on:

[jQuery] New way to hover and first-child in IE6

2008-03-07 Thread Micox
Hi people, my first post and i want that you see this new way to hover and first-child in IE6: http://elmicoxcodes.blogspot.com/2008/03/new-way-to-hover-and-first-child-in-ie6.html What you think about this?

[jQuery] Re: How to animate remove() and html() ?

2008-03-07 Thread Hamish Campbell
Remove: $('#someElement').hide('slow').remove(); Html: .html() isn't suitable - ie what does it mean to 'slowly' change the html content of an element?? Perhaps a typing effect, or cloning a div, changing the content then fading the original - but these would be specialised effects that you

[jQuery] [validate] check select on change instead of on focus?

2008-03-07 Thread minimal design
I just started using the grate validate plugin today and I can't really find an example of what I'm trying to customize... Basically, I think it's confusing for a select element to change on focus instead of on change, meaning: the user forgets to select an option, the drop down is highlighted

[jQuery] Re: neewbe help, Bassistance Validation Plugin

2008-03-07 Thread Patrik Nikkanen
I haven't used the validation plugin myself so I can't really say much about how it works internally. Can't you simply use the errorPlacement option to put the error messages in hidden balloons belonging to the respective fields, and then show/hide them using regular onfocus events? -

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Iair Salem
Sorry about not being so clear: what I exactly want is to know if window has loaded. I need to be sure if all the IMAGES had been loaded, that's why jQuery.isReady is useless for me. jquery.isReady equals true when DOM is loaded, but not the images. I hope someone could help me. Iair Salem. PD:

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread MorningZ
Why not just set a globally available flag? script type=text/javascript var _PageIsLoaded = false; $(window).load(function(){ _PageIsLoaded = true; ); /script Now _PageIsLoaded will tell you if the page is loaded or not

[jQuery] Validation jQuery plugin - onfocusout throws error

2008-03-07 Thread henry
jquery: 1.2.3 jquery validation plugin: 1.2.1 I have: form id=myform name=myform ... /form $().ready(){ $(#myform).validate({onfocusout:true}); } firebug error message validator.settings[on + event.type].call is not a function on jquery.validate.js line 250 same error msg is thrown with

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Karl Rudd
Use the good old load event. $(window).load(function () { // run code }); ( from http://docs.jquery.com/Events/load ) Karl Rudd On Fri, Mar 7, 2008 at 11:10 PM, Iair Salem [EMAIL PROTECTED] wrote: Sorry about not being so clear: what I exactly want is to know if window has loaded. I

[jQuery] Re: [validate] check select on change instead of on focus?

2008-03-07 Thread Karl Rudd
The don't notice the change till blur is actually a feature of the select GUI element. Consider if the user was using the keyboard to chose an option in a select, when do you fire the ok they've chosen something different (aka change) event? *shrug* It's just one of those things. Karl Rudd On

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Rey Bango
Looks good Tony. The only issue I can see the at the moment is that the nav buttons at the bottom act oddly when hovered over. It happens only in the following example: http://trirand.com/jqgrid/example.html It must be a CSS thing. Rey Tony wrote: Hi all, At end I have done a lot of

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Rey Bango
Another thing. Is there a way to make the scrollbar fit within the control itself? Currently, it sits out to the right and, IMO, seems a little out of place just floating there. Rey... Tony wrote: Hi all, At end I have done a lot of work to finalize the jqGrid. More information you can

[jQuery] Re: cluetip on an imagemap troubles

2008-03-07 Thread Karl Swedberg
Hi nEo, Sorry for the delay in getting back to you. I'm going to devote some time this weekend to looking into your problem and will report back as soon as I've discovered something. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 5, 2008, at

[jQuery] Turning an object into simple string

2008-03-07 Thread MorningZ
I've got an object in my javascript that keeps tracks of controls and their values and am trying to pass it to the server to use with James Network-King's excellent ASP.NET Json object So it allows me to pass a JSON-d object to it and i can manipulate it it in my VB code Problem i am having is

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Tony
Rey, Thank you again for the note. I forgot to update the link in the new demo. Now all should work ok. As for the scrolling - yes you have right it sits out and look not good. Let me do something for this. Regards Tony On Mar 7, 3:51 pm, Rey Bango [EMAIL PROTECTED] wrote: Looks good Tony. The

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Iair Salem
@MorningZ, Karl: You're right, in fact, in my first message I pointed exactly what you did. But I also pointed that: This will workaround the problem and fix it partially (because in theory this won't work when loading scripts dinamically) If someone has a better solution, please share it with

[jQuery] Latest jquery breaks onsubmit in IE7

2008-03-07 Thread Eugene Morozov
Hello, I have a login page (I know it's not terribly secure, but the code wasn't written by me, I'd write it differently, that's not the point currently) with two forms: proxy_login and login. Login form is defined as form method=post onsubmit=return login(this); Javascript function 'login'

[jQuery] Description of Product

2008-03-07 Thread ghostir
May I make a suggestion? Your product is obviously a good one and is being well-received. But for those of us unfamiliar with its capabilities, would not a simple description or overview of what jQuery is, on your landing page, be of assistance to newbies (such as myself) who might or might not

[jQuery] Re: Targeting pseudo classes with jQuery

2008-03-07 Thread TheOriginalH
Perfect gentlemen, thank you very much :) On Mar 7, 3:32 am, Hamish Campbell [EMAIL PROTECTED] wrote: Rather than setting CSS attributes directly, use classes. Eg, with hover: $('.someElements').click(function() { $('.someElements').removeClass('aSelected');

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Leanan
I have to say good job! I really like what I see. This looks like it might be exactly the type of thing I need...

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Leanan
Hmm, I only have one thing I'm not sure I like: it looks like all the sorting is done on the backend? Do I have to write my own sort routines then? Are there any plans to integrate it with tablesorter, or to have sorting like tablesorter (client side, not server side)?

[jQuery] $.getJSON doesn't work on Vista PC while calling remote server

2008-03-07 Thread Plant More Tree
Hi guys, if tried the following where usercontacts.j is in my localhost pc windows vista (tomcat6) and alert showed like [object object] mean there's some object in json argument: $.getJSON(usercontacts.js, function(json){ alert(json); }); so when I changed to remote

[jQuery] Re: simplemodal and datepicker

2008-03-07 Thread 4e4en
Hello, in your example, if you one time open modal box, then open datepicker, close s-modal, and one more open s-modal, then you either get an error or datepicker moves to (0, 0) point. On Jan 31, 3:52 am, Eric Martin [EMAIL PROTECTED] wrote: Thanks for the example Marc. To answer the OP's

[jQuery] Re: problems with event triggering in IE6, presumably 5.5 as well.

2008-03-07 Thread Fernando_AJAX
Hi hedgomatic and h0tzen, I'm experiencing the same problem here. I've tried mouseover/mouseout, hover()... without success. On Mar 6, 7:08 pm, hedgomatic [EMAIL PROTECTED] wrote: I actually started with hover, with something along the lines of... -(snip) $(#trigger_news).hover(

[jQuery] Re: Resizable only to specified width

2008-03-07 Thread Chris
Did you ever find a solution to this? Since the resizing of the parent element is achieved through the dragging of the handle, perhaps you could make the handle snap to a grid when its being dragged? The result of this will be a parent element that appears to resize according to a grid. On 10

[jQuery] Re: Problem width tabs + splitter

2008-03-07 Thread cesar
The version of tabs is2.7.4 ( cesar. On Mar 6, 9:38 pm, Klaus Hartl [EMAIL PROTECTED] wrote: The demo is broken, I get an error page due... which version of Tabs do you use? --Klaus On Mar 6, 8:37 pm, cesar c [EMAIL PROTECTED] wrote: Hi! I've try to mix tabs + splitter but

[jQuery] Re: Description...

2008-03-07 Thread ghostir
...Never mind! :)

[jQuery] Re: [POLL] Online jQuery Training from John Resig

2008-03-07 Thread Joe
I think it is important to gauge skill levels for these classes as novices wouldn't want to be caught up in complex issues and vice verse for advanced users. Just a suggestion to have some sort of hierarchy in regards to skill level... On Mar 6, 4:29 pm, Rick Faircloth [EMAIL PROTECTED] wrote:

[jQuery] Re: Issues with Backwards Traversing the DOM

2008-03-07 Thread David Stamm
This code worked for me: $(#mainCol ul li a).each(function() { var headerText = $(this).parent().siblings(h1).text(); $(this).attr(title, headerText ); }); Also, you might want to consider using something other than an h1 tag. Strictly speaking, that tag is supposed to

[jQuery] jQuery in Google Summer of Code?

2008-03-07 Thread Misha
Hello everybody! Is jQuery going to participate in Google Summer of Code this year? 5 days left to register as a mentoring organization :)

[jQuery] Re: Checkbox click event fires more than once

2008-03-07 Thread Chris J. Lee
Hi Not totally sure what you're trying to do but try the $.one() event handler instead of click() in your case replace click() with one() http://docs.jquery.com/Events/one - Chris On Mar 7, 2:39 am, Patrick J Collins [EMAIL PROTECTED] wrote: Hey All, I'm trying to dynamically add a list

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Tony
Leanan, Grid support client side sorting. Maybe it is not good documented - (see array data example - here we have client side sorting), but i hope that this will be done in the new documentation. Regards Tony On Mar 7, 5:45 pm, Leanan [EMAIL PROTECTED] wrote: Hmm, I only have one thing I'm

[jQuery] Re: Validation jQuery plugin - onfocusout throws error

2008-03-07 Thread Jörn Zaefferer
henry schrieb: jquery: 1.2.3 jquery validation plugin: 1.2.1 I have: form id=myform name=myform ... /form $().ready(){ $(#myform).validate({onfocusout:true}); } firebug error message validator.settings[on + event.type].call is not a function on jquery.validate.js line 250 same error

[jQuery] Re: [validate] check select on change instead of on focus?

2008-03-07 Thread Jörn Zaefferer
minimal design schrieb: I just started using the grate validate plugin today and I can't really find an example of what I'm trying to customize... Basically, I think it's confusing for a select element to change on focus instead of on change, meaning: the user forgets to select an option, the

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Jeffrey Kretz
This may be out of left field from what you're asking but I wrote a script called onImagesLoaded, with a tolerance setting. I used this to fire the jquery.flash.js script only after most of the images had been downloaded. Some sites I've coded were overly image-heavy with the Flash at the top

[jQuery] Re: Resizable only to specified width

2008-03-07 Thread Richard D. Worth
If you haven't already, I would recommend taking a look at the selectables plugin: http://docs.jquery.com/UI/Selectables http://dev.jquery.com/view/trunk/ui/demos/ui.selectable.html It seems like a good fit. You can have each hour/quarter hour/day be selectable and allow for drag to select a

[jQuery] GData JSON queries Invalid query parameters:_

2008-03-07 Thread Joe Maller
I've been running into a problem querying GData (Google's Data APIs) using jQuery and JSON. jQuery's ajax function automatically adds a cache-buster timestamp to the query, and Google is barfing on it. The timestamp is inserted starting around line 2608 in jQuery 1.2.3. As an example, here is

[jQuery] Re: $.getJSON doesn't work on Vista PC while calling remote server

2008-03-07 Thread Joe Maller
I've had issues where jQuery's JSON requests were treated as XHRs if there was no JSONp callback. That obviously doesn't work going cross- domain. If you change your url to /http://stufftolet.com/test/usercontacts.js? callback=? it should work, though you're going to need to hook up the result.

[jQuery] Re: $.getJSON doesn't work on Vista PC while calling remote server

2008-03-07 Thread Steve Blades
And it wouldn't, as that would be a crosssite scripting instance, which isn't permitted. -- Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com --- The Past is a Memory The

[jQuery] Re: $.getJSON doesn't work on Vista PC while calling remote server

2008-03-07 Thread Jeffrey Kretz
The getJSON uses the XMLHttpRequest to make the ajax call. The XMLHttpRequest doesn't support remote website calls. The odd thing is that the remote call was actually working for you at your office -- it shouldn't. If you do need to use ajax with a remote url, you can use JSONP, which is a

[jQuery] Re: getJSON data problem for getting youtube json data

2008-03-07 Thread Joe Maller
There are a problems requesting JSON object from GDATA using jQuery. jQuery appends a timestamp to the url which causes GData to throw an Invalid parameter error. If you check with FireBug, you'll see it. Also, GData's API says to use alt=json-in-script instead of just alt=json. It's hard to

[jQuery] Superfish Plugin CSS problem

2008-03-07 Thread panth77
I have created a menu that when a selection is hovered over, its background changes to a dark green, and the text becomes white. This works fine, except when you hover over a selection in a deeper level of the menu, the background of the parent li stays dark, but the text returns to its original

[jQuery] Re: Problem width tabs + splitter

2008-03-07 Thread Klaus Hartl
On Mar 7, 1:22 pm, cesar [EMAIL PROTECTED] wrote: The version of tabs is2.7.4 Ok, this should be compatible with jQuery 1.1.3.1. But in the demo some of the javascript files load an (error) html page causing a syntax error, so I can't tell anything reliable until this isn't fixed. Apart

[jQuery] [ANNOUNCE] jQuery UI Team Needs Your Help!

2008-03-07 Thread Rey Bango
The jQuery UI Team is pleased to announce its first Worldwide Sprint, to take place next Friday and Saturday, March 14-15, 2008. Two full days of testing, fixes, documentation, and general getting-stuff-done. Our goal is to get the jQuery UI 1.5 release (alpha, beta) ready for final, and we

[jQuery] Re: Using JQuery Effects in Parent Window from iFrame?

2008-03-07 Thread Chris J. Lee
you look at the frames plugin yet? http://ideamill.synaptrixgroup.com/?p=6 On Mar 6, 7:24 pm, ABecks [EMAIL PROTECTED] wrote: Hello, I have a simple HTML file with an iframe. Inside the iframe is a simple submission form. I would like to be able to click Submit and have Jquery append

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Chris J. Lee
This is great! Could you possibly show me an example of this online? On Mar 7, 12:12 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: This may be out of left field from what you're asking but I wrote a script called onImagesLoaded, with a tolerance setting. I used this to fire the jquery.flash.js

[jQuery] Re: Issues with Backwards Traversing the DOM

2008-03-07 Thread Joe
Thanks David. This was requested by my boss to use this for this particular page, but I agree about the span or div tag. As far as the jQuery code, that's exactly what I ended up doing after reading a bit more in the jQuery in Action book. Thanks for help though! Cheers. Joe On Mar 7, 10:28

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Collin Allen
Wow, this plugin is quite impressive! Nice job!

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Nicolas R
Iair, so what you are saying is that you want to know if, at any point in time, there are any page elements that are still loading? for example, if a mouse click appends a script to the page you need to know if the script has loaded or not? If that's the case, then I've been also trying to get

[jQuery] Re: Interface - Sortable Float with Child nodes issue?

2008-03-07 Thread ABecks
I am encountering this same issue with the following structure: div id=sortme div id=item1 blah div class=blahtext here/div blah /div div id=item2 blah div class=blahtext here/div blah /div div id=item3 blah div class=blahtext here/div blah /div div id=item4 blah div class=blahtext here/div

[jQuery] Re: Make List Element Clickable

2008-03-07 Thread Joe
Thanks Dan. My solution was very similar, but I like yours as well. I do use Firebug religiously so I will definitely take your tip on dumping things into the console. Cheers. Joe On Mar 6, 4:59 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Joe, I would like to make the element list

[jQuery] Referencing relative to $(this)

2008-03-07 Thread pmcelroy
Hi all, I've been using jQuery for a few months now and I've built a simple little slide down link list that looks like: jQuery bit: var mouseDelay = 250; $(document).ready(function(){ $('#qlink_search p').hide(); $('#qlink_search h2').mouseover(function() {

[jQuery] VTD-XML 2.3 released

2008-03-07 Thread jzhang
Version 2.3 of VTD-XML (http://vtd-xml.sf.net), the next generation document-centric XML processing model, is now released. To download the latest version please visit http://sourceforge.net/project/showfiles.php?group_id=110612package_id=120172. Below is a list of new features and enhancements

[jQuery] datepicker

2008-03-07 Thread Ahmad
Hello, Is there a way to make the datepicker select future dates? Is there a way to make the datepicker select specific days (ex. Sundays and Wednesdays only) ? Thanks

[jQuery] Re: Validation jQuery plugin - onfocusout throws error

2008-03-07 Thread henry
Validate elements (except checkboxes/radio buttons) on blur. If nothing is entered, all rules are skipped, except when the field was already marked as invalid. I want $.validate() to validate my form element on blur, so I set onfocusout to true. Althought it says by default it is set to true,

[jQuery] Re: Using JQuery Effects in Parent Window from iFrame?

2008-03-07 Thread tlphipps
I beat my head against this wall for quite some time. Try this: $(#myid, top.document); the top.document tells the selector to target the myid element which exists in the topmost document (your parent page). In order for this to work, jquery must be loaded in the file which is viewed through

[jQuery] Re: datepicker

2008-03-07 Thread MorningZ
For the first: As long as you do not explicitly set the maxDate option (http:// docs.jquery.com/UI/Datepicker/datepicker#options), there isn't any problem selecting dates in the future For the second: I'm no expert on the datepicker and all it's inner workings and that, but if i had to do what

[jQuery] Best method for detecting the depth of childed ordered list...

2008-03-07 Thread Dan G. Switzer, II
I'm trying to get the depth of an ordered list. I need to know what the deepest branch of the list is. My data looks like: ul li Item 1 ul li Item 1.a /li li Item 1.b /li /ul /li li Item 2 /li li Item 3 ul li

[jQuery] jquery tabs: For ajax tabs, how do I trigger event handler when tab loads?

2008-03-07 Thread [EMAIL PROTECTED]
Hi, I'm using Jquery tabs from here -- http://www.stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/. I'm using the AJAX feature so that clicking on a tab loads content from another page on my server. How do I set up an event handler so that when the content loads into

[jQuery] every nth element - photo grid arranging

2008-03-07 Thread Shelane
I basically want to create a grid of items from a list. For example I want a new row after every 4th element. So I will have all of these elements doing a float left, but I need to do a clear:all after each 4th element. The end goal is to be able to do a sortable or drag and drop to reorder

[jQuery] Re: every nth element - photo grid arranging

2008-03-07 Thread Shelane
I did this: $('ul li:nth-child(5n)').css(clear,both); It's still having a strange output: http://education.llnl.gov/sme/photos.lasso On Mar 7, 1:33 pm, Shelane [EMAIL PROTECTED] wrote: I basically want to create a grid of items from a list. For example I want a new row after every 4th

[jQuery] Re: Referencing relative to $(this)

2008-03-07 Thread Karl Swedberg
Hi there, Provided that your expanded HTML structure will look something like this ... div id=qlinks div id=qlink_search h2 class=qlink_headerSearch Engines/h2 p class=qlink_item firsta href=http://google.com; target=_blankGoogle/a/p p class=qlink_itema

[jQuery] Keyup differences among browsers

2008-03-07 Thread Eric Martin
While investigating the various key events, I've run into some interesting findings. I wanted to post them here to have others confirm/deny my findings. First off, I was working with the TAB key (keyCode: 9) and found out quickly that IE does not fire the keypress event for the TAB key. PPK has

[jQuery] Re: get value of checked checkboxes into a list

2008-03-07 Thread Rafael Soares
I'm trying exactly the same. $(input:checkbox:checked); returns a set of jQuery elements $(input:checkbox:checked).val(); returns the value of the first element in the set. I really wanted to get an array with all the values, or even a string, without the need to iterate over each of the

[jQuery] Re: jqGrid final preview

2008-03-07 Thread Leanan
I stand corrected, Tony. Fantastic! Thank you for the clarification. That'll teach me to be eager.

[jQuery] Re: callbacks calling callbacks calling callbacks ....

2008-03-07 Thread Shawn
This plugin was suggested in another thread: http://plugins.jquery.com/project/ajaxqueue While it's close, my initial read of it suggests it doesn't do quite what we're looking for here. I'll have to play with it to be sure though... Shawn Hamish Campbell wrote: Sounds like some sort of

[jQuery] Re: get value of checked checkboxes into a list

2008-03-07 Thread tlphipps
Gonna have to iterate. jquery selector gives you a jquery object. $(input:checkbox:checked).each() is your friend. On Mar 7, 3:27 pm, Rafael Soares [EMAIL PROTECTED] wrote: I'm trying exactly the same. $(input:checkbox:checked); returns a set of jQuery elements

[jQuery] Identifying a specific UI element

2008-03-07 Thread Dinesh B Vadhia
Hello! I wonder if you can help as I'm new to JQuery. I'm looking for a particular UI element which can be seen used on many GUI applications but whose name I don't know. Here is what it does: - Consider a long list of short phrases - possibly, a list of thousands of short phrases - Search

[jQuery] jQuery.form error handling

2008-03-07 Thread Goran Radulovic
I've noticed that if i define error callback function within the options parameter of ajaxForm, it is called only if request is failed (if there is no response from provided url). When i return some http error from my serverside script (like 404, 401...) success callback is called. I have habit

[jQuery] Re: get value of checked checkboxes into a list

2008-03-07 Thread Mike Alsup
I'm trying exactly the same. $(input:checkbox:checked); returns a set of jQuery elements $(input:checkbox:checked).val(); returns the value of the first element in the set. I really wanted to get an array with all the values, or even a string, without the need to iterate over each of

[jQuery] Re: jQuery.form error handling

2008-03-07 Thread Mike Alsup
I've noticed that if i define error callback function within the options parameter of ajaxForm, it is called only if request is failed (if there is no response from provided url). When i return some http error from my serverside script (like 404, 401...) success callback is called. I

[jQuery] Re: Using jQuery without ready()

2008-03-07 Thread fetis
moving to the end of ready() isn't solution. we'll have flickering anyway. i'm not learning jQuery, i'm just using it. we can use simple JS in described way and I just want to know could we do same with jQuery. if it has some onload actions inside thier core, then we can't. it's question for

[jQuery] [validate]

2008-03-07 Thread nicmare
I found out how to validate multiple form elements. no problem with that. but... how can i sent each form to a specific address(action)? because the default submit handler redirects the request to the same action. any suggestions?? thx

[jQuery] Re: callbacks calling callbacks calling callbacks ....

2008-03-07 Thread timothytoe
I had a case where I had to wait for n records to come from the server. They all had the same callback, which incremented a counter.and checked to see if this load was the last one. It worked, but I have thought about giving the whole lists of requests to the server at once and having the server

[jQuery] Re: get value of checked checkboxes into a list

2008-03-07 Thread Dan G. Switzer, II
Rafael, I'm trying exactly the same. $(input:checkbox:checked); returns a set of jQuery elements $(input:checkbox:checked).val(); returns the value of the first element in the set. I really wanted to get an array with all the values, or even a string, without the need to iterate over each of

[jQuery] Re: Using jQuery without ready()

2008-03-07 Thread RobG
On Mar 5, 7:33 am, MorningZ [EMAIL PROTECTED] wrote: A good trick for that is to hide the content you are manipulating, and then for the last line of the Ready() event, do a .show() and now the only thing the user will see is styled and complete elements And if scripting isn't supported or

[jQuery] Re: Keyup differences among browsers

2008-03-07 Thread Jeffrey Kretz
FWIW, I tested that page in IE7, and here's what happened. 1. Page loaded. 2. I pressed tab, and the address bar was selected (d'oh) 3. So I clicked on the page. 4. Pressed tab, first text element selected, key-up event fired, keycode: 9 :: target type: text /

[jQuery] A simple loop - but I can't do it

2008-03-07 Thread Bruce MacKay
Hi folks, I have a form (id=sshoweditor) containing - let's say 6 - fieldsets, each containing an input element. The fieldsets have a unique ID - fs0, fs1, ... fs5. I have a function that can delete any specific fieldset. My looping problem comes now - when the fieldset is removed, I want

[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Jeffrey Kretz
Sure, here you go: http://www.lawcrime.com/ JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris J. Lee Sent: Friday, March 07, 2008 10:13 AM To: jQuery (English) Subject: [jQuery] Re: How to know if the entire page has loaded, AFTER it

[jQuery] Re: every nth element - photo grid arranging

2008-03-07 Thread jason
Here's one way: $(function(){ newRowAt = 5; inc = newRowAt - 1; $('li').each(function(i){ if(newRowAt == i + 1){ $(this).css('clear','left'); newRowAt += inc; } }); }); - jason On

  1   2   >