[jQuery] Re: Can a dialog not show an alert message?

2009-03-23 Thread delphilynx
The code I have: [code] // Show edit planitem dialog function showEditPlanitemDialog(planid, title, timestamp){ $(#edit_dialog).dialog({ width: 155, buttons: { Ok: function() { // Save $.ajax( {

[jQuery] Re: IE8 BlockUI incompatible

2009-03-23 Thread dfd
Mike, your page fails for me with not implemented Nicht implementiert jquery.blockUI.js?v2.16, line 227 character 17 on Win XP Pro w/ SP3 and IE8 Regards, Frank On 20 Mrz., 22:10, Mike Alsup mal...@gmail.com wrote: This eliminates the exception, but the placement of the floating content

[jQuery] Re: highlight errors

2009-03-23 Thread jQuery Lover
Are you using your own validation code or validation plugin ? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Mar 23, 2009 at 10:30 AM, anush anushshe...@gmail.com wrote: Is it possible to highlight all the text boxes in a from even if there is an error in just

[jQuery] How to prevent loading jquery twice

2009-03-23 Thread Andy789
Hi all, I have different independent modules using jquery and need to avoid its double loading. So, instead of loading jquery, I am loading the code: if (typeof jQuery != 'undefined') { document.write('script type=text/javascript src=/templates/

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread Liam Potter
why would you be loading the library for each script? Andy789 wrote: Hi all, I have different independent modules using jquery and need to avoid its double loading. So, instead of loading jquery, I am loading the code: if (typeof jQuery != 'undefined') { document.write('script

[jQuery] Re: jquery and netbeans 6.5

2009-03-23 Thread jQuery Lover
I don't use it as an IDE, but I remember updating my jQuery version. You need to create a new zip file similar to the one found here: C:\Program Files\NetBeans 6.5\webcommon1\modules\ext\javascript Copy paste jquery-1.2.6.zip to something lik jquery-1.3.2.zip and don't forget to change the

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

2009-03-23 Thread Sam
The risk with linking to a latest build is that something will break when the linked-to version of jquery changes. Imagine for instance that you made heavy use of @selectors, and were running live with these when the change was made from 1.2 to 1.3. Your site would break. Such eventualities as

[jQuery] IE6 + SSL mixed content error

2009-03-23 Thread pfiller
When attempting to use jquery form plugin to handle an image upload over SSL, IE 6 presents the dreaded mixed content error. This is because jquery form adds an iFrame with no src. An easy, cross- browser fix can be attained by changing the line that adds the iFrame to include this src:

[jQuery] Beginner Question

2009-03-23 Thread rsebag
Hello, Am using the jQuery treeview plugin Would like the folders in the tree to open/close only when the user clicks on the folder or the [+] sign. Right now it opens/closes also when one clicks on the text. (This messes up my application since I have a checkbox on each folder. After a person

[jQuery] how to use drag and resize

2009-03-23 Thread leaderxman
$(ui.draggable).clone().appendTo($(this)).draggable().resizable() resizable is work draggable didn't work

[jQuery] Cannot call a function within the callback part of $.get in IE7

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

[jQuery] Re: ui tabs how to link to a new page

2009-03-23 Thread acamar
I need the same. I have tabs which switch on mouseover and when clicked I need this work as a common link. Unfortunately, tabs plugin does not generate click event. Therefore I wrote small code which get an URL from rel attr of the ancors and points the browser to the new location. div id=tabs

[jQuery] minification

2009-03-23 Thread dereck009
How the jquery code was minified? I mean it's about 56 kB, while yui compressor gives a 72 kB result. As I saw it's not obfuscated, only minified, so I'm really intrested in the way you did this.

[jQuery] JS Toolbox - Sortable Table

2009-03-23 Thread tsp...@gmail.com
I was looking for a simple way to have a sortable table and found this at jstoolbox - http://www.javascripttoolbox.com/lib/table/documentation.php But in all honesty I seem to not be able to get it to work. Does anyone have any clue what I am doing wrong? http://43photo.com/store/files.php

[jQuery] jquery_ajax + servlet problem

2009-03-23 Thread Michael
It takes me almost half a day , but I haven't solve it ,I don't know why . I would be much appreciate for your help... $(document).ready(function(){ alert(can show); $(#button).click(function(){ alert(when click button , can show );

[jQuery] drag drop resize doesn't work in jquery 1.3.2

2009-03-23 Thread leaderxman
this is my code it worked in jquery 1.2.6 but doesn't work in jquery 1.3.2 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html;

[jQuery] fadeOut Callback woes

2009-03-23 Thread Fluffica
Good morning all, Apologies again if this is a really basic question, but I've searched though the jQuery Docs and am struggling to find a solution. function lovelyFunction() { $(#lovelyDiv).fadeOut(5000,function(){ alert(Why now?); }); }; Everything I'm reading

[jQuery] Re: IE8 BlockUI incompatible

2009-03-23 Thread Mike Alsup
Mike, your page fails for me with not implemented Nicht implementiert jquery.blockUI.js?v2.16, line 227 character 17 on Win XP Pro w/ SP3 and IE8 Regards, Frank Thanks, Frank. What browser mode and compatibility mode did it fail in?

[jQuery] Re: Beginner Question

2009-03-23 Thread jQuery Lover
Which treeView plugin are you using? http://jquery.bassistance.de/treeview/demo http://be.twixt.us/jquery/treeView.php The second one collapses and expands when you click on [-]/[+] links only... probably what you want... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread Andy789
Because some components are loaded inside of iframe and need its own jQuery. some compionents are loaded one-by-one and need only one common library On Mar 23, 9:39 pm, Liam Potter radioactiv...@gmail.com wrote: why would you beloadingthe library for each script? Andy789 wrote: Hi all, I

[jQuery] Re: jquery_ajax + servlet problem

2009-03-23 Thread jQuery Lover
You are mapping your AddComment request to be /servlets/AddComment but making AJAX request to AddComment. Probably changing $.post to this will help: $.post(/servlets/AddComment, function(data){ Unless the current page is also in /servlets. PS. You might find $.getJSON() method useful

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread jQuery Lover
Why not include jQuery in your head and don't worry about it being already loaded or not in your components. Then remove jquery loading in all of your components... This will make sure your components concentrate on their main business logic ... Read jQuery HowTo Resource -

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

2009-03-23 Thread MorningZ
I totally agree with Sam don't blindly change working pages with new versions! You're doing nothing but asking for trouble On Mar 23, 5:59 am, Sam sam.carring...@gmail.com wrote: The risk with linking to a latest build is that something will break when the linked-to version of jquery

[jQuery] Re: minification

2009-03-23 Thread jQuery Lover
Using latest YUI and default configuration I got 53.7KB Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Mar 22, 2009 at 11:40 PM, dereck009 galambal...@gmail.com wrote: How the jquery code was minified? I mean it's about 56 kB, while yui compressor gives a 72

[jQuery] Re: jQuery Form plugin, the checkbox and the formData array

2009-03-23 Thread Mike Alsup
The problem is that this CB function finds only checked checkboxes. That's how forms are supposed to be submitted. If you don't want this behavior then you'll have to serialize the form yourself using fieldSerialize. For example: $('#myForm').submit(function() { var data =

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread Liam Potter
well, the ones loading through the iframe will need jquery loaded in the iframe, and the components loaded one-by-one only need jquery loaded once.. I don't understand what you are trying to do hre, just load jquery in the head. Andy789 wrote: Because some components are loaded inside of

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread Andy789
we are talking about joomla's index.php (used as a main page) and index2.php (used as an iframe). Index2.php is always a part of index.php. Therefore, 1) if I include jquery to the main page header, the iframe (generated as index2,php) will not work as there is no jquery in there 2) if I include

[jQuery] Re: fadeOut Callback woes

2009-03-23 Thread ryan.j
is #lovelyDiv definitely unique?

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread Andy789
also, it is working (only in FF, though) and not very stable. I think what is happening, when I write the script.../script reference to the header, it does not mean that it is loaded. in fact, it is loaded SOMETIMES On Mar 23, 10:28 pm, Andy789 e...@abcstudio.com.au wrote: we are talking about

[jQuery] Re: minification

2009-03-23 Thread MorningZ
Using the online YUI Compressor here http://www.refresh-sf.com/yui/ simply pasting in the results from here http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js Resulted in before 124995 after 59670 compression ratio: 52% On Mar 22, 2:40 pm, dereck009

[jQuery] Re: Rotating CSS classes each 5 sec

2009-03-23 Thread RobG
On Mar 23, 2:33 pm, mkmanning michaell...@gmail.com wrote: Presumably, which points out a recurring problem: because we don't know the OP's intended use, vis-à-vis actual markup and CSS, etc. everything we suggest is somewhat academic. Other suggestions proposed iterating over collections

[jQuery] Style Horizontal Scrollbar

2009-03-23 Thread Paul Collins
Hi all, I'm trying to scroll a horizontal scrollbar and having some troubles. I've been searching far and wide and only come up with scrollpane so far - which works for vertical scrollbars, but not Horizontal. Has anybody managed to style a horizontal scrollbar for a div, (with overflow set to

[jQuery] submit form into shadowbox (or lightbox)

2009-03-23 Thread Federico González Brizzio
Hi, I need to call a shadowbox page doing a post form. My form would be something like this: form id=form1 name=form1 method=post action= input type=text name=textfield id=textfield / input type=hidden name=hiddenField id=hiddenField / /form What I need is that the destination page of

[jQuery] Playstation 3

2009-03-23 Thread Johan
jQuery fails on the Playstation 3 browser. Yeah I know the PS3's NetFront browser really sucks at JS but it would be good if the plugin ran so even basic effects would work.

[jQuery] Re: Playstation 3

2009-03-23 Thread ryan.j
tbh i think you'd be better off telling Sony about it mate ;) On Mar 23, 11:21 am, Johan johandesi...@gmail.com wrote: jQuery fails on the Playstation 3 browser. Yeah I know the PS3's NetFront browser really sucks at JS but it would be good if the plugin ran so even basic effects would work.

[jQuery] Re: Playstation 3

2009-03-23 Thread John Resig
If I remember correctly - the NetFront browser was missing some fairly fundamental features. I don't remember which, off-hand, but it was enough to cause jQuery not even to load. --John On Mon, Mar 23, 2009 at 7:21 AM, Johan johandesi...@gmail.com wrote: jQuery fails on the Playstation 3

[jQuery] Re: How to prevent loading jquery twice

2009-03-23 Thread Peter Edwards
Are you using joomla to load jQuery? or are you wringin script tags in some sort of template? I came across this: http://www.packtpub.com/article/using-javascript-effects-with-joomla which seems to imply joomla can handle you script inclusion. hope this helps on 23/03/2009 11:41 Andy789

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

2009-03-23 Thread Eridius
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 installed IE8, Multiple IE stopped render

[jQuery] Re: JS Toolbox - Sortable Table

2009-03-23 Thread Matt Kruse
On Mar 22, 5:59 pm, tsp...@gmail.com tsp...@gmail.com wrote: I was looking for a simple way to have a sortable table and found this at jstoolbox -http://www.javascripttoolbox.com/lib/table/documentation.php That's my lib, and I am currently working on improving it for another release. Right

[jQuery] Forced bubbling

2009-03-23 Thread John Smith
I have 2 containers i disabled event bubbling for first container. This is must have $ ('#first').click(function() { return false; }); Now i need to detect if user clicked outside #second container $ (document).click(function () { alert('clicked somewhere'); }); Clicking on #first doesn't

[jQuery] Re: Forced bubbling

2009-03-23 Thread John Resig
Why not do: $('#first').click(function(e) { e.preventDefault(); }); --John On Mon, Mar 23, 2009 at 9:20 AM, John Smith master9...@gmail.com wrote: I have 2 containers i disabled event bubbling for first container. This is must have $ ('#first').click(function() { return false; }); Now

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

2009-03-23 Thread Giovanni Battista Lenoci
Eridius ha scritto: 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 installed IE8, Multiple IE

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

2009-03-23 Thread Martin Möller
Eridius  wrote: Do you guys have any tips/tricks for properly test IE8/7/6 On Vista and XP? Sure, the best Solution i found so far is Xenocode. http://www.xenocode.com/browsers/ Known Issues • The IE8 executable triggers a false positive warning when using Avira AV. UPDATE: Avira is patching

[jQuery] Re: drag drop resize doesn't work in jquery 1.3.2

2009-03-23 Thread Richard D. Worth
Have you upgraded jQuery UI as well as jQuery? jQuery UI 1.5.3 is only compatible with 1.2.6. If you upgrade to jQuery 1.3+, you'll need jQuery UI 1.7+. Also, note: there's a separate mailing list for jQuery UI help: http://groups.google.com/group/jquery-ui See you there, if you have any more

[jQuery] Re: simulate radio with checkboxes in a table

2009-03-23 Thread Sean O
This should work for you... $('#mytable input').click(function(){ // get current time (class name) var time = $(this).attr('class'); // iterate through each input except the one clicked $('#mytable input').not($(this)).each(function(){ // if it has the same class name, uncheck

[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

[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

[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

[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

[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,

[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 martijn.hout...@gmail.com wrote: On Mar 23, 2009, at 1:59 PM, Eridius wrote: I say that friday that IE8 was released so I downloaded it to

[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: div class=actualC div class=actualCa div class=actualCRotImg thru=img1, img2, img3, img4, img5 /div /div

[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

[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 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-

[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

[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 plugin

[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

[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

[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 your

[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 ryan.joyce...@googlemail.com 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 martijn.hout...@gmail.com wrote: On

[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 a tags are inside p tags. So this below will work for the .wmv file but fall down on the flv. pa class=video

[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] 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] 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

[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] 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.

[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

[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. html head script src=jquery-1.3.2.js/script /head body div id=a1 ondblclick=alert('1'); style=width:

[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] 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] [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

[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] 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: a href=load.html class=ajax-clickery/a div id=ajax-content/div Loads this page into div#ajax-content: a href=load-another.html class=ajax-clickery-two/a When you first render the page, you're grabbing

[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: ?php echo json_encode( array('success' = mysql_num_rows( mysql_query(

[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 t...@crowdersoftware.com wrote: Hi, You're creating (or worse, overwriting) global variables 'remove' and 'add' there (because you

[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 christopheri...@gmail.com wrote: Thanks!  I'm not sure I'm quite getting it.  Would you mind providing an example? On Mar 20, 12:16 

[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

[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

[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

[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 mi...@favorfavor.com 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

[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 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html

[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

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

2009-03-23 Thread Ptang
On Mar 13, 5:52 am, MorningZ morni...@gmail.com 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

[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

[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

[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

[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

[jQuery] data is posted only once

2009-03-23 Thread Baly
Hi There I got some elements here. a href=# id=p_12 class=pager/a a href=# id=p_13 class=pager/a jquery: $(function() { $('a.pager').click(function() { var currentpage = $(this).attr('id');

[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

[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: html head titlejQuery Validation test/title script type=text/javascript src=js/jquery-1.3.2.min.js/script script type=text/javascript src=js/jquery-validate/ jquery.validate.js/script script type=text/javascript

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

2009-03-23 Thread Ptang
On Mar 13, 5:52 am, MorningZ morni...@gmail.com wrote: A custom parser would *definitely* handle this On Mar 13, 5:52 am, MorningZ morni...@gmail.com 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

[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 morni...@gmail.com wrote: just can't say if ($.inArray(value, array) -1) {    // found in array? } On Mar 23, 2:59 pm, Mike521 mi...@favorfavor.com

[jQuery] Re: remote validation

2009-03-23 Thread MartinBorthiry
On 23 mar, 16:10, MartinBorthiry martin.borth...@gmail.com 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

[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 it

[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: 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 k...@englishrules.com 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);

[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] 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){

  1   2   >