[jQuery] Sorting a JSON object based on it's keys

2008-06-26 Thread Arun Kumar
I have a JSON object (dynamically created) which is given below: var jsonObj = { 1 : { "Name" : "B", "Position" : "Sr" }, 2 : { "Name" : "S", "Position" : "Sr" }, 3 : { "Name" :

[jQuery] Code not working in IE

2008-06-26 Thread Pegpro
I am using this code: jQuery.noConflict(); jQuery(document).ready(function(){ jQuery('#loading').show();jQuery('.wrap').slideDown(1000);jQuery('#loading').fadeOut(1500, setTimeout('showdocs()', 1500)); jQuery(\"a:contains('Home')\").

[jQuery] Concern: quality of plugin library submissions

2008-06-26 Thread donb
I'm finding what seems like a lot of plugins that: a. Don't follow the structure of the 'home page, documentation, demonstration' pattern b. Have dead links to the code/docs c. Plugins that are marginally 'jqueryized' (for instance a Dynamic Drive component I came across with a minor reference

[jQuery] Re: Problems with jQuery click functions embedded in AjaxSubmit Form Results

2008-06-26 Thread Adam
I have worked this out to being due to the items not being part of the DOM when the page is loaded. I am now using live query to get around this issue. Sorry for posting before looking properly. Adam On Jun 26, 2:09 am, Adam <[EMAIL PROTECTED]> wrote: > Hi, > > I have a page which shows data fo

[jQuery] Re: [Treeview] Dynamically adding nodes to the async treeview

2008-06-26 Thread Alexsandro_xpt
Jorn, Why you always declare a new JS var? -- www.alexsandro.com.br On 22 jun, 16:14, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Just use jQuery methods to find the node: > > var node = $("...").appendTo("#products .someNode"); > ... > > Jörn > > On Sun, Jun 22, 2008 at 2:25 PM, SirHoundal

[jQuery] Re: jScrollPane - maintainPosition:true

2008-06-26 Thread Luxiouronimo
this is due to padding on the scrollPane element. move the padding to a parent and jScrollPane will maintainPosition as it is supposed to when re-initialized. ..this is noted somewhere near the docs about limitations and not applying positional elements to it.. On Jun 16, 12:39 pm, Luxiouronim

[jQuery] Re: jtemplates performance

2008-06-26 Thread chris thatcher
I think you are measuring the combined time. Try this: var xmltojson_start = new Date().getTime(); ret = $.xmlToJSON(responseXML); var xmltojson_stop = new Date().getTime(); var template_start = new Date().getTime(); $('#output2').processTemplate(ret); var template_stop = new Date().getTime(); al

[jQuery] Re: Trying to use jQuery to do the same effect on multiple links.

2008-06-26 Thread donb
I'm fuzzy on your objective, but perhaps utilizing a class attribute so you can aplly it to 'each()' element with that class name? Or a parent > child selector, such as "div#menu > a" to affect all the anchors in ?

[jQuery] Question about Event Handling Optimization

2008-06-26 Thread jack
Is there a significant performance impact on detecting for events on elements which are not found on a certain page? For example, when using jQuery to code large sites i have always used a global event include i.e events.js to attach a $(document).ready for all possible site events. This allows t

[jQuery] Combination of several filters

2008-06-26 Thread andyGr
Hi All, Here is a simple code: var cl = $j("input[class='inputbox'][value='']").parent().parent().filter("tr[class^='comdebt'][class!='comdebt1 specify1'][class!='comdebt2 specify2'][class!='comdebt3 specify3']").attr('class'); as you can see I need to deselect tr with classes ended with "spec

[jQuery] AutoComplete and Validation

2008-06-26 Thread shapper
Hello, I am using AutoComplete with Validation. Can I create a validation that accepts only values from the autocomplete? For example if the autocomplete list is: "New York, London, Lisbon, Paris" Then the following would be accepted: "New York, London" "New York" "Lisbon,Paris " "Lond

[jQuery] Trying to use jQuery to do the same effect on multiple links.

2008-06-26 Thread Pegpro
I am currently using: jQuery.noConflict(); jQuery(document).ready(function(){ jQuery(\"a:contains('Home')\").click(function(e){ e.preventDefault(); var link = jQuery(this), link

[jQuery] Patch to allow exclusion of blocked elements

2008-06-26 Thread Joaquin Windmüller
I'm using blockUI to show a tooltip generated by another jquery plugin and I'm having problem with the links that are inside it. I've patched blockUI to accept an selector or a jquery object to exclude those from being blocked: Index: jquery.blockUI.js

[jQuery] Using noConflict with links

2008-06-26 Thread Pegpro
I am using this line: var $this = $(this), link = $this.attr('href'); However I have had to use jQuery.noConflict() How do I use jQuery() with this?

[jQuery] tableEditor plugin - add new row - using in an iframe gives error

2008-06-26 Thread ktpmm5
I'm trying to use the tableEditor plugin to add a new row to my table (don't need to edit current data, just add new rows and save to mysql db). I've got my table loading in an iframe, but I'm getting the error that default.Table[0] has no data. The user clicks on a link which loads the data fr

[jQuery] Re: Firefox (2&3) does not render new content on .append(val) and .html(val)

2008-06-26 Thread Alexandre Plennevaux
and if the injected html is completely valid it works ? Alexandre Plennevaux On Thu, Jun 26, 2008 at 5:10 PM, c2h5oh <[EMAIL PROTECTED]> wrote: > > After another couple hours & coffees I found out that if I use > $.html(val) to insert invalid html (invalid as in does not validate) > no content w

[jQuery] Re: SproutCore vs jQuery? Are there any comparisons out there?

2008-06-26 Thread Ed Finkler
Beyond that, the development process seems very much modeled on Rails, and *requires* that you have Ruby. The biggest issue for me is that the development process requires that you serve up files from a local web server (Mongrel) and view them in a browser. Personally, I would *really* love an MV

[jQuery] Re: getJSON callback not executing

2008-06-26 Thread Ryura
Use a GET request. On Jun 26, 2:38 pm, wellmoon <[EMAIL PROTECTED]> wrote: > After more research I discovered for jsonp callbacks to work, the PHP > needs to return the name of the function as well as (which the flicker > service does in the $.getJSON example), so I added this to the PHP > file

[jQuery] Re: No slideUp() Effect In IE7 Only

2008-06-26 Thread GaMerZ
I have fixed it. Apparently IE7 requires the child container to be specified height as well. Matt-206 wrote: > > > Interesting, it works fine for me in both FF2 and IE7. The behavior is > identical. My version of IE7 is 7.0.5730.11 > > Matt > - Lester Chan's Website - http://lestercha

[jQuery] Re: jtemplates performance

2008-06-26 Thread Andiih
Jack, I'll take a look Chris, I *think* the timing code I've added in my sample above is only timing the template step ? I've had the opportunity to try this out this afternoon on a number of machines in the organization, and noted a couple of things... Its quick in FF3 (which I didn't expect giv

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread Dean Landolt
It's been my experience that listening for keycodes in js can be a bit hairy. If you have a bunch of inputs, it's probably semantic to wrap them in a form (the div too if you like), then you could take advantage of the on built-in event listener but just prevent the actual form submission: $('#myF

[jQuery] Re: bugs

2008-06-26 Thread Luke
OK, so nobody could address this very basic issue. I think this a major one for jquery. so I replaced $(document).ready( with window.onload = and it might be a bit slower but it works. maybe a preloader looks prettier but this one works just fine. and it is very simple. cheers luke On

[jQuery] Re: Cycle Plugin - how to animate/transition of the pager nav

2008-06-26 Thread Andy Ford
I've managed to add some transition animations to the pager nav $.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex) { $(pager).find('li') .filter('li:not('+currSlideIndex+')').removeClass('on'). animate({ h

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Dean Landolt
> Hi again, > > you replied directly to me with this: > > Awesome! Now 1 more question. >> >> How can I have it not hover the last row too? > > Just to expand a little on sheshnjak's point above, if it does sound like it's a header and footer you're trying to differentiate. If that's the case, may

[jQuery] validation of a table cell value

2008-06-26 Thread Sridhar
Hi, I am trying to attach validation to a table cell. I am using onchange event to validate the cell value. Instead of attaching the event to each table cell, is there a way to attach the event at the table level? This will improve the performance of the page. or if there is any other way to do

[jQuery] Re: How do I find and replace HTML comments?

2008-06-26 Thread Joel Newkirk
Or, if you're writing straight HTML without PHP, you could try Server-Side Includes. http://httpd.apache.org/docs/1.3/howto/ssi.html#today'sdate j On Wed, Jun 25, 2008 at 5:59 AM, M. <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a HTML page and I've included a HTML comment above my > tag w

[jQuery] Re: [autocomplete] possible bug when using jquery.autocomplete.min.js

2008-06-26 Thread Jörn Zaefferer
Please update to 1.0.2, it fixes the issue. Jörn On Thu, Jun 26, 2008 at 3:28 PM, eleight <[EMAIL PROTECTED]> wrote: > > When i replace jquery.autocomplete.js include script with > jquery.autocomplete.min.js version I get this errors: > > missing ; before statement > http://localhost/admin/js/au

[jQuery] Re: Validation Plugin issue when using TinyMCE

2008-06-26 Thread shapper
Please, does anyone knows why do I need to push twice the submit button so the validation be updated? Thanks, Miguel On Jun 25, 2:01 pm, shapper <[EMAIL PROTECTED]> wrote: > Hi, > > It worked but now I get a new problem which I also notice before! I > though it was due to this but it seems it is

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Josh Nathanson
Would this work as well? $("tr:not(:first):not(:last)").hover(function() { //etc. Not as performant as the other ones, but expresses the intent clearly. -- Josh - Original Message - From: "Karl Swedberg" <[EMAIL PROTECTED]> To: Sent: Thursday, June 26, 2008 11:15 AM Subject: [jQue

[jQuery] Re: BlockUI not working properly in IE

2008-06-26 Thread Mike Alsup
> BlockUI doesn't want to load correctly in IE. The JQuery routine I'm > running contains an Ajax call that takes a while. I call .blockUI > before calling a synchronous Ajax call and .unblockUI afterwards. It > works as expected in FF but in IE (both 6 and 7) the screen freezes > until the Ajax c

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread x-herbert
o.k. fine! I understand the difference! Thanks! x-herbert

[jQuery] Re: Validation is not working as expected. Input value deleted!

2008-06-26 Thread Brian J. Fink
Try using String.search(regexp)+1 instead of regexp.test(String). Are you getting legitimate values to fail, or invalid ones to pass? On Jun 20, 7:48 pm, shapper <[EMAIL PROTECTED]> wrote: > Very strange ... it works both ways ... well, what I mean is that I > keep having the same problem in bot

[jQuery] Re: getJSON callback not executing

2008-06-26 Thread wellmoon
After more research I discovered for jsonp callbacks to work, the PHP needs to return the name of the function as well as (which the flicker service does in the $.getJSON example), so I added this to the PHP file. For reference the PHP file now consists of this: However, the page is still not

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread aldomatic
No I do not mind, I clicked on the wrong reply link. Thanks again! On Jun 26, 1:15 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi again, > > you replied directly to me with this: > > > Awesome! Now 1 more question. > > > How can I have it not hover the last row too? > > Hope you don't mind th

[jQuery] Re: Has anyone been able to perform Hover-Grouping?

2008-06-26 Thread Brian J. Fink
$('td.add,td.dropdown').hover(function() { $('td.add,td.dropdown').addClass(someclassnamehere); },function() { $('td.add,td.dropdown').removeClass(someclassnamehere); }); might work. On Jun 26, 7:00 am, F1LT3R <[EMAIL PROTECTED]> wrote: > What is hoverGrouping? > > "hoverGrouping" would allow

[jQuery] do validation when value changes in a table cell

2008-06-26 Thread Sridhar
Hi, I am trying to attach validation to a table cell. I am using onchange event to validate the cell value. Instead of attaching the event to each table cell, is there a way to attach the event at the table level? This will improve the performance of the page. or if there is any other way to d

[jQuery] Re: QUnit, jqUnit, and rhino

2008-06-26 Thread chris thatcher
Wow this is good news. I've been mucking up env.js for awhile now locally and was afraid I wouldn't see it go where I hope it will. John you mentioned the other platforms you want it to be used on and I think this would be ideal. One thing that is currently preventing that is that the basic wind

[jQuery] [Plugin Selectbox] : How To Access Passed Parameter

2008-06-26 Thread studiobl
I'm using the Selectbox Plugin to populate a select box with a json string passed from a php page. I'd like to pass a parameter to the php page from the plugin call. How is this done? I tried doing $ ("#myselect").ajaxAddOption("myoptions.php", {"$code" : "007"}); and then in myoptions.php, att

[jQuery] hide() and slideDown() question

2008-06-26 Thread Matt
Hi All, Essentially what I'm trying to do is insert some new html after a specific element. What I would like to do is have the new element appear using the slideDown() function. I tried to hide it at first so all the user sees is the slideDown() but it brielfy shows the element, then hides it, th

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Karl Swedberg
Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Hope you don't mind that I'm posting a response to this question on the list. I'd like other people to be able to see the answer as well, just in case someone else

[jQuery] Duplicate GridViews in jQuery tabs

2008-06-26 Thread vladv
Hi, I work with asp.net and jquery. I would like to have the same GridView displayed in many tabs, and only changing ObjectDataSource parameters so the data which is displayed will change. How can I do it without duplicating the GridView? Thanks for any help

[jQuery] jNice, dropdown menus (jd_menu_vertical), and IE

2008-06-26 Thread aronduby
Running into issues using jNice to style form elements. The normal iFrame hack for IE doesn't work to get the drop-down menu over top of the selects. I disable jNice and it works, turn it back on and nothing. Example : http://client.grcmc.org/wip/grcvb/events.php

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread ..:: sheshnjak ::..
Hello, Karl already gave you clean solution that will surely work, but I can't resist to give you solution that might be more suitable for your needs. I presume that you don't want hover effect on the first row because it contains table header (field names for columns). If that's the fact, then yo

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread [EMAIL PROTECTED]
Thanks for your replies. I have a follow up question. Let's say I have a bunch of inputs, type="text" within a div with id="myDiv". How do trigger an action if someone presses enter within one of those text fields? This would not be a form submission necessarily. - Dave On Jun 26, 5:25 am,

[jQuery] Re: Trying to use jQuery and lightview on the same page

2008-06-26 Thread Eric Martin
After you've loaded jQuery and before you do anything in your JavaScript, call, jQuery.noConflict(); which will give the $ object back to the original library that is using it. The other option is to not use $ for any of your jQuery code, but use the word jQuery. So, instead of $("#content").show

[jQuery] Re: No slideUp() Effect In IE7 Only

2008-06-26 Thread Matt
Interesting, it works fine for me in both FF2 and IE7. The behavior is identical. My version of IE7 is 7.0.5730.11 Matt On Jun 26, 7:52 am, GaMerZ <[EMAIL PROTECTED]> wrote: > Hi All, > > I am using this line of code: > > jQuery("#" + previous_welcome_icon).slideUp("normal", function () { > jQue

[jQuery] Re: slideToggle() giving a noticeable "skip" or "bump" when revealing/hiding div

2008-06-26 Thread Jared Henderson
Thanks! That did it! I really appreciate it. On Thu, Jun 26, 2008 at 12:09 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > Hi Jared, > > It looks like the problem is being caused by the padding that you have > applied to .comments-body > > If you remove that padding and apply padding to elem

[jQuery] ie bug ?????

2008-06-26 Thread owidjaya
Hi Everyone, could anyone explain why this gives me an error on ie6. I have the function below in my hilight plugin $.fn.hilight.format = { default: function(txt){ return ''+txt+''; } }; ie6 gives me "Expected identifier,string or number" statement as t

[jQuery] Re: jtemplates performance

2008-06-26 Thread chris thatcher
Andiih, just curious becuase I use jtemplates and havent seen that issue, though can you verify that the slow code is not 'xmlToJSON'. I have seen the marshalling process take up a lot of time in IE when the xml is substantial in size . Thatcher On Thu, Jun 26, 2008 at 12:30 PM, Jack Killpatrick

[jQuery] Re: javascript syntax question

2008-06-26 Thread owidjaya
thanks karl that is really clear Karl Rudd wrote: > > > The short: Define and immediately execute an anonymous function. > > The long: > > function blah() { ... } // define a named function > > blah(); // execute a named function > > > function() { ... } // define a function with

[jQuery] Re: [validate] automatically clear error messages when pass validation rule?

2008-06-26 Thread Josh Joy
Sorry, try here http://snippets.dzone.com/posts/show/5700 On Thu, Jun 26, 2008 at 2:50 AM, Jörn Zaefferer < [EMAIL PROTECTED]> wrote: > > I don't see an attachment - could you upload that somewhere? > > On Wed, Jun 25, 2008 at 11:57 PM, Josh Joy <[EMAIL PROTECTED]> wrote: > > Ok, I have attached

[jQuery] Re: Detecting the selected option

2008-06-26 Thread Will
I got it fixed by using this: $("#initCond").each(function(){ instead of this: $("#initCond").click(function(){ So the corrected, full statement is this: $("#showgraph").click(function(){ // Only unhide the Overlay controls if Initial Conditions are set to No.

[jQuery] BlockUI not working properly in IE

2008-06-26 Thread jnorthrop
BlockUI doesn't want to load correctly in IE. The JQuery routine I'm running contains an Ajax call that takes a while. I call .blockUI before calling a synchronous Ajax call and .unblockUI afterwards. It works as expected in FF but in IE (both 6 and 7) the screen freezes until the Ajax call comple

[jQuery] Re: jQuery Camp 2008 to be held at The Ajax Experience on Sept. 28th.

2008-06-26 Thread Glen Lipka
I asked about changing the flight. It would be $150 + $50 for jQuery and another night at the hotel (not sure how much that is). Too rich for me unfortunately. Sorry man, I wish I could be there. Are you going to TAE too? Glen On Thu, Jun 26, 2008 at 9:05 AM, Rey Bango <[EMAIL PROTECTED]> wro

[jQuery] Re: jtemplates performance

2008-06-26 Thread Jack Killpatrick
I don't know how it compares as far as speed, but you might want to try this: http://code.google.com/p/trimpath/wiki/JavaScriptTemplates We've been using it for more than a year on many of our projects, including some with large table row outputs, and it's worked for us. - Jack Andiih wro

[jQuery] Re: how to eliminate easing on animation?

2008-06-26 Thread Ariel Flesler
One more thing, just as an option, you can try setting 'constant' to false. That will make the rewind faster. Cheers -- Ariel Flesler http://flesler.blogspot.com On 26 jun, 04:35, andrea varnier <[EMAIL PROTECTED]> wrote: > On 26 Giu, 00:02, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > > Yay! i

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Karl Swedberg
Hi, you should be able to do it like so: $('tr:gt(0)').hover(function() { // Stuff to do when the mouse enters the row; }, function() { // Stuff to do when the mouse leaves the row; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 26, 2008, at

[jQuery] Re: how to eliminate easing on animation?

2008-06-26 Thread Ariel Flesler
Hi Andrea It isn't possible without extra code. I realized that if I were to start adding attributes, cloning/moving nodes, the plugin would turn into a mess. SerialScroll doesn't touch a single node, not even attributes. If you can figure out the code (probably using onBefore and onAfter) I'll

[jQuery] getJSON used multiple times

2008-06-26 Thread Dan Vega
I am trying to implement a related selects. When the user chooses a client 2 other boxes get populated. When the document is ready I add a change event to the company select box. When the company is selected it fires off 2 methods each of which populate the other select boxes. A look into firebug

[jQuery] Re: Tabs UI - Mousing over a tab to display content of all panels

2008-06-26 Thread Rey Bango
Hi, Can you post jQuery UI questions to the UI mailing list? http://groups.google.com/group/jquery-ui?hl=en List will ensure you get the best response to your questions. Thanks, Rey... CBlackstone wrote: I have implemented Tabs in such a way that mouseover works to display the various cont

[jQuery] Re: slideToggle() giving a noticeable "skip" or "bump" when revealing/hiding div

2008-06-26 Thread Karl Swedberg
Hi Jared, It looks like the problem is being caused by the padding that you have applied to .comments-body If you remove that padding and apply padding to element(s) inside comments-body instead, that should fix the problem. --Karl Karl Swedberg www.englishrules.com www.lear

[jQuery] jQuery Camp 2008 to be held at The Ajax Experience on Sept. 28th.

2008-06-26 Thread Rey Bango
I will be announcing this once a week until jQuery camp arrives. The jQuery Team is pleased to announce the second annual jQuery Camp! jQuery Camp 2008 will be held on Sunday, Sept. 28, the day before The Ajax Experience, in Boston, MA (location TBA). Last year, over 100 jQuery developers ga

[jQuery] Re: Fix for problem: Firefox 3, FOUC and incorrect width() on "ready"

2008-06-26 Thread Karl Swedberg
Hi Karl, thanks a lot for announcing the fix to this list. I'm sure a lot of people will appreciate seeing it. This thread on the jquery-dev list has been discussing this very issue (with the same suggested fix): http://groups.google.com/group/jquery-dev/browse_thread/thread/4633136bb95766

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread Mario Wolff
Hi! In short: You can't! A possible way: Do a HEAD request first, check the content-type as you do, if it's "usable" data load it with a GET request, if it's "downloadable" data open the same url in a new window. The browser will see that it is an oktet-stream and will open download dialog! Regard

[jQuery] [validate] Multi-step form, how to validate only the current step?

2008-06-26 Thread jcarouth
I am trying to get a form with similar functionality to the demo shown on http://www.mredesign.com/demos/jQuery-accordion-w-validation/#thedemo but I'm having a problem that I cannot figure out. When attempting to navigate from the first step to the second via the "Next" button the validator.form(

[jQuery] Re: Firefox (2&3) does not render new content on .append(val) and .html(val)

2008-06-26 Thread c2h5oh
After another couple hours & coffees I found out that if I use $.html(val) to insert invalid html (invalid as in does not validate) no content will be shown, as if it had display:hidden. code like this is enough: var someval = ' one two threefour '; should I try to $(".someclass").html(some

[jQuery] Tabs UI - Mousing over a tab to display content of all panels

2008-06-26 Thread CBlackstone
I have implemented Tabs in such a way that mouseover works to display the various content panels. What I need is the ability for mousing over the last tab to display all of the content panels. The number of tabs is known and doesn't change. Does anyone have code that does this? Thanks

[jQuery] No slideUp() Effect In IE7 Only

2008-06-26 Thread GaMerZ
Hi All, I am using this line of code: jQuery("#" + previous_welcome_icon).slideUp("normal", function () { jQuery("#" + icon).slideDown("normal"); }); To archive the slideUp and slideDown effect. You can see it live in action in http://lesterchan.net/ by clicking on any of the 6 horizontal icon

[jQuery] Re: QUnit, jqUnit, and rhino

2008-06-26 Thread fuzziman
So excited to see that you are actively working on this John! :-) I can see you've been concentrating on document parsing behavior, while I've just been looking at "automated testing in rhino". From my testing perspective, I made a couple of patches: - in test(), wrapping fn() and the next lines

[jQuery] Re: Detecting the selected option

2008-06-26 Thread Will
Thanks for the response. I'm still having trouble getting this to produce any results. Perhaps I'm not initiating it correctly, as nothing seems to happen as a result of this: $("#showgraph").click(function(){ // Only unhide the Overlay controls if Initial Conditions are set to

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
We'll be doing some testing on our end anyway, so I'll let you know if we encounter any problems. In the meantime, thanks for all your help! Kudos on the validation. Steve On Jun 26, 2:38 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I haven't yet seen or worked with an example with a large

[jQuery] Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread aldomatic
I'm having a difficult time figuring out how to add a hover effect on all but the first table row (tr). I appreciate anyone's help. Thanks!

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread wellmoon
'this' is standard JavaScript for an object referring to itself '$(this)' is jquery for 'the current object' or similar You can't call jQuery methods on standard JavaScript objects, only on jQuery objects On Jun 26, 2:02 pm, x-herbert <[EMAIL PROTECTED]> wrote: > Hi jQueries; > > what is the di

[jQuery] Re: Noob Question: Using Selectors after ajax load

2008-06-26 Thread Eric
Thanks a lot for the help! Really appreciate it -Eric

[jQuery] Re: Validate plugin: RFC2822 compliant emails

2008-06-26 Thread AstroIvan
Sounds great Scott. First my apologies, as it seems my post was a little pre-emptive. The specific case I got in a bug report was that + signs were not being allowed by the client validation. This is incorrect as I've double tested it after looking at your test cases, and it looks like you guys

[jQuery] Re: slideToggle() giving a noticeable "skip" or "bump" when revealing/hiding div

2008-06-26 Thread jaredh123
jaredh123 wrote: > > I have a test page showing my issue here: > > http://www.professionalphotographertheme.com/demo2/ > > Click on the "5 Comments" tab, and you can see it. It's even more obvious > if you click it again to toggle it closed again. > > I slowed down the effect significantly

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-26 Thread Dan G. Switzer, II
Tony, >I was able to fix by own bug. I commented out like 899 >($self.blur();) and added a return true after line 901. That makes it >so if you hit tab while at the end of the tree the tab will bubble up >to the browser which will move focus to the next item. I tested in >IE7 and FF4 and it wo

[jQuery] [autocomplete] possible bug when using jquery.autocomplete.min.js

2008-06-26 Thread eleight
When i replace jquery.autocomplete.js include script with jquery.autocomplete.min.js version I get this errors: missing ; before statement http://localhost/admin/js/autocomplete/jquery.autocomplete.min.js Line 15 ; before statement [Break on this error] ment.hide();listItems&&listItems.removeC.

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread Mario Wolff
Hi! Very simple: this is the (DOM)-object and $(this) is a jquery-object containing the (DOM)-object. To use jQuery methods you need a jQuery object! Regars, Mario On 26 Jun., 15:02, x-herbert <[EMAIL PROTECTED]> wrote: > Hi jQueries; > > what is the different between this and $(this) ?? > > I

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread jgmaux
Ttanks, Liam Sorry, my english language is very bad.. I'like to receive, via ajax, a binary data (application/octet-stream) from server. And I pass it to the browser for display download window dialog.. I suppose that document.write('...') function is only for a text / html content.

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread Steen Nielsen
When you use "this", it returns the standard JS DOM object. But when you use $(this), it will return a jQuery object, which can contain several DOM objects as well as functions and methods. So if you want to use some jQuery methods on an object, you will have to use $(this), but if you use standa

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Jörn Zaefferer
I haven't yet seen or worked with an example with a large number of custom methods. Once added, custom methods behave exactly the same as built-in methods, therefore I see no reason why that should be a problem. Lookup is based on JavaScript property lookup, which is hardly a bottleneck either.

[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-26 Thread Jörn Zaefferer
Previous version of the plugin used IDs solely, and there are way to many drawbacks to give that another try. But I think that isn't even necessary, there are other solutions. To start with, you can add classes to inputs to define their validation rules. If you have no control over the serverside

[jQuery] Re: Odd image button issue in IE

2008-06-26 Thread Andy Matthews
Anyone have any ideas about this oddity? On Jun 25, 7:23 pm, Andy Matthews <[EMAIL PROTECTED]> wrote: > My client has discovered an interesting issue with the nav on a small > site that I built out for him, and it only seems to happen in IE: > > http://www.sdiarchitects.com/home.php > > 1) Click

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread Liam Byrne
Maybe I'm missing something, but document.write(result) will only work if the variable result has a value, and I can't see it being set anywhere ? Liam MrFishKill wrote: Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text. Whe

[jQuery] Re: Has anyone been able to perform Hover-Grouping?

2008-06-26 Thread F1LT3R
What is hoverGrouping? "hoverGrouping" would allow somebody to use multiple elements in the selector such as... $('TD.one & TD.two').hoverIntent(); This function would be very useful for work with product tables. I am currently trying to create a table that uses hoverIntent on two seperate TDs.

[jQuery] Write binary data from server is possible?

2008-06-26 Thread jgmaux
Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text. When server response with binary content (PDF, EXCEL, etc) I'like to send to user. It's possible This is my code: function CNMSubmitAjax(arguments,id_capa, extra_props) {

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
Of course! I did have a problem with the email field using the depend method. If I left the email field blank (not a valid email address), the form would still submit. I had to add "required:true" in order for the depend to kick in. Which makes sense. Well everything seems to work. I'll give a bi

[jQuery] Different between this and $(this)

2008-06-26 Thread x-herbert
Hi jQueries; what is the different between this and $(this) ?? I try the follow lines $("#form_zuw input[readonly]").each(function() { this.addClass("input_readonly"); }); like http://jquery.bassistance.de/jquery-getting-started.html $(document).ready(function() { // use this

[jQuery] Write binary data (from server) is possible with Ajax?

2008-06-26 Thread MrFishKill
Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text. When server response with binary content (PDF, EXCEL, etc) I'like to send to user. It's possible This is my code: function CNMSubmitAjax(arguments,id_capa, extra_props) {

[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-26 Thread Simon Whatley
Hi Jörn Firstly, the form I have to work with is not of my creation and is somewhat flawed! I agree, your first example would be invalid if the forms were on the same page. If they were on separate pages the IDs are not invalid. However my example is a form that collects a number of instances o

[jQuery] Re: Validate plugin: RFC2822 compliant emails

2008-06-26 Thread Scott González
As Jörn has stated, we have intentionally gone against the RFC a bit to go for a more practical approach. The original regex was written to the spec (as much as possible). I seem to recall that while I was writing the regex I thought it was actually impossible to follow the spec because I had to

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Jörn Zaefferer
The depends property works for all methods. Of course param is useful only for methods that actually require a parameter, email and creditcard don't. Overall its still somewhat experimental, as the lack of documentation indicates, so please let me know if there are further issues. Jörn On Thu,

[jQuery] FF3 not showing Thickbox content until refresh

2008-06-26 Thread Alexandre Plennevaux
hello! Since Firefox3, the thickbox (iframe mode) i use only show content if i refresh the iframe inside the thickbox _ rather annoying... Has anyone been facing this and know a fix? Thanks ! Alexandre -- Alexandre Plennevaux LAb[au]

[jQuery] Refactoring help

2008-06-26 Thread Dan Atkinson
Hey guys! I've spent a bit of time writing some JS to pull some JSON into three dropdowns, and the resulting code is a bit messy (70 lines, of which, 40 is just repetition). I'm a bit useless with refactoring, and I would really appreciate some pointers in trying to tidy this code up. I'm not no

[jQuery] jtemplates performance

2008-06-26 Thread Andiih
I am using jTemplates (jquery-jtemplates.js) to render a large xml response by running xmlToJSON then processTemplate. Although the code works fine, and performance in FF2.0 is acceptable (2672ms) on my test system, I am getting a result of 9827ms when running in IE7. Is there a known performanc

[jQuery] Re: Trying to use jQuery and lightview on the same page

2008-06-26 Thread Pegpro
How do I use that? On Jun 25, 7:25 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > Have you tried jQuery.noConflict(); > ?http://docs.jquery.com/Core/jQuery.noConflict > > On Jun 25, 9:12 am, Pegpro <[EMAIL PROTECTED]> wrote: > > > Does anyone know? > > > On Jun 25, 12:06 pm, Pegpro <[EMAIL PROTECT

[jQuery] How to get the selected word ?

2008-06-26 Thread Aillas
Hi, I'm trying to reproduce the altclickanswers on nytimes website, but with jQuery. Basically, when you dblclick on a word, it fires a popup with the selected word for query. My problem is "How to get the selected word" ? Which selector can i use ? var the_selected_word = ???; $(the_selected_w

[jQuery] Find parent width from sum of child divs

2008-06-26 Thread jimster
Hi There, It's my first time posting, and I've only been using jquery for a couple of hours, but I'm pretty darn impressed with what can be down with so much ease. I'm building a slider style gallery (it's kind of like a full screen version of the coda website if your familiar with it). It's com

[jQuery] Has anyone been able to perform Hover-Grouping?

2008-06-26 Thread F1LT3R
I am stuck trying to create a hover for two separate TD elements like so... $('td.add, td.dropdown').hoverIntent( ) The problem is that when I hover out of TD.add and into TD.dropdown, jQuery interprets this as HoverOUT. I want it to still be HoverOVER if I move my cursor into the other area ou

  1   2   >