[jQuery] Re: How can I make searching not case-sensitive?

2008-02-21 Thread andrea varnier
var xx=$(form#form1 *).fieldValue()[0].toLowerCase(); sorry :p

[jQuery] Re: Port FCK/TinyMCE to jQuery

2008-02-21 Thread Gordon
Thanks for pointing that out. But what I'm more concerned with is the fact you're downloading TinyMCE, PLUS jQuery, PLUS the plugin so it's lot of stuff being downloaded, and much of the code you actually have downloaded is just duplicated effort. Both jQuery and MCE implement DOM selectors,

[jQuery] Re: Calling WCF services using jquery?

2008-02-21 Thread Jack Killpatrick
No takers, eh? Anyone using WCF with jquery without asp.net ScriptManager? TIA, Jack Jack Killpatrick wrote: Hi All, I'm wondering if anyone can advise me or steer me to some useful links... I'm doing some research about MS WCF 3.5 web services and how it can be used for json-based web

[jQuery] Re: is there a secret to jQuery with Opera?

2008-02-21 Thread Ariel Flesler
What timothyjoe said is right, why don't you join the jpg-# ? The hash (#...) you add to the url is to avoid caching ? if so, you should use a search (?...) instead. That code is for images-off detection right ? What about this: $('img /') .load(function(){ $('#noimages').attr(href,

[jQuery] Re: Port FCK/TinyMCE to jQuery

2008-02-21 Thread weepy
http://batiste.dosimple.ch/blog/posts/2007-09-11-1/rich-text-editor-jquery.html On Feb 21, 9:20 am, Gordon [EMAIL PROTECTED] wrote: Thanks for pointing that out. But what I'm more concerned with is the fact you're downloading TinyMCE, PLUS jQuery, PLUS the plugin so it's lot of stuff being

[jQuery] Adding more than 3 images with jcarousel

2008-02-21 Thread Richi3f
Hi, I just downloaded the jcarousel and let me say its amazing! I'm going to use for a new site I'm working on, but the problem is that it only shows 3 images! I need it to show about 6 or 7, how can I make it to show more than 3 images? Thanks, Best regards, Richi3f PS: I'm using the thickbox

[jQuery] Taconite and Jquery 1.2.3

2008-02-21 Thread lvp1138
Has anyone been able to use Mike's great Taconite plugin with the latest jquery? When using Jquery 1.2.1, Firebug shows: [taconite] Plugin Version: 3.01 [taconite] [AJAX response] content-type: text/xml; status: 200 OK; has responseXML: true [taconite] type: undefined [taconite] responseXML:

[jQuery] select first item over multiple lists

2008-02-21 Thread RG
I have a feeling this is easy, but I can't seem to wrap my head around it. I want to match the first item of multiple lists. For example below, I would like a set with the foo 1 and bar 1 items . Can I get this using one match? My tries keep coming back to something like $('ul li:first'), but

[jQuery] Re: Read More button

2008-02-21 Thread Steve Schnable
Hi Karl, Yeah! It's very good. That's exactly what I want. I haven't used jQuery before. It's all new to me. So the first link below should help me how to do that. Thanks, Steve On Tue, Feb 19, 2008 at 10:17 PM, Karl Swedberg [EMAIL PROTECTED] wrote: I know of two plugins that do this sort

[jQuery] jcarousel - displaying more than 3 images

2008-02-21 Thread Richi3f
Hi, I'm new here and I'm just a beginner. The jcarousel's great! I loved it since the first time I saw it working at game.co.uk. I'm planning to use it for a new site I'm working on, but the displayed images are only 3, is there a way to change it to 6 or 7? Thank you in advance. Best regards,

[jQuery] Re: Sending base64 encoded data with .ajax()

2008-02-21 Thread Tom
Jeffrey, Thanks! That is exactly what I was missing. Working like a champ now. Thanks again, Tom On Feb 20, 12:48 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: Give the built-in javascript function encodeURIComponent a try and see if that helps. data: arg= + encodeURIComponent(arg) JK

[jQuery] Re: slideDown slideUp - Anyone Know How?

2008-02-21 Thread Macarrão
Or simply remove the dead link (#)! :) On 21 fev, 01:40, Karl Swedberg [EMAIL PROTECTED] wrote: If you're clicking on a link, you need to return false inside the click handler. For example ... $('a').click(function() { // do something ... return false; }); --Karl

[jQuery] Re: Problems in the overlay created by SimpleModal in IE6/7

2008-02-21 Thread Eric Martin
Strange...I have IE7 on Vista and it reports 7.0 for $.browser.version... On Feb 20, 7:56 pm, Nazgulled [EMAIL PROTECTED] wrote: After lots and lots of digging and testing I found something that fixed the problem in IE7. The thing was, jQuery has a bug on $.browser.version() and so, IE7 on

[jQuery] Re: formatting/defining variable values

2008-02-21 Thread pedramphp
HI there , Please send me the HTML form On Thu, Feb 21, 2008 at 2:02 AM, Robert Hill [EMAIL PROTECTED] wrote: Hello I'm collecting a number of values from various form elements: textfield, radio, checkbox. since some of the fields aren't require on my form, when I POST their values they

[jQuery] Re: on form submission, how to decide on submit: return true / false

2008-02-21 Thread Mahdi Pedram
HI there, This is the Code which You need , have fun Var Mydata{ Username: $('#username').val(), Password: $('#password').val() } $.ajax({

[jQuery] Re: .is() behaviour

2008-02-21 Thread Hamish Campbell
I think you're missing the point of event delegation. The $.delegate snippet is just a convenience (and, in my mind, unnecessary). The following code: $('#nav a').click($.delegate({ '.exit: function() { /* do stuff */ }, '.open: function() { /* do other stuff */ } })); Is functionally

[jQuery] Re: Trigger a toggle when page loads

2008-02-21 Thread Mang
OK, I think that my problem had to do with the fact that I'm using the livequery plugin to handle rebinding after new rows get created (I have not included this part of my code). I was able to get what I needed using the following code: //deactivate activate click handler var destroy =

[jQuery] IE problems with prepend since 1.2.3?

2008-02-21 Thread jody
IE6 and IE7 since upgrading to jQuery 1.2.3 is targeting line 264 in the jquery.js (uncompressed) with the error message, Unexpected call to method or property access. Here's the bit in jQuery it's referencing: prepend: function() { return this.domManip(arguments, true, true,

[jQuery] Re: Problem with form validation (works in FF, but not in IE)

2008-02-21 Thread Macarrão
Hails! Well, I've been using this plugin and it works nice! I think you'd better give the attribute name the same value as the id attribute. I believe IE and Opera selects by name insted of id. On 20 fev, 22:58, Chris Jordan [EMAIL PROTECTED] wrote: Hi folks, This page

[jQuery] Re: $.ajaxFileUpload into an ajax form

2008-02-21 Thread Yılmaz Uğurlu
I am using this plugin just like that. form ... ... my other form elements p label for=fileToUploadChoose File :/label input id=fileToUpload type=file name=fileToUpload / input type=button id=upload_btn value=Upload! onclick=ajaxFileUpload(); / /p ... other elements, my form is huge :)

[jQuery] Using JQuery works with browser, problem with Vista Sidebar Gadget.

2008-02-21 Thread Jagan
Hi, i'm trying to develop vista gadgets, with sliding effects for the RSS feeds, which has images, title, link to the detailed news page. i found that JQuery makes it simple in getting the effects, since m new to JQuery want to know about implementing the same in the Gadget. i tried the

[jQuery] Re: IE/Opera problem using ClueTip

2008-02-21 Thread fshuja
Please help me out! i have a project based on this and its delaying...

[jQuery] window resize event causes IE6 IE7 to hang

2008-02-21 Thread SeanR
Hi all, I'm using $(window).resize() to adjust a div height on the fly. I've found that rapidly changing the window size causes IE6 IE7 to hang - I guess because too many events are being fired for IE to cope? Here's my code : function content_resize() { var w = $( window );

[jQuery] Request parameters from dynamically added html element are missing on the server side

2008-02-21 Thread chris
Hi there, I tried to create input element dynamically using jQuery, in form of text field and file upload. But somehow when I dumped all my request parameters on the server side, I never received these parameters even though I saw the the input elements were created on HTML form. Could someone

[jQuery] jquery .fadeTo with radio buttons

2008-02-21 Thread utkarsh singhania
Hi I'm having a bit of a problem when using .fadeTo on a div containing radio buttons. There appears to be a darkened border forming around the radio buttons that persists after i fade it back to opactiy 1. This problem only occurs when i have my theme set to windows xp. if i set it to windows

[jQuery] Re: formatting/defining variable values

2008-02-21 Thread Hamish Campbell
What version of jQuery are you using? .val() should return rather than undefined if you find inputs successfully. HOWEVER, there is another problem: Putting ':checked' means that if the boxes are NOT checked, jQuery won't find them so .val() doesn't exist for the object. Remove the ':checked'

[jQuery] Possibly a bug with Form plugin and IE(7)

2008-02-21 Thread PQ
This works fine in FF, however when run in IE7 the showResponse function will never run. Actually, the ajax-event probably never fires. The beforeSubmit function runs however. $('#container').children('#form2').ajaxSubmit({dataType: 'xml', beforeSubmit: showRequest, success: showResponse});

[jQuery] Re: How can I make searching not case-sensitive?

2008-02-21 Thread dinu
This is nice, but my problem is with the divs in the list. They contain both lower case and upper case, but must be searched as they were exclusively lower case. Is there a way to do something like this: $(div.nume.toLowerCase:contains( + xx +)).parent().addClass(zero); ?? Thanks, Dinu On Feb

[jQuery] Having problems is using JQuery Effects in Vista Gadget.

2008-02-21 Thread Jagan
Hi, When trying to add a SlideUp effect it works well in the browser but the same does'nt work with the Vista Sidebar gadget. m curious to know the reason behind the problem. Let me know if u have any solutions. please find the code below: js $(document.body).ready(function() { //debugger;

[jQuery] Re: Taconite and Jquery 1.2.3

2008-02-21 Thread Mike Alsup
Peter, I just updated the demos to use jQuery 1.2.3 and I'm not seeing any problems: http://www.malsup.com/jquery/taconite/#examples The diff between replace and replaceContent boils down to what is being replaced. With replace, the entire element is replaced. With replaceContent only the

[jQuery] Re: jquery .fadeTo with radio buttons

2008-02-21 Thread Mike Alsup
I'm having a bit of a problem when using .fadeTo on a div containing radio buttons. There appears to be a darkened border forming around the radio buttons that persists after i fade it back to opactiy 1. This problem only occurs when i have my theme set to windows xp. if i set it to

[jQuery] Re: blockUI: moving the message that blocks an element to the top

2008-02-21 Thread Alan Fitzgerald
I can't, it's an internal company app. I am going to try and isolate it today. If I can reproduce it in a static page, I will post it. Thanks, -Alan On Feb 20, 6:06 pm, Mike Alsup [EMAIL PROTECTED] wrote: Thanks Mike.  You definitely provided a solution that should work. But the following

[jQuery] Re: formatting/defining variable values

2008-02-21 Thread Robert Hill
Thanks for looking! I posted the source above. cheers, -robert

[jQuery] Re: formatting/defining variable values

2008-02-21 Thread Robert Hill
Here is the html code: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 / titleForm : Carman Research/title link

[jQuery] I am looking for the datagrid which supports row/column merging and JSON

2008-02-21 Thread Channa L.
Hi All, I am looking for the good js datagrid which supports AJAX column sorting, row/column merging (rowspan/colspan), and JSON. Does anyone know where I can find such datagrid? Thanks, Channa

[jQuery] Re: formatting/defining variable values

2008-02-21 Thread Robert Hill
I'm using 1.2.2. I see how using checked could cause a problem, but I don't want the values if there are not checked... On Feb 20, 9:29 pm, Hamish Campbell [EMAIL PROTECTED] wrote: What version of jQuery are you using? .val() should return rather than undefined if you find inputs

[jQuery] form input helper

2008-02-21 Thread pihentagy
Hi all! I'm trying to achieve the following effect: When you focus on an input tag, the content of the div named 'help- for-xxx' should appear in the #help-tip element. And, accorgingly when you leave an input it should disappear. Appearing and disappearing means here fadeIn and fadeOut. Of

[jQuery] Re: .is() behaviour

2008-02-21 Thread Scott González
.is() doesn't support complex selectors (in this case the descendant selector). Unfortunately, this is undocumented and very misleading. There are two potential solutions: 1) .is'('.exit') .parents('#nav').length 2) override .is() to work as intended (below is the code I'm currently using)

[jQuery] Re: Problems in the overlay created by SimpleModal in IE6/7

2008-02-21 Thread Nazgulled
I don't know then, what I know is that on my Vista machine, IE7 is being recognized as IE6 and the code above fixed it. Anyway, I think I fixed the problem on IE6 and you were right after all, the code in your first reply fixed, I must have done something wrong before. But now, I'm having a

[jQuery] Re: .is() behaviour

2008-02-21 Thread John Resig
I'm using event delegation (http://www.danwebb.net/2008/2/8/event- delegation-made-easy-in-jquery) to capture events that have bubbled up to the #nav element. It might even make sense to capture clicks that bubble up to the document object. I want to use the .is function to figure out

[jQuery] Re: form input helper

2008-02-21 Thread Dan G. Switzer, II
When you focus on an input tag, the content of the div named 'help- for-xxx' should appear in the #help-tip element. And, accorgingly when you leave an input it should disappear. Appearing and disappearing means here fadeIn and fadeOut. Of course my solution is bad (fadeIn should wait fadeOut to

[jQuery] Re: .is() behaviour

2008-02-21 Thread Jonathan Sharp
Hi hartshorne, You're on the right track with event delegation as it is fundamentally different than binding the event to each link. With event delegation you have 1 event bound to 1 element (div), in binding to each link you have 1 event boud to two links. jQuery('#nav').bind('click',

[jQuery] Re: jcarousel - displaying more than 3 images

2008-02-21 Thread chrismarx
check out the configuration section of the jcarousel documentation http://sorgalla.com/projects/jcarousel/ (for you question, use the visible property) On Feb 20, 7:44 pm, Richi3f [EMAIL PROTECTED] wrote: Hi, I'm new here and I'm just a beginner. The jcarousel's great! I loved it since the

[jQuery] Re: What is the easiest way to add events to dynamically added rows?

2008-02-21 Thread Travis Fisher
Dan, I am planning on taking a look at Listen, but I was wondering if the Delegate plugin has the same functionality as Listen. The reason I'm inquiring about Delegate is because I am using the Validation plugin, which requires Delegate. Thanks for your help. Travis On Feb 20, 2:38 pm, Dan G.

[jQuery] Re: bind method to easily create closures with this altered.

2008-02-21 Thread whylom
I'm not sure what illegal Javascript syntax is. I just tested Jörn's code and it runs without errors, and lets you do this: $(thing).click(myFunc.bind(scope)); Instead of illegal, can we just call it very very risky to extend the prototypes of native JS objects? :) Altering the behavior of

[jQuery] Re: What is the easiest way to add events to dynamically added rows?

2008-02-21 Thread whylom
Wow - I asked Ariel Flesler (the developer of the Listen plugin) to explain why one would use it instead of LiveQuery. His response was way more cryptic than yours. Thanks for cutting through the haze, Dan! On Feb 20, 2:38 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: I am dynamically

[jQuery] Re: Lazy Load Select elements

2008-02-21 Thread Aaron Barker
Also not a direct answer to your question, but maybe an answer to why you are asking it... My initial guess would be that because you are just using a class as your selector it is having to search through every single element on the page (apparently over 20,000 of them) to find the elements that

[jQuery] Strange syntax error loading jquery.js

2008-02-21 Thread Jack Park
My browser (FF 2.0.0.12) appears to be trying to interpret some of the HTML as part of the javascript file. This bug appears frequently (but not every time) a page is loaded. Details below. I see it with jquery 1.2.1 and 1.2.3 full and minimized. I see it also in IE. I see it even when I comment

[jQuery] [Validate] Validating not happening in IE6 no error removal on keyup

2008-02-21 Thread scud
I've got two issues. I recently had to put some form validating on pages for a client and thought they were working fine since I could see them in FF, IE7 and Safari, however upon checking in IE6 I'm seeing that nothing is being checked. I see no errors on my pages, and don't know why it would be

[jQuery] Re: Validating not happening in IE6 no error removal on keyup

2008-02-21 Thread scud
Grr here's the urls. Contact Us form: http://www.doralbank.com/en/sub-pages/doral-contact-us.aspx Interested Form: http://www.doralbank.com/en/sub-pages/doral-interested.aspx

[jQuery] Re: What is the easiest way to add events to dynamically added rows?

2008-02-21 Thread Dan G. Switzer, II
Travis, I am planning on taking a look at Listen, but I was wondering if the Delegate plugin has the same functionality as Listen. The reason I'm inquiring about Delegate is because I am using the Validation plugin, which requires Delegate. Thanks for your help. It looks like Delegate provides

[jQuery] Re: window resize event causes IE6 IE7 to hang

2008-02-21 Thread Jonathan Sharp
Hi Sean, I'm guessing what's happening is as you resize the div to the height of the window - 270 it expands the document height which triggers another resize. Do you have a URL to this page? Cheers, -Jonathan On 2/21/08, SeanR [EMAIL PROTECTED] wrote: Hi all, I'm using $(window).resize()

[jQuery] Re: IE/Opera problem using ClueTip

2008-02-21 Thread Karl Swedberg
I want to help. I can't promise when I'm going to get to it, though. I'm really sorry. I have a flood of tasks that I haven't even been able to look at yet. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 21, 2008, at 1:40 AM, fshuja wrote:

[jQuery] Re: select first item over multiple lists

2008-02-21 Thread Karl Swedberg
Hi RG, Try $('ul li:first-child') instead. that should do it. http://docs.jquery.com/Selectors/firstChild Cheers, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 20, 2008, at 7:40 PM, RG wrote: I have a feeling this is easy, but I can't seem to

[jQuery] Re: What is the easiest way to add events to dynamically added rows?

2008-02-21 Thread Ariel Flesler
@whylom Sorry if my reply was cryptic (I don't remember when). The thing is I already answered that question a few times. I'll throw in a few differences, but let me say both are good plugins, they help on similar situations with different approaches. Note that I haven't ever used LiveQuery so

[jQuery] Re: Validating not happening in IE6 no error removal on keyup

2008-02-21 Thread scud
I seem to have fixed the IE6 issue by not using the packed version and instead putting in un-packed and un-minified version. Now I get the proper validation checks in IE6, but the erros still don't go away when someone enters in information. On Feb 21, 10:34 am, scud [EMAIL PROTECTED] wrote:

[jQuery] change image src not working in IE6

2008-02-21 Thread [EMAIL PROTECTED]
group, i just ran across an issue in IE6, that works in both Safari and Firefox. I am simply trying to change the source of an image using: $('img#tab2').attr(src,/b_tab2_on.png); img id=tab2 src=/b_tab2_off.png border=0 alt=colors/ I've noticed that in IE, the object is found but the attr

[jQuery] Re: Accessing elements from another frame

2008-02-21 Thread Thierry
Nobody have a suggestion for this?? On Feb 19, 10:52 am, Thierry [EMAIL PROTECTED] wrote: I, Is there an easy way to reproduce the following using only jquery? I am trying to hide and show an element in a specificframefrom anotherframe. This code is actually working but I would prefer

[jQuery] Re: How to keep text from being highlighted when I'm handling the mouse events

2008-02-21 Thread Eli_Cochran
We recently dealt with the same problem with IE on the Fluid project. We fixed it by trapping both the ondrag and onselectstart events. Note: these events only need to be trapped in IE and they are not jQuery events so you need to cast the object to a browser DOM object before trapping. Here is

[jQuery] Re: Validating not happening in IE6 no error removal on keyup

2008-02-21 Thread scud
I fixed the IE6 not-working issue by not using the packed version of the validate.js, so apparently the packed version is busted in IE6. I went with the full text version and almost all seems to be fine. I still have the problem of the fields not being checked as a user enters in information and

[jQuery] Re: How to keep text from being highlighted when I'm handling the mouse events

2008-02-21 Thread timothytoe
Thanks Eli. On Feb 21, 8:46 am, Eli_Cochran [EMAIL PROTECTED] wrote: We recently dealt with the same problem with IE on the Fluid project. We fixed it by trapping both the ondrag and onselectstart events. Note: these events only need to be trapped in IE and they are not jQuery events so you

[jQuery] Re: formatting/defining variable values

2008-02-21 Thread Robert Hill
oh, I misunderstood what you meant the first time. .val() instead of check should work originally I had wanted to collect all the values into one variable for the checkboxes, but I ran into some problems so I changed over to making a field for each checkbox. On Feb 20, 9:29 pm, Hamish

[jQuery] Re: Accessing elements from another frame

2008-02-21 Thread Richard D. Worth
This should do it $(#loading_div, top.content.document).show(); $(#loading_div, top.content.document).hide(); See http://docs.jquery.com/Core/jQuery#expressioncontext for more info. - Richard On Thu, Feb 21, 2008 at 11:03 AM, Thierry [EMAIL PROTECTED] wrote: Nobody have a suggestion for

[jQuery] Re: change image src not working in IE6

2008-02-21 Thread Richard D. Worth
I'm not sure what you mean by the attr array is empty. At any rate, here are a couple threads that may help: img src problem in IE6 http://groups.google.com/group/jquery-en/browse_thread/thread/10079cffbb35ede3 Swapping img src in IE shows blank

[jQuery] Selecting the ancestor of an element

2008-02-21 Thread AsymF
How would I select the ancestor or parent of an element?

[jQuery] Is this bug in jquery???

2008-02-21 Thread fshuja
i am using jquery version 1.2.3. I was trying to attach hover on area inside map. but find that its working ok in FF but not in IE. when i try to set area onmouseover= then it works for both IE n FF. is this the bug?? If IE supports onmouseover event for area tag inside map tag then hover should

[jQuery] Re: fadeOut and IE6

2008-02-21 Thread George
Anyone? Beuller? bump On Feb 18, 11:40 am, George [EMAIL PROTECTED] wrote: I'm currently building a widget which contains multiple deep dives into sections of a website in a limited amount of space and have run into an issue when using thefadeOutfunction with IE6. Per the requirements of

[jQuery] Re: is there a secret to jQuery with Opera?

2008-02-21 Thread [EMAIL PROTECTED]
I really appreciate that, Ariel - but am having no end of trouble getting .error to work with this! For now, I'm using my clumsy 'if' clause, but will persist with jQuery .error() until I'm winning ;) From my Google searches, it seems I'm not the only one with an image- detection problem in

[jQuery] Re: is there a secret to jQuery with Opera?

2008-02-21 Thread Ariel Flesler
I've simply made the function unavailable to Opera. Thank goodness it's not all that popular! ...and then you complain about accessibility... :-) Ariel Flesler On 21 feb, 17:10, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I really appreciate that, Ariel - but am having no end of trouble

[jQuery] Re: Selecting the ancestor of an element

2008-02-21 Thread Richard D. Worth
See http://docs.jquery.com/Traversing/parent#expr http://docs.jquery.com/Traversing/parents#expr - Richard On Thu, Feb 21, 2008 at 12:33 PM, AsymF [EMAIL PROTECTED] wrote: How would I select the ancestor or parent of an element?

[jQuery] Tracking mousemove: Position inside a div

2008-02-21 Thread timothytoe
How do I get the position of a mouse within a div when I'm getting events from mousemove? If it helps, I'm already including dimensions.js for the myriad extensions that want it. I understand that I can get pageX or clientX but what I want is X inside that DIV where I have mousemove tracking on..

[jQuery] Re: Tracking mousemove: Position inside a div

2008-02-21 Thread timothytoe
Never mind. The answer has to do with jQuery's $().offset() function. I got it. On Feb 21, 12:05 pm, timothytoe [EMAIL PROTECTED] wrote: How do I get the position of a mouse within a div when I'm getting events from mousemove? If it helps, I'm already including dimensions.js for the myriad

[jQuery] Re: IE problems with prepend since 1.2.3?

2008-02-21 Thread Karl Rudd
Please paste in the code that calls the prepend function, the problem is most likely there. Karl Rudd On Thu, Feb 21, 2008 at 2:31 PM, jody [EMAIL PROTECTED] wrote: IE6 and IE7 since upgrading to jQuery 1.2.3 is targeting line 264 in the jquery.js (uncompressed) with the error message,

[jQuery] how to remove a behavior?

2008-02-21 Thread [EMAIL PROTECTED]
Hi, I have this function ... function defineBehaviors() { $('a.deleteWorksheetItem').click( function() { alert(Executing action); }); } and I notice (at least in PC Firefox) if I call this function twice on a page, clicking

[jQuery] random tab and simple content switching

2008-02-21 Thread sperks
I'm having trouble with a content switcher and I think my issue is understanding how to targeting utilizing 'this' Here's my HTML and script: [code] div id=mainArticle div id=latestArticle class=article h1spantab 1/span/h1 div class=teasercontent/div

[jQuery] Re: window resize event causes IE6 IE7 to hang

2008-02-21 Thread polyrhythmic
I've found that rapidly changing the window size causes IE6 IE7 to hang - I guess because too many events are being fired for IE to cope? Exactly. Try using a setTimeout so that the resize only fires every 100ms or so, you can vary it depending on how fluid you want the animation vs how

[jQuery] Re: Port FCK/TinyMCE to jQuery

2008-02-21 Thread polyrhythmic
I've always wanted to port TinyMCE to jQuery -- you can fit _the entire jQuery_ into TinyMCE in _the same amount of code_ as their DOM Manipulation and Effects methods, (I've done the calculations, it might even make TinyMCE smaller!), and I bet it would be faster too. That being said, it

[jQuery] Re: Request parameters from dynamically added html element are missing on the server side

2008-02-21 Thread polyrhythmic
Hello Chris, It will be difficult to debug this combination of code without an example page we can view. Can you please provide us with a link? Charles On Feb 21, 2:28 am, chris [EMAIL PROTECTED] wrote: Hi there, I tried to create input element dynamically using jQuery, in form of text

[jQuery] Re: is there a secret to jQuery with Opera?

2008-02-21 Thread [EMAIL PROTECTED]
I deserve that! I have provided a PHP style switcher, though, so all that's lost is the unobtrusive stylesheet serving with Javascript.. Before I started playing with all this js, I hadn't realised how difficult it is to get everything working as it should do with all the browsers. Knowing less

[jQuery] Re: random tab and simple content switching

2008-02-21 Thread sperks
update: I'm still looking for the random side of things, but I've got a solution for the switching. However, I'm a little concerned that I'm targeting h1 rather than the span (how do I go back two parents?) $(document).ready(function() { $('#mainArticle #latestArticle .teaser').hide();

[jQuery] Re: bind method to easily create closures with this altered.

2008-02-21 Thread RobG
On Feb 22, 1:18 am, whylom [EMAIL PROTECTED] wrote: I'm not sure what illegal Javascript syntax is. It means that it is syntax that is not specified as being correct per the ECMAScript specification and can therefore be expected to throw an error before execution begins. I just tested

[jQuery] Re: How to keep text from being highlighted when I'm handling the mouse events

2008-02-21 Thread timothytoe
Returning false for onselectstart iseverely/i depressed my frame rate, which is ridiculous. I tried it in code, and I tried it in the html (ondragstart=return false onselectstart=return false). Either way, wham! Any way you can test to see if you were hit? Perhaps you were doing something less

[jQuery] How could I pass an object into an eval statement

2008-02-21 Thread AsymF
For instance, say a function is passed an object and that function is supposed to set an event to fire on a timeout, how would I do it? Even more complicated, how would I do it if I needed to perform the action on a sub-selection of the object passed? If I wanted to do this and I have just id's,

[jQuery] jquery and math functions

2008-02-21 Thread Vlad Mazek
Is there something special that needs to be done to values selected with jQuery so math functions can work on them? parseInt or something? I am not sure, but all my calculations are getting NaN. For example, I have the following function that always produces NaN: var startmin =

[jQuery] using functions as extensions - why does FF not take it?

2008-02-21 Thread jquertil
has anyone had the following problem before? VERSION 1 =// works in IE and FF myFunction(){ ... } document.onmousedown=myFunction; VERSION 2 =// works in IE but not in FF jQuery.fn.extend({ myFunction: function() { ... } });

[jQuery] Re: Accessing elements from another frame

2008-02-21 Thread Thierry
Thanks for the answer, but this does not work. And there is no error generated (in the error console). I am using jquery 1.2.2 Any idea? On Feb 21, 12:57 pm, Richard D. Worth [EMAIL PROTECTED] wrote: This should do it $(#loading_div, top.content.document).show(); $(#loading_div,

[jQuery] Re: Grouping within a list

2008-02-21 Thread caroig
I've come up with a solution to make the nested lists. I'd be happy for any comments or pointers on the code as this is still all a bit new for me and I think that I should be able to avoid the first enumerate through. Thanks ul id=header li id=green class=groupheader ul li

[jQuery] [validate] maxLength for elements that are not required

2008-02-21 Thread Yuval
Hey Jörn, It seems that whenever I define an element as not required:false and set a maxLength the validation plugin wouldn't bother limiting the field to the maxLength, When I switch to required:true - everything works perfectly. Is there a solution to that? Thanks, Yuval Karmi

[jQuery] Tool tip advice

2008-02-21 Thread Mark
Hey all, the design team here has a grid/table layout, with each image in a cell causing a tooltip style popup. Ok so, no worried so far, BUT, for the last column, the tool tip flips it's orientation so it doesn't display over the page border. So image a 2x4 table, which images in each cell.

[jQuery] Re: preventDefault() not working in FF?

2008-02-21 Thread jquertil
actually, when you drag an image, the browser thinks you want to save it to the desktop or something, so it starts that default action. in IE, this is overridden with the preventDefault() but in FF this does not work. at least not in the functino I use it in. On Feb 20, 5:41 am, Ariel Flesler

[jQuery] JQuery site is blank for one user

2008-02-21 Thread Andrew Ayres
Hi all, I've built a JQuery website, www.constitreaty.com, and tested it successfuly on Win XP Pro and Vista with IE6, IE7, Firefox 2 and Opera 9.25, as well as Mac OSX 10.4.8 with Firefox 2. One user has contacted me, as he cannot view the site on his Win XP Home SP2 PC, with either IE7 or

[jQuery] Re: Taconite and Jquery 1.2.3

2008-02-21 Thread lvp1138
Thanks Mike. I'll keep checking. Maybe I'm doing some mistake with the javascript file. I do have another problem that perhaps you know what is causing it. I created this example: http://72.18.207.149/english/taconite-test.html When you click on the form, the form disappears, because the

[jQuery] Can't Add a checked=checked Attribute to Input tag

2008-02-21 Thread Joe
Very simply, I want this function to attach the attribute checked=checked to the input with the id=ext[agree]Y. The following code does not do this and I'm not sure why... $(ext\\[agree\\]Y).attr(checked, checked); Any help or ideas is greatly appreciated. Other ways of doing this would be

[jQuery] Re: Selecting the ancestor of an element

2008-02-21 Thread AsymF
How would I select the parent that ONLY has that child? For instance, the following selects too many parents: $($(childObj).parent().get(0).tagName + ':has(#' + childObj.id + ')') On Feb 21, 2:25 pm, Richard D. Worth [EMAIL PROTECTED] wrote: See http://docs.jquery.com/Traversing/parent#expr

[jQuery] xml webservice callback document.domain

2008-02-21 Thread Scott Vickers
I am trying to call a .net webservice with a get and no parameters. It is returning a simple xml doc with a single string element like this: ?xml version=1.0 encoding=utf-8? string xmlns=http://www.mysite.com/; blahblah /string /xml here is the jquery code I am using: $.ajax({

[jQuery] Form submission without reloading modal window

2008-02-21 Thread Steve Good
Hello, I am looking for a solution to submit a form and instead of refreshing the whole page just refresh the contents of a div tag. Can anyone point me in the right direction? I tried jframes, but I can't figure out how to get the form to not open a new window. Thanks in advance! Let me

[jQuery] Div Changer Using Hide And Show

2008-02-21 Thread Sientz
I created this script to hide and show divs on a web page I am working on. It is working properly as far as the effects on the page go. I was just wondering if there is any way I can clean it up or make it simpler. Thanks. $(document).ready(function(){ //THIS HIDES ALL LISTED DIVS ON

[jQuery] before() and after() does not work on unclosed tags?

2008-02-21 Thread jquertil
hello again... why would this work... $('#somediv').before('I am just text').after('I am also just text'); result: I am just textdiv id=somediv.../divI am also just text but this would not? $('#somediv').before('tabletrtd').after('/td/tr/table'); result: tabletrtd/td/tr/tablediv

[jQuery] Break out of a for loop.

2008-02-21 Thread Alex
Hi, I am this script: for (var i=0; i 6; i++) { $('a#chan'+i).click(function(){ for (var j=0; j6; j++) { $('a#chan'+j).removeClass(chSel); } $(this).addClass (chSel); channel = i;

[jQuery] Re: I am looking for the datagrid which supports row/column merging and JSON

2008-02-21 Thread jquertil
tablesorter.com comes to mind. On Feb 21, 6:10 am, Channa L. [EMAIL PROTECTED] wrote: Hi All, I am looking for the good js datagrid which supports AJAX column sorting, row/column merging (rowspan/colspan), and JSON. Does anyone know where I can find such datagrid? Thanks, Channa

  1   2   >