[jQuery] Re: Form submission without reloading modal window

2008-02-21 Thread Shawn
my bad - the plugin I mentioned is called the "Form Plugin" http://plugins.jquery.com/project/form Shawn Shawn wrote: Ajax. There is a handy plugin out there - ajaxForms (I think...) that will allow your existing form to be submitted via ajax, and a callback function executed with the resu

[jQuery] Re: JQuery site is blank for one user

2008-02-21 Thread Shawn
Does the user control his network and firewall/internet connections? Or is he an employee on a network with an IT staff? I ask because it is possible that he is getting stuck with cached pages via a proxy server, or the network/firewall could be doing content filtering and getting hit at th

[jQuery] Re: Form submission without reloading modal window

2008-02-21 Thread Shawn
Ajax. There is a handy plugin out there - ajaxForms (I think...) that will allow your existing form to be submitted via ajax, and a callback function executed with the resulting page output. I haven't used it, so probably have the name, and details wrong. (I just write my own Ajax routines

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

2008-02-21 Thread Karl Rudd
Welcome to the wonderful world of "closures" (which "double" as "functions" in JavaScript), you've been using them already (perhaps without know it) :). The setTimeout function will actually take a function rather than a string (which it then 'eval's): function someFunction( obj ) { var

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

2008-02-21 Thread Karl Rudd
Have you tried $(...).attr( 'checked', true ) ? Karl Rudd On Fri, Feb 22, 2008 at 9:56 AM, Joe <[EMAIL PROTECTED]> wrote: > > 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 s

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

2008-02-21 Thread Karl Rudd
Something to realise is that once the browser loads your HTML it turns it into a tree (the DOM, Document Object Model) of "nodes". One thing that may help visualise this is to open up the page in Firefox and "Inspect" the page to see what the browser is doing with the HTML and then with the JavaS

[jQuery] Re: find all cells with only text as children

2008-02-21 Thread Karl Swedberg
This might do it... $('td:not(:has(table))').addClass('something') --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 21, 2008, at 8:39 PM, dustin.c wrote: I have a series of nested tables and i want to addClass() to the cells that are holding only

[jQuery] Re: Break out of a for loop.

2008-02-21 Thread Shawn
for (var x = 0; x < 10; x++) { if ( x > 5) { break; } } Shawn Alex wrote: Hi, I am this script: for (var i=0; i < 6; i++) { $('a#chan'+i).click(function(){ for (var j=0; j<6; j++) { $('a#chan'+j).r

[jQuery] Re: jquery and math functions

2008-02-21 Thread Shawn
Yep - parseInt() or parseFloat(). When you are pulling data from HTML you will get something like "55" rather than 55 (notice the quotes). So then doing something like this: var count = $("#mydiv").text() + 100; WOuld result in count being set to "55100" (assuming the div had 55 in it). A

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

2008-02-21 Thread John Resig
I think you want .wrap(): $("#somediv").wrap(''); --John On Thu, Feb 21, 2008 at 8:38 PM, jquertil <[EMAIL PROTECTED]> wrote: > > hello again... > > why would this work... > $('#somediv').before('I am just text').after('I am also just text'); > result: I am just text...I am also just text >

[jQuery] Re: how to remove a behavior?

2008-02-21 Thread Bernard
I think unbind() does just that : http://docs.jquery.com/Events/unbind#typedata [EMAIL PROTECTED] a écrit : > Hi, > > I have this function ... > > function defineBehaviors() { > $('a.deleteWorksheetItem').click( function() { > alert("Executing action");

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

2008-02-21 Thread jody
Actually, I jumped the gun too soon I found out after more testing today. Elements are being prepended fine--the MS debugger is giving a false error. Instead, what's happening is IE doesn't like my ajaxStop call for whatever reason (well, it's likely a race condition that IE stumbles over but othe

[jQuery] find all cells with only text as children

2008-02-21 Thread dustin.c
I have a series of nested tables and i want to addClass() to the cells that are holding only text ( not ones that are holding more tables ). Any ideas on how to select those?

[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; j<6; 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, > Ch

[jQuery] A function I wrote that you might find useful (populateFieldsWithJson)

2008-02-21 Thread skeen
I needed a simple method to populate field names with corresponding data from a database (for an "edit entry" interface). So I wrote the following function, which accepts 3 arguments: the ajax get request url, the form id, and new text for the form's submit button, if required: function populateF

[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 text...I am also just text but this would not? $('#somediv').before('').after(''); result: ... does jQuery not like incomplete, i.e. unclosed tags? ::scratching head::

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

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

[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: http://www.mysite.com/";> blahblah here is the jquery code I am using: $.ajax({ type:"GET", dataType: "xml", url:$lin

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

[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

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

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

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

[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] [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] 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 grass trees sky sea

[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() { ... } }); $(document).mousedown(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] 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 = $("#tim

[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] Re: How to keep text from being highlighted when I'm handling the mouse events

2008-02-21 Thread timothytoe
Returning false for onselectstart severely 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 d

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

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

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

[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

[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] tab 1 content tab 1 content $(document).rea

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

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

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

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

[jQuery] Re: fadeOut and IE6

2008-02-21 Thread George
Anyone? Beuller? 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

[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 inside . but find that its working ok in FF but not in IE. when i try to set then it works for both IE n FF. is this the bug?? If IE supports onmouseover event for tag inside tag then hover should work. thnx Faraz

[jQuery] Re: Fade Background Image on Mouseover

2008-02-21 Thread capnhud
Is it not possible to change multiple properties on the same object? On Feb 20, 6:23 am, capnhud <[EMAIL PROTECTED]> wrote: > I have set up an example photogallery in which the main image is > supposed to stay visible at all times but the background images fades > in and out on mouseover.  The pr

[jQuery] Re: "Port" FCK/TinyMCE to jQuery

2008-02-21 Thread Spocke
TinyMCE has an experimental adapter for jQuery this makes it a bit smaller and replaces most of the core logic like the XHR, element selector, dom functions etc. But even if we replaced those the package is still quite large. The big parts are the UI elements, the DOM Serializer and the overall ed

[jQuery] Selecting the ancestor of an element

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

[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 http://groups.google.com/group/jquery-en/browse_t

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

[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

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

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

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

[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"); I've noticed that in IE, the object is found but the attr array is empty. Has anyone else run across this be

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

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

[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).re

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

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

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

[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: .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', function(

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

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

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

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

[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
Here is the html code: http://www.w3.org/1999/xhtml";> Form : Carman Research $(document).ready( function(){ // this jquery inplementation is based on techniques described by Tavis Davis at http://trevord

[jQuery] Re: formatting/defining variable values

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

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

[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

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

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

[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}); Cha

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

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

[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. ... my other form elements Choose File : ... other elements, my form is huge :) ajaxFileUpload() does not need to be posting your form. It's already creating iframe and posting file over this element. So, you can use like this, i am using with

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

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

  1   2   >