[jQuery] Re: Treeview, async, persist location

2009-07-06 Thread Victor Jonsson
Update. I've been searching and reading all over the web and haven't been able to solve this. One way I've read about is * Save IDs in cookie when the user expands nodes, and then re-open them on next page-load. (that would do fine if i would know how to do it :) ) I don't know how to bind the

[jQuery] Re: superfish and Lokesh Dhakar's lightbox2 seem to conflict - please help

2009-07-06 Thread JayD
Figured it out. Thought I'd post my own answer here. Seems I was using an older version of scriptaculous.js . Apparently... "there is a conflict with an older version of Scriptaculous and jQuery (Scriptaculous was attempting to extend the native Array prototype incorrectly)". For anyone who may ha

[jQuery] Re: trigger validation by input:button

2009-07-06 Thread Alletha McIntyre
I do - but unfortunately secured behind a login with no public access. I will see if I can get something running at home and host it somewhere for you. A -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jon Sent: Tuesday, 7 July 2009 3

[jQuery] Re: trigger validation by input:button

2009-07-06 Thread Jon
By the way. Do you have any examples of where you've implemented this sort of thing? I'd like to see it in action somewhere. I learn well by studying working examples. On Jul 7, 12:03 am, Alletha McIntyre wrote: > It sounds like the validation is not attached to the click of the next button. > >

[jQuery] Re: trigger validation by input:button

2009-07-06 Thread Jon
There definitely is a space between button and id. That must have just been a side effect of the email. Unfortunately, like I said, javascript is not my strength. I don't even know what a breakpoint is. I starting to think I'm just in over my head. On Jul 7, 12:03 am, Alletha McIntyre wrote: > I

[jQuery] Re: trigger validation by input:button

2009-07-06 Thread Alletha McIntyre
It sounds like the validation is not attached to the click of the next button. If you stick a breakpoint in the "step" method - does it hit the breakpoint? Also - there is no space between "button" and "id" (Next) in the html markup. This could cause jQuery to not > find the element with that id

[jQuery] Re: trigger validation by input:button

2009-07-06 Thread Jon
So I got the error to go away by using: var validator = $("#testForm").validate(); But now the problem is that the button proceeds to the next step, even if there are errors. I can't get it to not display #step_2 when there are errors. It was suggested that I try using class="{required:true} on t

[jQuery] Suggest scenario for pup-up form edit

2009-07-06 Thread dnagir
Hi, The scenario is: On a page there's an area with some details. When user click there a dialog opens to edit the fields. User can click Close/Cancel or Save. If Cancel - dialog gets closed. If Save -the data gets posted and then one of the 2 scenariouses happen: 1. Data is valid - dialog is cl

[jQuery] centre ClueTip image content

2009-07-06 Thread brian
I'm trying to get some thumbnail images that are displayed with ClueTip to be centred vertically & horizontally. The images are various sizes, though none is larger than 150px on a side, so I set ClueTip to have a width & height of 200px. The images are wrapped in a div so that I can have them di

[jQuery] Re: jQuery Setup

2009-07-06 Thread James
Could you show us your page? You can use whatever file you want as long as you include it properly on your page. You can host it yourself locally if you want, or you can use the Google AJAX Libraries API to load jQuery remotely. http://code.google.com/apis/ajaxlibs/documentation/ On Jul 3, 8:55 

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-06 Thread Charlie
If it was me I'd be saying "how can I change my Mootools code to jQuery"? Why? You can't beat the documentation that surrounds jQuery! When I originally probed around all the _javascript_ libraries (YUI,Mootools,Prototype,Dojo) I realized pretty quickly that jQuery has by far the best support

[jQuery] Re: problem with events and tablesorter

2009-07-06 Thread Charlie
If you are using progressive enhancement for table, pagination plugin seems to take the  markup out of the DOM to store in jQuery object and then display only required number of rows. You can see this in the example of pagination plugin. http://tablesorter.com/docs/example-pager.html as well a

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread mkmanning
You mentioned "Access to restricted URI denied", which is a cross- domain error. Just as an FYI, making a request to a different port number will trigger this. Something to always keep in mind when working with ajax. On Jul 6, 10:09 am, expresso wrote: > Ok, so their sending back a json response

[jQuery] Re: function scope

