[jQuery] Re: data is posted only once

2009-03-23 Thread Steven Yang
how about try setting cache:false?

[jQuery] Re: Changing the ID of a cloned table row

2009-03-23 Thread rivkadr
I don't know why I need true in the function. I just copied the code from elsewhere ;) I am NOT a jquery (this is my first time using it) or JS expert, so am just trying to cobble something together for a work project, which is due by tomorrow. I'm using this: http://www.isocra.com/2008/02/table-

[jQuery] Will resize the jquery ui 1.5.3 at 1.7.1 of knobTheme how to use?

2009-03-23 Thread leaderxman
Will resize the jquery ui 1.5.3 at 1.7.1 of knobTheme how to use?

[jQuery] Re: Very slow find

2009-03-23 Thread Michael Geary
If you are free to change the XML format, are you free to change it completely? Could you change it to HTML instead, and format the HTML in the same way that you are doing in JavaScript now? Then you could simply use $('#content_window_pages').load(...); and it would be very fast. Or you could u

[jQuery] Re: How do I get attributes of clicked link

2009-03-23 Thread Dhana
You mean like the title or the href or any other defined attributes of the link? You could do this $('link').click(function(){ var title = $(this).attr('title'); var href = $(this).attr('href'); var id = $(this).attr('title'); }); On Mar 23, 9:25 pm, kevinm wrote: > I am need to get t

[jQuery] Re: tablesorter - Force Null / Empty Cells to the Bottom?

2009-03-23 Thread Flight553
> you were on the right track with the ".addParser" method but there's > no need to edit it inside the core code Ok, I'll bite. How? addParser() just lets you determine one value that goes to sortnumeric(a, b) or sorttext(a, b). Those methods are designed to put a value on top when sorting one d

[jQuery] [localscrol] How do I get attributes of clicked link

2009-03-23 Thread kevinm
I am need to get the attributes of the click link because I need to perform an event based on the id of the link. Basically the has is used to scroll to a section. I then want to use the additional information to cause an ajax load Thanks Kevin

[jQuery] Re: Suggestion on solution for array to new html content