2009-07-06 Thread Josh Nathanson
You can't. You'll have to create a global variable outside document.ready: var myFuncs = {}; $(document).ready(function() { myFuncs.foo = function() { // etc. }; }); other .js file: myFuncs.foo(); -- Josh -Original Message- From: jquery-en@googlegroups.com [

[jQuery] Re: Remove an

2009-07-06 Thread expresso
weird, I went to the selectors page but don't see nextAll On Jul 6, 5:47 am, Ricardo wrote: > $(this).nextAll('.jcarousel-item-placeholder').remove(); > > http://docs.jquery.com/Selectors > > On Jul 6, 1:05 am, expresso wrote: > > > I want to remove the following and any after that which have

[jQuery] Re: Sortable

2009-07-06 Thread tecmo
On Jul 6, 1:36 pm, Thales Lacerda wrote: > Hi, > > I'm using sortable and must get the id of the element being moved. > > Somebody help me? > > My code: > > $(function() { > $("#sortable").sortable(); > $("#sortable").disableSelection(); > > }); > > > > > Item 1 > Item 2 > Item 3 > Item 4 > I

[jQuery] function scope

2009-07-06 Thread tecmo
In my $(document).ready(function() I have function foo() {} How can I access the foo function from a different jquery .js file? thank you, very new - eric

[jQuery] Re: trigger validation by input:button

2009-07-06 Thread Jon
I have tried unsuccessfully to implement this solution, but I keep getting the error: validator is not defined if (validator.element("#btnNext1")) { Here is my code: $(document).ready(function(){ $.validator.addMethod("step", function(value, element, param) { var i

[jQuery] Re: Remove an

2009-07-06 Thread expresso
thanks I have not seen nextAll yet. On Jul 6, 5:47 am, Ricardo wrote: > $(this).nextAll('.jcarousel-item-placeholder').remove(); > > http://docs.jquery.com/Selectors > > On Jul 6, 1:05 am, expresso wrote: > > > I want to remove the following and any after that which have the > > class jcarouse

[jQuery] Sortable

2009-07-06 Thread Thales Lacerda
Hi, I'm using sortable and must get the id of the element being moved. Somebody help me? My code: $(function() { $("#sortable").sortable(); $("#sortable").disableSelection(); }); Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 Item 7

jquery-en@googlegroups.com

2009-07-06 Thread Israel Thompson
How can I remove the trailing "&" from a string I'm concatenating to go in a URL? -- View this message in context: http://www.nabble.com/String-Remove-Trailing-%22-%22-tp24359541s27240p24359541.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] problem with events and tablesorter

2009-07-06 Thread sso
hi, I'm using table sorter. This problem only occurs on pages that aren't the first page. I have a class called 'clcls' on each individual cell in column. For testing purposes I have the click open an alert box. The class is applied to the cells, but on the second page in table sorter the clic

[jQuery] Re: Getting Dynamic Values from MySQL data displayed via PHP/HTML

2009-07-06 Thread mwc
Found it. Just change: var tagid = $(".selectList").val(); To: var tagid = $(this).val(); Bingo! On Jul 6, 10:34 am, mwc wrote: > I have multiple rows of data in an HTML table.  E.g., financial > transactions.  In each row I have an HTML dropdown SELECT with options > (user will select trans

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread Ricardo
When you use callback=? jQuery will create a random name for the anonymous function you pass in. For example: $.getJSON("CarouselHandler.ashx?jsoncallback=?",function(data) { }); The actual requested URL will be CarouselHandler.ashx? jsoncallback=abc12345, and the global variable 'abc12345' wil

[jQuery] Re: retrieving item description of link from JSON file

2009-07-06 Thread roryreiff
Perhaps it makes most sense then to have it in the title tag. I'm not sure how much it will be used, but there will be an equal number of links to hover over as pages in our site (so, very many). We will have it gzipped though, so perhaps that is the best route? On Jul 6, 2:02 pm, James wrote: >

[jQuery] Re: retrieving item description of link from JSON file

2009-07-06 Thread roryreiff
Perhaps it makes most sense then to have it in the title tag. I'm not sure how much it will be used, but there will be an equal number of links to hover over as pages in our site (so, very many). We will have it gzipped though, so perhaps that is the best route? On Jul 6, 2:02 pm, James wrote: >

[jQuery] Re: plugin blockUI : display error

2009-07-06 Thread James
I think blockUI currently has some incompatibility issues with IE8. I haven't tried it out myself, but do a search on it to see what you can find. On Jul 5, 3:18 pm, boulet sensei wrote: > nobody to help me ?

[jQuery] Re: IE (any version) is not parsing returned JSON via getJSON or $.ajax calls

2009-07-06 Thread expresso
fixed it, removed: context.Response.Charset = Encoding.UTF8.ToString(); changed: context.Response.ContentType = "application/ json;charset=utf-8"; On Jul 6, 2:38 pm, expresso wrote: > I am trying out $.ajax instead of getJSON for debugging purposes. > Because getJSON did not report an error

[jQuery] Re: retrieving item description of link from JSON file

2009-07-06 Thread James
Well, if you put it in the title tag, it will save on a lot of the HTTP requests. Though it wouldn't affect bandwidth much because most likely the json will be cached the first time, it will still kick out requests to check if the file was modified. Are there going to be a lot of links to hover ov

[jQuery] ie7 select-dropdown and max-width

2009-07-06 Thread roxstyle
i am trying to get ie7 to behave like other browsers in a form with a very wide "select" like a country listing. i want there to be a width on the "select", but let the "options" width overflow as necessary. the only javascript that halfway allows this, something like i am using...

[jQuery] Re: retrieving item description of link from JSON file

2009-07-06 Thread roryreiff
I would also like to add that it would be very easy to bake in the description fields into the title tags...but for a sitemap of a very large site, I am thinking this will bloat the html to be very obese (We will easily have well over 5,000 pages). Any thoughts on this as well?

[jQuery] Re: Select List With Multiple Selections Hack

2009-07-06 Thread aquaone
What does this have to do with jQuery? O_o What you're talking about is basic PHP. On Mon, Jul 6, 2009 at 07:07, Shrimpwagon wrote: > > When using a select combo box that has multiple selections enabled, my > server was not seeing it as an array. It was only seeing it as a > single variable val

[jQuery] [tooltip] retrieving item description of link from JSON file

2009-07-06 Thread roryreiff
Hi there, For our sitemap, I am attempting to create functionality that when a user hovers over a link, a description is shown in a tooltip, similar to how a video and it's description show on hover at netflix.com. Our sitemap has a sister json file, that has the description fields in it. My thin

[jQuery] Re: DISABLE BUTTON AFTER 1 CLICK ->JQUERY: NOT WORKING WITH IE8

2009-07-06 Thread Amit Rampurkar
Here is the code from the view source window in IE for the submit button if this can help: Now uploading ...(This may take a minute) Thanks, ~Amit On Mon, Jul 6, 2009 at 2:37 PM, Amit wrote: > > Hi Cesar, > > Thanks for your reply. But that isn't working. It still gives me the > same resul

[jQuery] IE (any version) is not parsing returned JSON via getJSON or $.ajax calls

2009-07-06 Thread expresso
I am trying out $.ajax instead of getJSON for debugging purposes. Because getJSON did not report an error in IE (6,7 or 8) and I am trying to figure out why a jQuery plug-in is not painting my returned images to the screen in IE but is in other browsers. So I tried this. Interestingly enough, it

[jQuery] Re: DISABLE BUTTON AFTER 1 CLICK ->JQUERY: NOT WORKING WITH IE8

2009-07-06 Thread Amit
Hi Cesar, Thanks for your reply. But that isn't working. It still gives me the same result. The form does not post. It is just that the button gets disabled after click. Wonder why it works properly in Firefox and Chrome but not in IE.. :( Please help. ~Amit On Jul 6, 2:14 pm, "Cesar Sanz" wr

[jQuery] Re: Join several JS scripts into one big file to lower http request

2009-07-06 Thread Cesar Sanz
Hi there, How do you packed them? try http://developer.yahoo.com/yui/compressor/ - Original Message - From: "AndyPSV" To: "jQuery (English)" Sent: Wednesday, July 01, 2009 11:33 AM Subject: [jQuery] Join several JS scripts into one big file to lower http request I've got on s

[jQuery] Re: DISABLE BUTTON AFTER 1 CLICK ->JQUERY: NOT WORKING WITH IE8

2009-07-06 Thread Cesar Sanz
try .attr('disabled', 'disabled') instead of .attr('disabled', 'true') - Original Message - From: "Amit" To: "jQuery (English)" Sent: Monday, July 06, 2009 10:50 AM Subject: [jQuery] DISABLE BUTTON AFTER 1 CLICK ->JQUERY: NOT WORKING WITH IE8 Hello there, I am using Drupal fo

[jQuery] Re: Draggable+Sortable and ui.item

2009-07-06 Thread Hector Virgen
After some more testing I came to a solution, but it still puzzles me that my original code did not work as expected. I found that ui.item changes to the item I need in the "sortdeactivate" callback. I can now add a delete image to the item, but now I have to first test it to make sure it doesn't a

[jQuery] Reference a selector that was included via "load".

2009-07-06 Thread Erich93063
I have a div on my site that I am populating with a "load" that gets some html from another file on the server. This included file has a div on it that I want to now reference and populate with the value of a hidden form field on the page doing the loading, but when I do it, it looks like nothing

[jQuery] Re: Reference a selector that was included via "load".

2009-07-06 Thread Erich93063
Ok so I'm dumb. I needed to use a callback function when I use load to make sure the load is done first, the it worked. On Jul 6, 11:09 am, Erich93063 wrote: > I have a div on my site that I am populating with a "load" that gets > some html from another file on the server. This included file has

[jQuery] DISABLE BUTTON AFTER 1 CLICK ->JQUERY: NOT WORKING WITH IE8

2009-07-06 Thread Amit
Hello there, I am using Drupal forms with Jquery. I used the following code to disable a button after it is clicked to prevent double updates. $(document).ready(function() { $('#node-form').submit(function (e) { var settings = Drupal.settings.block_submit; if (settings.block_submit_method == 'di

[jQuery] Getting Dynamic Values from MySQL data displayed via PHP/HTML

2009-07-06 Thread mwc
I have multiple rows of data in an HTML table. E.g., financial transactions. In each row I have an HTML dropdown SELECT with options (user will select transaction tag). I want the transactionID and selected tagID to pass to an onchange event for that unique row. The transactionID comes through

[jQuery] Re: (validate) checkbox group minlength --> same name == only 1 value posted to php

2009-07-06 Thread pimousse
It worked! Thanks! On Jun 30, 5:49 pm, James wrote: > When you set your checkbox names, use the [] at the end of the name. > For example: > > > > > PHP will automatically convert that into an array. > When you define your validation rules and messages, make sure to put > myField[] in quotes, l

[jQuery] [validation] Remote rule, show loading symbol

2009-07-06 Thread pimousse
Hi, I am using a remote rule & an external file to check in a form that a username is available. I am trying to show a loading symbol (or a message that says "checking your username is available" ) while the ajax query is running. Does anyone here know how to do this? Thanks!

[jQuery] Re: unsubscribe

2009-07-06 Thread Charlie
might have another solution: $.ajax({    type: "jQueryProblem",    url: "sign_Up_jQuery_Group.google",    data: "getProblemSolved",    success: function(){ googleGroup.die();    }  }); Ralph Whitbeck wrote: $("#GoogleGroup #jquery-en").hide();  <- doesn't seem to work either ;-) Tha

[jQuery] Finding and Filtering implementation

2009-07-06 Thread Pkunzipula
Hello Experts! I have a staff list that uses a text input livesearch with filter on/ off feature. I am new to JQuery, don't really understand the syntax for advanced selecting, so I'm writing the same function 12 times for 12 lists. I need to simplify things with a generic function that toggles

[jQuery] TreeView Problems

2009-07-06 Thread Keith
Here is the menu that I'm trying to implement. I'm not sure what I'm doing wrong, I've followed all of the demos and still the menu is not properly setting the cookie, which is causing the menu to open incorrectly when the page loads. Please let me know if there is something wrong in my code or

[jQuery] Re: Superfish 1.4.8 w/ Supposition

2009-07-06 Thread Joel Birch
I'm sorry, I just found this thread. Ryo has found the correct solution. I overlooked that Supposition hooked into $.superfish. Sorry for the inconvenience, folks! Joel Birch. On Jul 6, 8:14 pm, Ryo INOUE wrote: > In the changelog.txt for Superfish it is said that in 1.4.2: >                  

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread expresso
Ok, so their sending back a json response wrapped with method foo. So then how would you specify foo in my example as the method to call on the getJSON script I've created? I think my example is fine as it is. We're not going cross server for now but wanted to understand how to form this and ho

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread expresso
Thanks. I'm not following you though per my example. I have specified function(data) as the method On Jul 6, 10:56 am, Bill Ramirez wrote: > If you pass a param to the json call, it gets passed into the > querystring: > > $.getJSON("jsdata/customerhandler.ashx", { show: Math.random(), > depart

[jQuery] Re: JCarousel not rendering added data in IE 6, 7, or 8!!!!!!!!!!!!! Works in all other browsers

2009-07-06 Thread expresso
Here is the Json returned [ { "ImageTag": "\u003cdiv class=\"CarouselItem \"\u003e

\u003cp\u003e\u003ca href= \"Bear-10.prod\"\u003eTeddy Bear\u003c/a\u003e\u003c/p\u003e\u003cp \u003e$20.95\u003c/p\u003e\u003cdiv\u003e",

[jQuery] Re: JCarousel not rendering added data in IE 6, 7, or 8!!!!!!!!!!!!! Works in all other browsers

2009-07-06 Thread expresso
Tried this instead. Got no errors and the data painted fine in FireFox. But in IE, it hit my error handler. Again, no idea why in IE it's complaining. I checked that the json returned is definitely valued (obviously it has to be because this data is rendering in FireFox and other browsers) by

[jQuery] Re: unsubscribe

2009-07-06 Thread Ralph Whitbeck
$("#GoogleGroup #jquery-en").hide(); <- doesn't seem to work either ;-) Thanks for the instructions Karl. On Mon, Jul 6, 2009 at 12:23 PM, Karl Swedberg wrote: > Everyone, > > If you want to unsubscribe from this list, please follow the instructions > for doing so: > > You can unsubscribe from

[jQuery] Draggable+Sortable and ui.item

2009-07-06 Thread Hector Virgen
I am building a basic draggable+sortable page based on this demo: http://jqueryui.com/demos/draggable/#sortable My sortable list will start out empty and the user can drag various draggables onto the sortable. I want to add a "delete" icon to each of

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread Bill Ramirez
If you pass a param to the json call, it gets passed into the querystring: $.getJSON("jsdata/customerhandler.ashx", { show: Math.random(), departmentId: dptId}, customerLoaded); would be rendered as: jsdata/customerhandler.ashx?show=0.23231553&departmentId=123 the second parameter to the getJs

[jQuery] Re: unsubscribe

2009-07-06 Thread Karl Swedberg
Everyone, If you want to unsubscribe from this list, please follow the instructions for doing so: You can unsubscribe from a group through the web interface or via email. To unsubscribe through the web interface, just click the "Edit my membership" link on the right-hand side of the group

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread mkmanning
For JSONP, the server needs to wrap the response in the supplied callback. The cross-domain getJSON function is basically appending a script to the page, with the contents of that script being a function containing the data you want to pass back. Play around with the URL in the flickr example from

[jQuery] Re: JCarousel not rendering added data in IE 6, 7, or 8!!!!!!!!!!!!! Works in all other browsers

2009-07-06 Thread expresso
I just tested this out with adding an alert(data.length); In FireFox, the alert comes right up. But in IE 6,7,8, it never hits the alert: $.getJSON("http://localhost:59396/xxx/CarouselHandler.ashx? action=getproducts&ids=" + ids, function(data) {

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread expresso
Adding a "&jsoncallback=?" or "&callback=?" got rid of the Access to restricted URI denied" code: "1012 but I get no data showing in my plug-in when adding either of those querystring params to my url. So I don't get it. I thought that it's supposed to automatically replace ? with function(data)

[jQuery] Table cell formatting (highlighting) upon ajax reload based on cell content?

2009-07-06 Thread RLFitch
Need some suggestions on how-to control cell(s) format on an ajax reload. The server-side program can convey necessary coding with each ajax load. I'm sure there are numerous ways to do this, but I just need some ideas to get started. Ransom Fitch old-tyme programmer, neophyte with javascript

[jQuery] Re: UI Sortable - Limit drag to item header

2009-07-06 Thread Hector Virgen
Try using the "handle" option. http://jqueryui.com/demos/sortable/#option-handle -- Hector On Sun, Jun 21, 2009 at 5:59 AM, Collaborate wrote: > > Hi! > > I'm wondering how I can limit the "dragability" of an sortable item, > to ex. a element inside the item. > Meaning, I only want the item to

[jQuery] (validate) No-URL

2009-07-06 Thread Sam
I used the URL checker in the Plugins/Validation, to create a no-url checker. This can be useful to prevent some spam from coming through in a form. nourl: function(value, element) { return this.optional(element) || !(/^(https?|ftp):\/\/[a-z]| \d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF

[jQuery] JCarousel not rendering added data in IE 6, 7, or 8!!!!!!!!!!!!! Works in all other browsers

2009-07-06 Thread expresso
I have not been able to get my JCarousel implementation to show the added data in IE 6,7, or 8. It works fine in all other browsers..which is just weird especially when the creator's demos all run fine in IE (http://sorgalla.com/projects/jcarousel/). I simply added some simple Javascript logic t

[jQuery] Customizing Gaile Carousel: hover and click conflict

2009-07-06 Thread strangeplant
I've customized Agile Carousel (I'm using JQuery 1.2.6) to fit what I need, that is a single slide that rotates with a row of associated buttons. In the unaltered state, I can click on a button, the slide show will stop and show the correct slide. Now, when I add a hover function, the correct slid

[jQuery] Select List With Multiple Selections Hack

2009-07-06 Thread Shrimpwagon
When using a select combo box that has multiple selections enabled, my server was not seeing it as an array. It was only seeing it as a single variable value. All I did to correct this was add [] and the end of the name attribute. Ex. [code][/code] Now my LAMP server sees this variable as an ar

[jQuery] Re: getJSON callback? does not work with querystring param

2009-07-06 Thread expresso
Adding a "&jsoncallback=?" or "&callback=?" got rid of the Access to restricted URI denied" code: "1012 but I get no data showing in my plug-in when adding either of those querystring params to my url. So I don't get it. I thought that it's supposed to automatically replace ? with function(data)

[jQuery] Re: error jquery-1.3.2.js(line 3633)

2009-07-06 Thread Eric Garside
Well, firebug shouldn't have cared as much as IE would, because of a comma inside the list of params in your POST. The last element in an object can't have a comma. Also, could you post the HTML? On Jul 6, 8:49 am, Mark wrote: > I have 3 drop down menu's where is post the value's bij a button.c

[jQuery] Re: Reload events after ajax

2009-07-06 Thread misiek
On 6 Lip, 14:17, Karl Swedberg wrote: > this should help: > > http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st... > > --Karl Thank you! I have mentioned that I have already tried something like this: JS: $().ready(function (){ $("div.nawi a").each( function(i) { $(th

[jQuery] unsubscribe

2009-07-06 Thread Jared Henderson
unsubscribe

[jQuery] getJSON callback? does not work with querystring param

2009-07-06 Thread expresso
This works fine: $.getJSON("http://localhost:59396/xxxWeb/ CarouselHandler.ashx?action=getproducts&ids=" + ids, function(data) { carousel.size(allProductIDs.length); if (numberOfImagesLeftToShow < numberOfImagesToDisplay) {

[jQuery] Re: event.stopPropagation() is preventing a live event on a child element

2009-07-06 Thread joeformd
hmm, the original liveQuery plugin seems to work as expected, so I'm using that instead. On Jul 6, 1:31 pm, joeformd wrote: > As far as I understood, stopPropagation() is supposed to stop events > bubbling 'up' though the element tree (through parent elements). Eg. > If I use stopPropagation()

[jQuery] error jquery-1.3.2.js(line 3633)

2009-07-06 Thread Mark
I have 3 drop down menu's where is post the value's bij a button.click (see code below). But when i push the button i see an error in fire bug "POST" http://localhost/agenda nieuw/handler.php 67ms jquery-1.3.2.js(line 3633)" I looked online for awnsers but couldn't find any. Maybe you guys can he

[jQuery] event.stopPropagation() is preventing a live event on a child element

2009-07-06 Thread joeformd
As far as I understood, stopPropagation() is supposed to stop events bubbling 'up' though the element tree (through parent elements). Eg. If I use stopPropagation() on a click event on an anchor element in a list, the event would not be triggered on the list. In my code I have a popup div, that n

[jQuery] unsubscribe

2009-07-06 Thread SEAN CLIFFORD
> Date: Sat, 4 Jul 2009 09:49:03 -0700 > Subject: [jQuery] Re: Inclusion of external scripts ("best" approach) > From: ollo...@web.de > To: jquery-en@googlegroups.com > > > Will check that one now. > > Thanks once more, Karl! > > On 4 Jul., 17:41, Karl Swedberg wrote: > > --Karl > >

[jQuery] Re: JCarousel not rendering images in IE

2009-07-06 Thread expresso
The examples seem to work fine on http://sorgalla.com/projects/jcarousel/ but for some reason my implementation shows the placeholders but no images are rendered. I looked at the mark-up and the html is fine. It works in FireFox, Safari, and Chrome just fine and so it's weird that my implementati

[jQuery] Re: Function to parse query string from URL?

2009-07-06 Thread candlerb
> http://plugins.jquery.com/project/parseQuery Perfect, thank you!

[jQuery] Re: Looping through all the selected checkboxes

2009-07-06 Thread MorningZ
It's because inside your .each statement you are re-selecting *all* checked boxes again, so $('input[name=additionals]:checked').each(function() { amountdue += parseFloat( $(this).val() ); }); Check out the documentation of ".each()", where it will explain that inside the loop, "this" is

[jQuery] Always escape with two backslashes?

2009-07-06 Thread Lay András
Hello! I read in the documentation, the special characters like ':', we must escape with TWO backslashes. But not always: function Nyom() { if ($('#pipa\\:x').is(':checked')) { $(':checkbox[id^=pipa\:x\:]').attr('checked','checked'); } else { $(':

[jQuery] Re: Reload events after ajax

2009-07-06 Thread Karl Swedberg
this should help: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 5, 2009, at 8:10 PM, misiek wrote: Hello, My code: html: http://page.com";

[jQuery] Re: [validate] problem usind rules("add") with classes

2009-07-06 Thread Jörn Zaefferer
Similar to the validate-method, the rules method works with just one element. This should work as a workaround: $(".euro").each(function() { $(this).rules("add", "digits") }); Jörn On Mon, Jul 6, 2009 at 12:39 PM, macronom wrote: > > Hi, > > I am trying to use > > $(".euro").rules("add", "dig

[jQuery] Re: [autocomplete] focus issue.

2009-07-06 Thread Jörn Zaefferer
The call itself makes sense - when selecting text within the field, the field should have focus. But the call to $.Autocomplete.Selection in that case is a bug, as there is nothing to select. Jörn 2009/7/6 Lauri Suoperä : > > Hi, > > I'm wondering that what is the purpose of the field.focus() li

[jQuery] Re: Superfish 1.4.8 w/ Supposition

2009-07-06 Thread Ryo INOUE
In the changelog.txt for Superfish it is said that in 1.4.2: attach everything to jQuery.fn.superfish to clean up jQuery namespace So I made the following changes in supposition.js v0.2 and it seems to work fine with Superfish 1.4.8 and Supersubs: line 57:

[jQuery] [validate] problem usind rules("add") with classes

2009-07-06 Thread macronom
Hi, I am trying to use $(".euro").rules("add", "digits") for my form but it seems that only the first matching input field with class "euro" is being validated using the rule "digits". my form looks like this: ... This is a generated form with a changing number of input fields so I thought

[jQuery] Re: Getting a variable out of a function

2009-07-06 Thread PatiDure
Hi, the function You create, is a callback method. When the task is done, the callback gets called. You need to update the HTML of the TEST in the callback. Impossible to use return value of a callback in code which assigns it. $('.TEST').html( false ); $('.menulink').mouseover( function(active

[jQuery] Looping through all the selected checkboxes

2009-07-06 Thread tkrn
This is what i have. It does not correctly add two values when two checkboxes are checked. It should add up to 160 but it adds up to 20 instead! any ideas? Thanks Patrick Nuts and Bolts Preconference TestAdd $('input[name=additionals]:checked').each(function() { amountdue += parseFloa

[jQuery] jQuery progress bar

2009-07-06 Thread haranal
Hi, I am using jQuery progress bar it is working fine, here i want to stop using any background action up to completion of progress bar. Please advise me Thanks, Haranal

[jQuery] [autocomplete] focus issue.

2009-07-06 Thread Lauri Suoperä
Hi, I'm wondering that what is the purpose of the field.focus() line inside the Autocompleter.Selection function in the autocomplete plugin. $.Autocompleter.Selection = function(field, start, end) { /*...*/ field.focus(); }; Because with that line the autocomplete has some very b

[jQuery] Problem with SlideToggle in Safari 4

2009-07-06 Thread wakey
Hi, I have set up SlideToggle on my website to expand a div. When the div expands, it pushes the rest of the page content down the page. However, when I collapse the div the rest of the page content doesn't return back up the page and I am left with a gap where the expanding div was. This proble

[jQuery] jQuery progress bar

2009-07-06 Thread haranal
Hi, I am using jQuery progress bar, it is working fine. i want to blur(non function) background actions, please suggest me how to do this. Thanks, Haranal.

[jQuery] the Event fix should add two fixed properties:layerX and layerY.

2009-07-06 Thread 极品书生
the Event Fix method should add two fixed properties:layerX and layerY. and now I have to write a little more: el.click(function(e){ e = e.originalEvent; var x = e.layerX || e.offsetX; alert(x); });

[jQuery] Multiple external controls...

2009-07-06 Thread Karega
Does jCarousel have the ability to have multiple carousels with multiple external controls on one page? It seems that all of the callbacks that you initialize control only one specific carousel. There is no way differentiate between carousels even if you were able to decipher which carousel is ac

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-06 Thread Araceli Domínguez
Thanks Ricardo. And sorry for not sticking, this is quite urgent and didn't know who could help me. I have to use Mootols tooltip .. so  how can I convert my jQuery code to mootools? haven't I done it yet? The code is here: http://www.vivocomtech.net/vidzapper/jQuery_andMoo_tooltip.rar (2 kb

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-06 Thread Ricardo
Stick to a single framework.. avoid confusion and save your users' bandwidth. You should either convert your jQ code to mootools or use a jQuery tooltip plugin. And the whole thing you posted is unreadable, please use a sharing site like jsbin.com or snipt.org :) On Jul 6, 5:10 am, Lleoun wrote

[jQuery] Re: Remove an

2009-07-06 Thread Ricardo
$(this).nextAll('.jcarousel-item-placeholder').remove(); http://docs.jquery.com/Selectors On Jul 6, 1:05 am, expresso wrote: > I want to remove the following and any after that which have the > class jcarousel-item-placeholder in them > > > > I'm not sure how to go about this.

[jQuery] Re: jquery append() works for local but not when loaded from server side? the same html file

2009-07-06 Thread Slowness Chen
phew! after wasting half of day on this subtle bug I finally figured it out, I'll put it here in case others run into the same issue. I spent most of my time playing around on client side with firebug, everything seems just fine, but once I append some html tag, it does nothing. when I fell back

[jQuery] Mootools tooltip used inside of jquery??

2009-07-06 Thread Lleoun
Hi all, The code below shows three thumbnails with link and alt text . The info is coming from the xml file and I'm using $.ajax to place it in the page. Now I want to add a tooltip that is using Mootools. I have to add title="The tooltip::I want to read" class="tipz" to the div (or to the ima

[jQuery] Re: jquery append() works for local but not when loaded from server side? the same html file

2009-07-06 Thread Slowness Chen
when I load the html from server side if I append pure text like $ ("#show_messages_div").append(''); it works, but not if I append html like $("#show_messages_div").append(''); On Jul 6, 2:24 pm, Slowness Chen wrote: > by setting a breakpoint, I made sure the "$ > ("#show_messages_div

[jQuery] Re: Live() event doesnot refresh the class of the event which was changed dynamically.

2009-07-06 Thread Sanam Maharjan
Hello, Thanks for the prompt reply. Yes I have used the newclass and tried. But the problem remains same. I think I have figured out the effecting place. I have used the jeditable plugin for the editable as follows. $('.plus'+num).live("mouseover", function(){ $('.plus'+num).edita