2009-03-23 Thread mkmanning
Why not do two passes, since the array will have a one-to-one correspondence with the divs in the containing div? $(document).ready(function(){ var arr = [{content: 'some html 1', data: 'some data 1'},{content: 'some html 2', data: 'some data 2'},{content: 'some html N', data: 'some data N'}]

[jQuery] Suggestion on solution for array to new html content

2009-03-23 Thread sliver
Hi all, Ive been exploring various solutions for the following and was interested to hear other opinions: >From AJAX call: "[{content: 'some html 1', data: 'some data 1'}, {content: 'some html 2', data: 'some data 2'}, ... , {content: 'some html N', data: 'some data N'}]" Desired: Take the arra

[jQuery] Re: Data Array

2009-03-23 Thread Brad
You can use an array of objects, e.g. var choices= [ { name: "foo", id: "1" }, { name: "bar", id: "2" }, { name: "baz", id: "3" } ]; Your autocomplete callback might look like this function MyAutoCompleteCallback (event, data, formatted) { $("#my_hidden_fld").val(data.id);

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Jeffrey Kretz
+1. I found Multiple IE to be inaccurate for certain types of CSS and Javascript. I've used VPC for my compatibility testing for some time now and swear by it. JK -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Dhana Sent: Monday, Ma

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Dhana
The best way if you use Windows is to install virtual PC. Get the Virtual PC for free from Microsoft here http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&displaylang=en Then, download the VHD images here. They usually expire after a few months, but

[jQuery] Re: jQuery right before tag?

2009-03-23 Thread mkmanning
It works fine, and it's a good idea. Check out Steve Souder's performance rules developed while he was at Yahoo!: http://developer.yahoo.com/performance/rules.html#js_bottom On Mar 23, 2:12 pm, Nic Hubbard wrote: > I am working on optimizing my page for speed.  And, in doing this, I > am wonderi

[jQuery] Re: Toggling radiobutton selection

2009-03-23 Thread expresso
Thanks good points. I'll give it a try! RobG-2 wrote: > > > > > On Mar 24, 10:20 am, expresso wrote: >> I'm wondering how to toggle radiobutton on selected vs. not.  If selected >> show a div via ID. > > Radio buttons don't have a selected property, they have a checked > property. > > Y

[jQuery] Re: Changing the ID of a cloned table row

2009-03-23 Thread Karl Swedberg
A few things: 1. Why do you need return true in the function? 2. "13" is not a valid ID, 3. you should probably be appending the row to a tbody, not the table. Nevertheless, I just tried your first function and it seemed to work fine for me: http://jsbin.com/ideju/edit Does that work for

[jQuery] Re: Very slow find

2009-03-23 Thread James
Read through this post to help speed up DOM inserts: http://www.learningjquery.com/2009/03/43439-reasons-to-use-append-correctly On Mar 23, 3:46 pm, Martin Tiršel wrote: > Hello, > > I get XML answer from server with ~5k lines and I need to parse this data   > into the table and display in HTML.

[jQuery] Re: Toggling radiobutton selection

2009-03-23 Thread RobG
On Mar 24, 10:20 am, expresso wrote: > I'm wondering how to toggle radiobutton on selected vs. not.  If selected > show a div via ID. Radio buttons don't have a selected property, they have a checked property. You can add an onclick listener that checks if (this.checked), do whatever. That s

[jQuery] Very slow find

2009-03-23 Thread Martin Tiršel
Hello, I get XML answer from server with ~5k lines and I need to parse this data into the table and display in HTML. I wrote a script to do this job, but it takes too much time to complete (~35 seconds in opera), what is not I want. Is there a way to improve this script? Perhaps there is mo

[jQuery] jQuery Validation Plugin & ASP.NET

2009-03-23 Thread Zach
I've tried to get this to work for the past 4 hours and I'm stuck. I've got a master page with the following scripts added. this is the form tag on my master page in the HTML output of the page, it actually renders to "aspnetForm". in the content page, this is what I have

[jQuery] Changing the ID of a cloned table row

2009-03-23 Thread rivkadr
Am getting bloody from beating my head against the wall. I just want to be able to change the id of a table row that is cloned and appended to a table. This shouldn't be so hard, no? Here's what I've tried: function addTableRow(table) { var clonedRow = jQuery(table + " tr:last").clone().

[jQuery] Re: Cannot get height in Opera

2009-03-23 Thread Nikola
Is anyone familiar with this? On Mar 22, 10:32 pm, Nikola wrote: > Hello, > > I posted this in the UI group but I'm thinking the question may belong > here.  I can't seem to get the height of Dialog titlebars in Opera. > I've tried numerous approaches.  You can run the below code in Opera > with

[jQuery] Re: Click event is not captured by jQuery after the link to click is rendered by AJAX through jQuery

2009-03-23 Thread tadatoshi
Thank you, Eric. It worked very well. In my previous example, I modified the code like this following your advice: jQuery(document).ready( function($) { jQuery( ".class-name-for-element-for-ajax" ).click( function() { ... jQuery.get( jQuery(this).attr("href"), { some_variab

[jQuery] Re: Stop propagation (I think) on nested lists

2009-03-23 Thread Lucas Efe
Sorry, i solved just by updating the jquery-ui. thanks anyway. On Mar 23, 9:13 pm, Lucas Efe wrote: > Hi everyone, > I am trying to do a multi level UL /LI with the sortable component of > jquery-ui. The sortable behaviour its only available while moving on > the same level (vertical). It work

[jQuery] Stop propagation (I think) on nested lists

2009-03-23 Thread Lucas Efe
Hi everyone, I am trying to do a multi level UL /LI with the sortable component of jquery-ui. The sortable behaviour its only available while moving on the same level (vertical). It works OK while dragging between first level elements, but everything starts to fall apart when dragging between elem

[jQuery] [autocomplete] Bug on line 184

2009-03-23 Thread ddorothy
We discovered that when the auto complete values contain commas and you are not using the multiple input mode, the result would not show up in the input box (actually it would but it would be removed before you could tell if you were not stepping through the code). We discovered that on line 184

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread KathyW
On Mar 23, 11:59 pm, Eridius wrote: > However, after i installed IE8, Multiple IE stopped render correctly (I use > Multiple IE to test for IE6 and this is only at work since I have yet to > find a way to run IE6 on Vista at home). I'd read of issues with ie8 install *after* MultipleIE, so whe

[jQuery] [JQuery][Validate][Metadata] Custom error message.

2009-03-23 Thread Korro
Hello. I have code like this: I'm using Validate with Metadata. How can I add custom validating error message for this field? Thanks in advance.

[jQuery] [autocomplete] Data Array

2009-03-23 Thread Nick
Hello, I am attempting to use the autocomplete plugin to allow users to pick a text value from an input box and have the db id of that value populated to a hidden field that can then be posted back to the application. I have this working fine with a url data source, but am confused how to do it

[jQuery] Toggling radiobutton selection

2009-03-23 Thread expresso
I'm wondering how to toggle radiobutton on selected vs. not. If selected show a div via ID. -- View this message in context: http://www.nabble.com/Toggling-radiobutton-selection-tp22672135s27240p22672135.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: Testing if a .data('key') is defined?

2009-03-23 Thread Brad
typeof( $("#foo").data("bar") ) will return 'undefined' On Mar 23, 5:29 pm, I wrote: > I'm using .data to store some information and occasionally hit a case > where I'll try to do something with the stored data and will get an > error e.g., $("#foo").data("bar") is undefined. > > I need to fix my

[jQuery] Testing if a .data('key') is defined?

2009-03-23 Thread Brad
I'm using .data to store some information and occasionally hit a case where I'll try to do something with the stored data and will get an error e.g., $("#foo").data("bar") is undefined. I need to fix my code so that doesn't happen, but would like to know the best way to test if "bar" has been def

[jQuery] Re: Forced bubbling

2009-03-23 Thread Karl Swedberg
On Mar 23, 2009, at 5:32 PM, John Smith wrote: In my case i need prevent bubbling. Guess there arent any way to do what i need :( sure there is. to prevent bubbling, use event.stopPropagation(); http://docs.jquery.com/Events/jQuery.Event#event.stopPropagation.28.29 --Karl Kar

[jQuery] Re: [validate] -

2009-03-23 Thread Laurent
Well, it's a bit strange... After some more testing, the remote validation seems to work like a charm when I don't set breakpoints in Firebug. But with breakpoints in Firebug, the remote validation is activated each time I focus another field (ie the input value has not been changed). It's REALLY

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-23 Thread Jörn Zaefferer
Passing a function as a message happens all the time when using $.format("... {0}") as messages. The function is expected to return the formated message, so you can just return the string value you want to display at the end of your function. Jörn On Mon, Mar 23, 2009 at 10:39 PM, Andy Matthews w

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Eric Garside
If you'd prefer shortcut functionality, try: $.isInArray = function(arr){ return $.inArray(arr) > -1 ? true : false } On Mar 23, 4:59 pm, Klaus Hartl wrote: > Read inArray as positionInArray rather than isInArray here... > > --Klaus > > On 23 Mrz., 21:25, MorningZ wrote: > > > Yeah, like what

[jQuery] Re: jQuery right before tag?

2009-03-23 Thread MorningZ
It definitely works On Mar 23, 5:12 pm, Nic Hubbard wrote: > I am working on optimizing my page for speed.  And, in doing this, I > am wondering if I should put jQuery, as well as my other .js files > right before the tag, similar to google analytics files.  Is > this a good idea?  Or will thi

[jQuery] Re: Forced bubbling

2009-03-23 Thread John Smith
In my case i need prevent bubbling. Guess there arent any way to do what i need :(

[jQuery] Re: Cycle breaks in IE7 when using list box

2009-03-23 Thread Mike Alsup
> Bump?  Sorry if I'm coming across as dense and/or lazy here.  A short > example of what you're talking about would be great. $('#mySelect').change(function() { var id = $('option:selected',this).attr('id); if(id == 'goto1') // and so on });

[jQuery] Re: Cycle plugin Issue in Safari and Chrome browser

2009-03-23 Thread Mike Alsup
> safari doesn't recognize my cycle div's height (on this page the div > is .photo) > > the same thing happens on the home page, too. > > chrome has the same problems when you first visit the page, but fixes > itself when you leave the page and come back. > > anyone know what's going on?!?! Can

[jQuery] Re: Malsup/Cycle errors

2009-03-23 Thread Mike Alsup
> In any case, I got around the problem by just commenting out the > function in jquery.cycle.js that was causing the error... > Can you provide any details? What was the error? What did you comment out?

[jQuery] jQuery right before tag?

2009-03-23 Thread Nic Hubbard
I am working on optimizing my page for speed. And, in doing this, I am wondering if I should put jQuery, as well as my other .js files right before the tag, similar to google analytics files. Is this a good idea? Or will this not work?

[jQuery] jQuery.preload - Getting Link Mode To Work

2009-03-23 Thread Nic Hubbard
I seem to be having issues with getting link mode to work with Ariel Flesler's preload plugin. I have a hidden menu, which shows a hidden div when you mouse over a nav item. This then shows a list of names, and I am using the preload plugin to load up a thumbnail image for each of the names. Cu

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Klaus Hartl
Read inArray as positionInArray rather than isInArray here... --Klaus On 23 Mrz., 21:25, MorningZ wrote: > Yeah, like what he is suggesting is to return a boolean value   so > now if someone wants the position of the item, it would be a whole > separate function to do so > > to me, one

[jQuery] Hide/Show content in a div based on selected radiobutton

2009-03-23 Thread expresso
I'm very new to using jQuery ouside of basic form validation. I've got a radiobutton on my page (it's in an .aspx and is a .net control that will most likely have a class I can grab from jQuery is probably the route I'll go with this). When the radiobuttonlist is selected, I need to show conten

[jQuery] Re: having some trouble, Safari, Ajax, iframe

2009-03-23 Thread ocyrus
I should clarify that when i goto my progress bar with line 9 commented out in Safari, my progress bar shows up, and my GETS never happen. On Mar 23, 10:11 am, ocyrus wrote: > So after a lot of debugging Im still having trouble with something > that seems rather easy. And it works in all browser

[jQuery] Error on prepend in IE7

2009-03-23 Thread webspee...@gmail.com
Hey all. I'm using jQuery with flexigrid and when the table displayes in IE7, I get a JS error. Here is the JS error and block of code it references. unexpected call to method or property access prepend: function() { return this.domManip(arguments, true, function(elem){

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread MorningZ
Yeah, like what he is suggesting is to return a boolean value so now if someone wants the position of the item, it would be a whole separate function to do so to me, one single function and checking the value is more "intuitive", maybe if it was named something more inline with what it

[jQuery] Re: Regex Help for CSS Selector type deal

2009-03-23 Thread Eric Garside
Thanks a bunch, Karl. :) On Mar 20, 8:39 pm, Karl Swedberg wrote: > Hi Eric, > > These should work: > > var classes = 'your .string'.match(/\.[a-zA-Z_-]+/g); > var ids = 'your #string'.match(/#[a-zA-Z_-]+/g); > var idsAndClasses = '#your .string'.match(/(\.|#)[a-zA-Z_-]+/g); > > --Karl > > _

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Eric Garside
Honestly, inArray and arrayPosition are equally intuitive to me. If the value has a position in the array, then it is, by definition, in the array. inArray returning the array position is a similar check, but with a more robust ouput. Again, as MorningZ said, you can simply check it's value using

[jQuery] Re: tablesorter - Force Null / Empty Cells to the Bottom?

2009-03-23 Thread MorningZ
"I don't think a custom parser can "always force null data to the bottom." Maybe it's outside your skill level, but it is *definitely* do-able without touching one single character of code inside tablesorter.js you were on the right track with the ".addParser" method but there's no need to edit

[jQuery] Re: remote validation

2009-03-23 Thread MartinBorthiry
On 23 mar, 16:10, MartinBorthiry wrote: > Hello: >   I'm using the validation plugin on my site to make remote > validations, and it is working graet! >   But, I note that the ajax call is made allways. I think that that > call only has to be done when the input value has changed. Has no > sens

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Mike521
I'm not discussing whether I can or can't use it the way it is, I'm discussing which way is more intuitive. On Mar 23, 3:18 pm, MorningZ wrote: > just can't say > > if ($.inArray("value", array) > -1) { >    // found in array? > > } > > On Mar 23, 2:59 pm, Mike521 wrote: > > > I was about to

[jQuery] Re: tablesorter - Force Null / Empty Cells to the Bottom?

2009-03-23 Thread Ptang
On Mar 13, 5:52 am, MorningZ wrote: > A custom parser would *definitely* handle this On Mar 13, 5:52 am, MorningZ wrote: > A custom parser would *definitely* handle this I don't think a custom parser can "always force null data to the bottom." The custom parsers just normalize cell conten

[jQuery] Validate plugin not working

2009-03-23 Thread Brendon Gleeson
Sorry I couldn't wait for my other post to showup, so I made a typo: jQuery Validation test $(document).ready(function(){ $("#poesForm").validate({ rules : { name: { required : true } } }); });

[jQuery] having some trouble, Safari, Ajax, iframe

2009-03-23 Thread ocyrus
So after a lot of debugging Im still having trouble with something that seems rather easy. And it works in all browsers but Safari. http://pastie.org/423822 is the code. This code is actually being pulled in from an iframe. Once you hit the upload button, it makes calls to get the upload progres

[jQuery] Validate plugin not working

2009-03-23 Thread Brendon Gleeson
I have been trying all day to get the latest validate plugin to work with the latest jquery. It works when I specify the keywords in the class name, but when I try writing the code only in javascript {rules: {}} nothing happens, no error no nothing just nothing. This is doing my nut. The example b

[jQuery] Form Plugin + FCKEditor + UI Dialog Button

2009-03-23 Thread Joshua
I downloaded the fckeditor jquery plugin because i was told it would resolve issues with submitting forms via Form Plugin ajaxSubmit. But everytime I do it, my form won't submit anymore... My dialog button appears to be unbound but it's not because i can do a console.log(''); and it shows me but

[jQuery] Can't resolve Superfish issue.

2009-03-23 Thread prasun1519
Hello, I want to add a dropdown navigation bar in my site: http://strategicventurefund.com I added the module superfish and select the menu style as nav-bar. But I can't find any menu item nor there is any drop down occurs. Can anyone help me by giving me step-by-step instruction to use Superfis

[jQuery] data is posted only once

2009-03-23 Thread Baly
Hi There I got some elements here. jquery: $(function() { $('a.pager').click(function() { var currentpage = $(this).attr('id'); $.ajax({ url: 'php/pager.ph

[jQuery] Re: tablesorter - Force Null / Empty Cells to the Bottom?

2009-03-23 Thread Ptang
On Mar 13, 5:52 am, MorningZ wrote: > A custom parser would *definitely* handle this I don't think a custom parser can "always force null data to the bottom." The custom parsers just normalize cell contents into "numeric" or "text" format and that result is then sent on to the sorting routine

[jQuery] Cycle plugin Issue in Safari and Chrome browser

2009-03-23 Thread thursday0384
i'm working on this site http://mojoe.net/ContractService/cleaning.html and cycle works fine in everything except safari. safari doesn't recognize my cycle div's height (on this page the div is .photo) the same thing happens on the home page, too. chrome has the same problems when you first v

[jQuery] remote validation

2009-03-23 Thread MartinBorthiry
Hello: I'm using the validation plugin on my site to make remote validations, and it is working graet! But, I note that the ajax call is made allways. I think that that call only has to be done when the input value has changed. Has no sense to validate a value which has not changed. It is po

[jQuery] Problem concerning form with jquery

2009-03-23 Thread lecaillou
Hi, I have a problem i can't find a solution to, and as you can guess it's annoying me :) Here is my code : index.html http://www.w3.org/1999/xhtml";> Formulaire de commande dynamique http://www.google.com/jsapi"; type="text/javascrip

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread MorningZ
just can't say if ($.inArray("value", array) > -1) { // found in array? } On Mar 23, 2:59 pm, Mike521 wrote: > I was about to use inArray (http://docs.jquery.com/Utilities/ > jQuery.inArray) to determine if an element was in an array or not, but > I realized I can't use it as a true/false re

[jQuery] Re: IE6 how can I parse custom XML?

2009-03-23 Thread James
Read this post for some info: http://groups.google.com/group/jquery-en/browse_thread/thread/5e21b53b2f0b5a6c/b851d74ced744a19 It refers to XML that comes through AJAX so I don't know if it applies to your situation, but the references might be of help. On Mar 21, 8:59 am, Alexander Lyabah wrote

[jQuery] Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Mike521
I was about to use inArray (http://docs.jquery.com/Utilities/ jQuery.inArray) to determine if an element was in an array or not, but I realized I can't use it as a true/false response since it returns the position (and could return 0 if the element was found in position 0 - returns -1 if not found

[jQuery] Cannot call a function within the callback in IE7 [2]

2009-03-23 Thread zephyr
Hi, I make Ajax ($.get) calls and in the calback part I call a function defined elsewhere. In FireFox this is no problem. When I checked in IE however I kept getting an error 'object expected'. It took a while to figure out that if I remove the _call_ to the function with the actual function body

[jQuery] Re: Cycle breaks in IE7 when using list box

2009-03-23 Thread christopherious
Bump? Sorry if I'm coming across as dense and/or lazy here. A short example of what you're talking about would be great. On Mar 20, 1:36 pm, christopherious wrote: > Thanks!  I'm not sure I'm quite getting it.  Would you mind providing > an example? > > On Mar 20, 12:16 pm, Mike Alsup wrote:

[jQuery] Re: jquery toggle class, I needed to switch class....

2009-03-23 Thread Eric Garside
Or: jQuery.fn.switchClass( a, b ){ var t = this.hasClass(a); this.addClass( t ? b : a ).removeClass( t ? a : b ); } On Mar 23, 12:35 pm, "T.J. Crowder" wrote: > Hi, > > You're creating (or worse, overwriting) global variables 'remove' and > 'add' there (because you haven't given the 'var'

[jQuery] Re: How Easy To Implement RPC Between jQuery And PHP

2009-03-23 Thread Eric Garside
There are a few. The $.ajax methods will end up doing 90% of your work. I'll show you a pretty quick process demonstrating checking if an email address is registered. First, the PHP servlet page, check-email.php: mysql_num_rows( mysql_query( 'SELECT * FROM `user_emails` WHERE `email` = "'. $_REQ

[jQuery] Re: Click event is not captured by jQuery after the link to click is rendered by AJAX through jQuery

2009-03-23 Thread Eric Garside
It's because jQuery operates on the elements which already exist. Lets say for instance: Loads this page into div#ajax-content: When you first render the page, you're grabbing anything that exists. So: jQ1 = jQuery('.ajax-clickery'); // .length = 1 jQ2 = jQuery('.ajax-clickery-two'); // .l

[jQuery] Re: $("#id").attr("ondblclick", "New Value"); is not work in all browser.

2009-03-23 Thread Eric Garside
This is a horrible way to do what you're attempting. First, you should probably not be useing the inline events when you have jQuery readily accessible to you. Second, you should never, ever, ever, ever, ever write a callback using inline styling onclick handling. Third, you should really put all

[jQuery] Tooltip: jQuery Tooltip affects doc height in IE7

2009-03-23 Thread RambleCampbell
I'm using the jQery Tooltip plugin with the "bodyHandler" function enabled, so that I write a bunch of DIVs to the page and then based on ID pull the content from those DIVs into the tooltip. Everything works fine in Firefox, but for some strange reason in IE7, whenever I mouseover a table cell to

[jQuery] Re: jQuery 1.3.2 breaks tablesorter zebra, here's a fix

2009-03-23 Thread zayl...@googlemail.com
Thanks for this although this looked slightly different on mine and never had the .each loop $("tr:visible",table.tBodies[0]) .filter(':even') .removeClass(table.config.widgetZebra.css[1]).addClass (table.config.widgetZebra.css[0]) .

[jQuery] [autocomplete] How to activate autocomplete only after a certain character/string?

2009-03-23 Thread Halil Özgür
I have a domain textbox. I want to have an autocomplete only in the tld (top level domain/extension) part. Like: jquery [no autocomplete yet] jquery. [optional autocomplete] jquery.c .com .co.uk .cc .ac I want autocomplete only after the first do

[jQuery] $("#id").attr("ondblclick", "New Value"); is not work in all browser.

2009-03-23 Thread Vitaliy Katochka
Hello, After load this page, double click is not work in IE 7.0, Firefox 3.0.7. But in Opera 9.64 is work. What wrong? Please advice. $(document).ready( function() {

[jQuery] Click event is not captured by jQuery after the link to click is rendered by AJAX through jQuery

2009-03-23 Thread tadatoshi
Hi, I wrote a jQuery code to display a link in the side bar (like the ones such as "About this group" shown in the right pane of this page) through AJAX. Then I want the click event on the link to be taken care of by jQuery. But that event is not captured by jQuery. How can I capture the event?

[jQuery] Malsup/Cycle errors

2009-03-23 Thread BodhiLogic
I am using the cycle jquery plug-in on a site. I discovered that the code that I was using (jquery.cycle.lite.js) won't support what I need to do but either the jquery.cycle.js or jquery.cycle.min.js plug-ins will. When I try to use them, I get javascript errors inside the cycle plug- ins. Afte

[jQuery] How Easy To Implement RPC Between jQuery And PHP

2009-03-23 Thread !oEL
Hi, I'm really new to JS, but really like how AJAX simplifies the user interface experience. Some friends have recommended a variety of JS Lib/Frameworks, and I eventually decided to pick jQuery after glancing through its documentation. Now I want to try it out together with PHP to implement re

[jQuery] Re: jquery toggle class, I needed to switch class....

2009-03-23 Thread T.J. Crowder
Hi, You're creating (or worse, overwriting) global variables 'remove' and 'add' there (because you haven't given the 'var' keyword, and thus are creating implicit globals[1]). The temporaries don't really buy you anything anyway, perhaps simply: jQuery.fn.switchClass = function(class1,class2) {

[jQuery] Re: Jquery Media plugin - fails in ie

2009-03-23 Thread Steve
Hi Matthew, I had a similar problem and M. Alsup suggested I download an older version of the JW FLV (v3.8; current version is v4.3) player and the error ("object expected" from IE's script debugger) went away. Hope this helps On Mar 23, 8:09 am, "matthew.ni...@googlemail.com" wrote: > I'm n

[jQuery] Superfish menu activate on click

2009-03-23 Thread monk.e.boy
This is a really cool patch: http://plugins.jquery.com/node/3967 It makes your menu like those cool dropdowns on digg.com. Request: can we have [ click -> open menu -> second click -> close menu ] like a normal drop down box? Thanks!! I found a BUG: When you click the top menu item, then mouse

[jQuery] Jquery Media plugin - fails in ie

2009-03-23 Thread matthew.ni...@googlemail.com
I'm not sure if this is a problem with the media plugin (malsup.com) or with swfobject, but in IE only, and only with flash content, there is a runtime error when the tags are inside tags. So this below will work for the .wmv file but fall down on the flv. Effective Question

[jQuery] jquery toggle class, I needed to switch class....

2009-03-23 Thread Artistan
/// /// Switch Between Classes/// /// jQuery.fn.switchClass = function(class1,class2) { if(this.hasClass(class1)){ remove = class1; add = class2; } else {

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Pedro Vidal
Do you know the IE Tester? I'm using it, and it's nice... 2009/3/23 ryan.j > > I thought SuperPreview was aimed more at identifying layout issues, > rather than testing in a native enviroment? > > On Mar 23, 1:50 pm, Martijn Houtman wrote: > > On Mar 23, 2009, at 1:59 PM, Eridius wrote: > > >

[jQuery] IE error with Jquery

2009-03-23 Thread mjstenbe
Im getting the following error with IE 6 and IE 8 beta and Jquery. "Unexpected call to method or property access" Line: 12, Char 2305 Code: 0" The problem seems to be this declaration: this.appendChild(E)}})}, Im using the latest Jquery taken from the site today. Any help would be greatly app

[jQuery] Re: Keeping jquery codes up to date - best practise?

2009-03-23 Thread Jim Marion
@Microbe, you could combine your single domain solution with @Steve's Google Ajax library suggestion. Rather than linking directly to a hosted Ajax library, you could link to a JavaScript file hosted by you on a single domain. In that JavaScript file, call google.load ("jquery", "1.3.2"). When you

[jQuery] unbind('focus')

2009-03-23 Thread Maujor
Scenario: My form have 3 controls filled with placeholders named *, * and Comente. If user give focus to controls the placeholders vanishes and background color changes. Suppose user make a mistake in filling a control and submit the form. AJAX return an error message and preserve the data filled

[jQuery] Re: [validate] Suggested new feature for validation.

2009-03-23 Thread Jörn Zaefferer
Could you provide a simple mockup of the interaction you'd like to build? Just some markup and basic CSS and some JavaScript to indicate how the validation should interact with the "wizard" sections. That would help a lot to understand what you want to achieve and how to make the validation plugi

[jQuery] Re: [validate] Suggested new feature for validation.

2009-03-23 Thread Millman
The issue is that I can see how you did the multipart for required field validation but we have a lot of custom validation rules setup as well. Also, we don't like setting the validation up on the class attribute of an input (grows too large and becomes tedious to manage) and prefer to setup ever

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Martijn Houtman
On Mar 23, 2009, at 3:16 PM, ryan.j wrote: I thought SuperPreview was aimed more at identifying layout issues, rather than testing in a native enviroment? Oh, you could be right. I was unable to test it, because it does not even work for me (it crashes at startup), but it's still beta- sof

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread sleepwalker
Download IETester http://www.my-debugbar.com/wiki/IETester/HomePage and you can test 5.5 through 8. I use this daily, works great.

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Liam Potter
http://www.xenocode.com/browsers/ standalone browsers that run in their own sandbox, just download the exe files and run them. ryan.j wrote: I thought SuperPreview was aimed more at identifying layout issues, rather than testing in a native enviroment? On Mar 23, 1:50 pm, Martijn Houtman w

[jQuery] Re: Rotating CSS classes each 5 sec

2009-03-23 Thread Eric Garside
This code should work if you changes the css class in the var mobile = $() selector: my js is the last one $(function(){ function rotateClass(){ var el = $(t

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread ryan.j
I thought SuperPreview was aimed more at identifying layout issues, rather than testing in a native enviroment? On Mar 23, 1:50 pm, Martijn Houtman wrote: > On Mar 23, 2009, at 1:59 PM, Eridius wrote: > > > > > I say that friday that IE8 was released so I downloaded it to check   > > it out. > >

[jQuery] Re: submit form into shadowbox (or lightbox)

2009-03-23 Thread T.J. Crowder
(Sorry, premature click-itis.) I should have said that you would initiate the jQuery.ajax post from a submit handler on the form, passing the form data in as the 'data' parameter, and cancel the standard form submit (since that would refresh the entire page). -- T.J. :-) On Mar 23, 1:57 pm, "T.

[jQuery] Re: fadeOut Callback woes

2009-03-23 Thread Fluffica
Yes. Well. Not definitely. Let me check... Yes. Definitely. However, might be something simalar. I have card-a and card-b which are contained in slide-bar. card-a and card-b are containers to load and display content into alternatly. When the user closes the slide-bar, I want both of them to hide

[jQuery] Re: submit form into shadowbox (or lightbox)

2009-03-23 Thread T.J. Crowder
Hi, You can POST the form using jQuery.ajax[1] (being sure to set the 'type' parameter to 'POST'), and then handle creating and populating the shadowbox/lightbox in the 'success' handler using the response from the server. (Instead of jQuery.ajax, you could use jQuery.post [2] which is a simpli

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Martijn Houtman
On Mar 23, 2009, at 1:59 PM, Eridius wrote: I say that friday that IE8 was released so I downloaded it to check it out. I am happy that they did seemed to do at least a few right right and it seem very easy to test for IE8 and IE7 in the IE8 browser (which is very nice). However, after i i

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread ryan.j
have you tried http://tredosoft.com/Multiple_IE they do a standalone IE7 too, which i have limited success with so i just removed ie8. (make sure you have 'show updates' checked in add/ remove programs if you want to remove IE8, windows treats it as an upgrade). On Mar 23, 12:59 pm, Eridius wro

  1   2   >