[jQuery] Content loaded via Ajax and global JS

2009-12-04 Thread mysterious79
This probably isn't a jquery question precisely, but jquery is being used as my method for making ajax requests. I'm running into a recurring problem where functions declared on the initial page load aren't manipulating content loaded later via ajax. For example, when the page loads I may have two

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Nicu Marcu
I resolved my problem using callback. I put the second load in the callback function of first one. Thanks for your answer. 2009/12/4 Michel Belleville > Well it depends ; most of the times you end up loading a big bit of data > that should replace a specific portion of the screen (let the standa

[jQuery] Re: is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread pab
yeah figured it out few minutes after posting, thanks On Dec 4, 9:44 pm, ripple wrote: > Of course you can! >   > I'm actually working on something similar to that now. >   > $(window).resize(function(){ > reSize();}); > >   > function reSize() { >   > if ($('#page').width() < 1000) { > //do som

Re: [jQuery] drop down error

2009-12-04 Thread test11
Hi i have already added the superfish.css.Untill the image is getting loaded all the dropdown list r getting visible.Once the image has been loaded the superfish is working fine.can u suggest me to hide the drop drop menu before the image has been loaded. Charlie Tomlinson wrote: > > > > >

[jQuery] Re: Problem combining validation plugin and datepicker from ui (validate)

2009-12-04 Thread sucheta
Hello all, I am using the JQuery validator from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ . And I am using the calendar component from YUI. The problem is similar to what bobbykjack has except I use YUI calendar. I have an input field ,when user clicks into it the calendar

Re: [jQuery] drop down error

2009-12-04 Thread Charlie
sounds like you aren't including superfish.css, modified it or this is a Joomla or other type of template that has preexisting menu css. The superfish css for all sub UL's is positioned offscreen not much anyone can do to help without a link test11 wrote: I am using superfish for dropdown

Re: [jQuery] Share plugin

2009-12-04 Thread Jack Killpatrick
I recommend that you post a page about it, with a demo, add it to the jquery plugins directory and make an announcement on this list. I'd like to see what you've done, if you have it up somewhere. I find myself needing that often and have used various solutions with varying degrees of success.

Re: [jQuery] listnav - how to implement paging

2009-12-04 Thread Jack Killpatrick
How do you picture paging working, from a UI perspective? -Jack prasad wrote: Hi, I like the 'jQuery ListNav Plugin' very much and i need to implement it in my application. I need to implement the paging functionality along with this plugin. If i have more than 100 rows for a character, its b

Re: [jQuery] javascript variable scope

2009-12-04 Thread Richard D. Worth
Cool, huh? This is one of the beauties and real powers of the JavaScript language. It's called a closure: https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Working_with_Closures - Richard On Fri, Dec 4, 2009 at 6:46 PM, cmonahan wrote: > > This surprised me. > > I made the scenario as

Re: [jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Dhruva Sagar
Perhaps you need to call focus() in the callback of fadeIn(150) ? Thanks & Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 5:53 AM, Igor Benko wrote: > Hi all, > > I have this weird problem I just can't find a way to solve. I'm using > simpleModal plugin as login window and I want to set focus

Re: [jQuery] Change opacity for all divs except one

2009-12-04 Thread Dhruva Sagar
Have all the divs have a class name eg.) thumbs When the user selects his favorite remove this class name from the particular div and apply your opacity logic to $('div.thumbs'), so that way the favorite one would not be changed. Thanks & Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 3:12 AM,

Re: [jQuery] Can you limit selector to only search within current element?

2009-12-04 Thread Dhruva Sagar
Hi, I think the following modification to your code will solve your purpose. $(document).ready(function(){ $("a").click(function(event){ //Loop through each productGroup div $(".productGro

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Dave Methvin
> ok, I've used some code I had lying around and put dummy content in > there:http://www.tnt.be/bugs/jquery/moovsjquery/ > > I actually don't really see a difference on my Ubuntu box (using FF > 3.6b4), but there's a huge difference on a colleague's G4 (OS X 10.4, > Firefox 3.5.5), so try to find

[jQuery] Can you limit selector to only search within current element?

2009-12-04 Thread TehNrd
I am pretty new to jQuery and I've dug through the documentation for a few hours and I haven't found the answer. I'm curious if you can limit a selector to only search within a defined div or other html tag. Below is the code with some notes so it should be pretty easy to understand but if not let

[jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Igor Benko
Hi all, I have this weird problem I just can't find a way to solve. I'm using simpleModal plugin as login window and I want to set focus to username input upon window showing, but can't manage to do that. This is my code: $("#prijava_popup").modal( {opacity: 30, onOpen: function (d

[jQuery] Change opacity for all divs except one

2009-12-04 Thread Jared
Hello all, I have a bunch of thumb nails that will be at full opacity when a user gets to the page. Users will be able to select their favorite. What I want to have happen is when a user selects their first favorite all of the there thumbnails will be lowered in opacity then when they select other

[jQuery] jQuery 1.4 Alpha 1 Released

2009-12-04 Thread John Resig
More details here: http://blog.jquery.com/2009/12/04/jquery-14-alpha-1-released/ --John

Re: [jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread ripple
Of course you can!   I'm actually working on something similar to that now.   $(window).resize(function(){ reSize(); });   function reSize() {   if ($('#page').width() < 1000) { //do something }   http://2whoa.com   --- On Fri, 12/4/09, pab wrote: From: pab Subject: [jQuery] is there a way t

[jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread pab
is there a way to add a class to the body when window is resized below a certain width

[jQuery] Orkan star rating widget

2009-12-04 Thread led
Can get it, why this works: $("#stars-wrapper1").stars({ callback: function(ui, type, value) { $("#stars-wrapper1").stars("select", value); and this dont: $("#stars-wrapper1").stars("select", 3); Please my friends help with this. http://orkans-tmp.22web.net/star_ratin

[jQuery] Possibly off topic: changing radiobuttons color

2009-12-04 Thread Andre Polykanine
Hello everyone, Sorry for that but couldn't find anywhere else. We need to change the color of the radiobuttons. I mean, the circles that represent the buttons. Is it possible either via jQuery or CSS? And another question: we need also to change the color of the frame surrounding a combobox and o

Re: [jQuery] Can't get the js of superfish to work

2009-12-04 Thread Charlie
jQuery undefined is typically caused by a path problem to jQuery.js, or you may be making calls to jquery before it is loaded ( jquery needs to load before any plugin files) also check that you only hae one copy of jquery loading webstudiolund wrote: I get these faults: jQuery is not defi

Re: [jQuery] Superfish: width of top level links - great with js off - too wide with js on

2009-12-04 Thread Charlie
autoarrows: true this appends the link with a span with an arrow image to show links with subs and is adding addiitonal width, set to false Dasher wrote: Hello, I am setting up my first superfish menu and having an issue with the width of the top level link tabs. When _javascript_ is of

Re: [jQuery] SuperFish Menu

2009-12-04 Thread Charlie
I looked and I don't see any superfish css or script. Alvin wrote: I used Superfish on other website (www.dapuri.com) and it works well. When I try to integrate it to this website, it doesn't work. Please click the link below and take a look (this is a testing page, ignore the standard me

Re: [jQuery] Re: next()

2009-12-04 Thread Michel Belleville
Well it would work if a bit complicated and probably a pain to maintain. If there wouldn't be any other select named like your second select, I'd rather select it by its name if I were you. Or perhaps give these specific select a common ancestor and select it using this common ancestor as reference

[jQuery] javascript variable scope

2009-12-04 Thread cmonahan
This surprised me. I made the scenario as simple as possible. http://jsbin.com/eyopo3/edit You can see in function g() I change the value of the variable i after having used it. That may seem like a useless thing to do, but in the production code I was working on, i was a loop iterator. --

[jQuery] New question

2009-12-04 Thread bruce
Hi. Not sure if this is a good place for my question, but I'll give it a shot.. I'm looking for a couple of sies that I can rip apart to see how they work. I'm looking for test sites that allow a user to match items from different columns together. Basicaly, if I give the user a list of items, t

Re: [jQuery] Re: Selector issue

2009-12-04 Thread Karl Swedberg
The .live() method uses event delegation under the hood. doing this: $('a').live('click', function() { // do something }); is like doing this: $(document).bind('click', function(event) { if ($(event.target).closest('a').length) { // do something } }); except that with .live() the sel

[jQuery] Re: binding ala ActionScript??

2009-12-04 Thread hsfrey
Thanks Karl! I'll give it a try. Harvey

Re: [jQuery] Re: Basic Bind Question

2009-12-04 Thread Charlie Griefer
Thanks all. I appreciate all the responses and examples. Really helps out a lot. Charlie On Fri, Dec 4, 2009 at 11:34 AM, seasoup wrote: > Got two more uses for ya. Namespacing of events: > > // set two click events with different namespaces > $('.button').bind('click.namespace1', function (

Re: [jQuery] Multipart forms, file uploads and the accept header

2009-12-04 Thread codeo008
Similar issue: ajax working fine until I tried to upload. I found out that (a) most browser clients don't know what to do with header application/json (b) the solution text/javascript is mixed up for some reason extra tags get added on which confuses the parsing (c) try setting your header as tex

[jQuery] Re: Selector issue

2009-12-04 Thread MorningZ
> Nah. Using .live() wires up one event handler to document. > > --Karl Doh, shame on me for my lack of facts on that ".live()"... i'll read up on it some, as i usually, well always, take the delegation route..

[jQuery] Re: plugin namespace

2009-12-04 Thread ben2233
I think I over-simplified the situation. I'm writing a widget (which dynamically generates contents of a "div" element on the page, in this case) that gets plugged into various parts of the website. And the entire website is reliant on jQuery, so the jQuery code and plugins are already included i

[jQuery] Need help finalizing superfish dropdown menu

2009-12-04 Thread Yvan
I'm having some difficulty finalizing my suckerfish dropdown menu on this page (ie: "Resources" button / link): http://www.alliedcash.com/comparison/ Here are the 3 problems that I'm trying to correct: 1) I want to eliminate the right border for each of my sublinks -- I can't seem to access / ov

[jQuery] Re: next()

2009-12-04 Thread TMNT
Michel, thanks for your response. So, do I need to get the parent of my country element (which would be the div ) & get all it's siblings and then look for elements with class 'state' or is there a simpler way? On Dec 4, 12:47 am, Michel Belleville wrote: > That's easy, .next() finds the nearer

Re: [jQuery] plugin namespace

2009-12-04 Thread waseem sabjee
including it on every page seems troublesome and hard to maintain. if you using PHP or ASP you can create your own "Master Page" and include there once. and load your other pages in as they are needed. my suggestion to you in converting to a CMS then you can include your script in only one file an

[jQuery] Re: Suckerfish dropdowns not working in IE -- JQuery is undefined

2009-12-04 Thread Yvan
Nevermind .. I got it working. On Dec 4, 2:20 pm, Yvan wrote: > My suckerfish dropdown menu isn't working in IE. > > http://www.alliedcash.com/comparison/ > > (I've attached a dropdown menu to the "Resources" button / link) > > It works fine in Firefox, .. but in IE it gives me the following erro

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread tpneumat
How the plugin is written is a huge part. I have jealously noticed in the past that mootools animations typically seem to be smoother, especially on slower machines and cruddy browsers, but I stick with jQuery because I really like the syntax & community. However, I agree that no one has really p

[jQuery] FadeIn / FadeOut IE8

2009-12-04 Thread Darrelm
I have a site, http://www.faith-photography.com, using the fadeIn/Out with standard jpgs.The process works flawlessly in every browser except IE8 when set to IE8 view. If set to IE7 it works, but not as smoothly as you can see in Firefox or any web-kit type browser. Anyone know of a workaround

[jQuery] plugin namespace

2009-12-04 Thread ben2233
The website I'm working with has jQuery and the jQuery Form plugin (jquery.form.js) included on every page (it can be used with the syntax "$j"). However, they are using a newer version of jQuery with an older version of the Form plugin... and this causes some errors. So, I would like to include m

[jQuery] Re: Basic Bind Question

2009-12-04 Thread seasoup
Got two more uses for ya. Namespacing of events: // set two click events with different namespaces $('.button').bind('click.namespace1', function () { }).bind('click.namespace2', function () { }); //remove just one of them $('.button').unbind('click.namespace1', function () { }); and passing

[jQuery] Suckerfish dropdowns not working in IE -- JQuery is undefined

2009-12-04 Thread Yvan
My suckerfish dropdown menu isn't working in IE. http://www.alliedcash.com/comparison/ (I've attached a dropdown menu to the "Resources" button / link) It works fine in Firefox, .. but in IE it gives me the following error messages. Please advise. Message: 'jQuery' is undefined Line: 1 Char: 1

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Karl Swedberg
Oh yeah, that too! :-D --Karl On Dec 4, 2009, at 1:41 PM, Rey Bango wrote: Yep Karl's explanation was great. Also, you can leverage bind() to work with your own custom events in the case where you want to define something that needs to be triggered based on another action. Using the code

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Rey Bango
Yep Karl's explanation was great. Also, you can leverage bind() to work with your own custom events in the case where you want to define something that needs to be triggered based on another action. Using the code from the docs, you can see what I'm talking about: $("p").bind("myCustomEvent",

Re: [jQuery] Re: Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread Michael Geary
It really makes little difference at all. jQuery makes an array of all your "ready" callbacks, and when the document is ready it loops through that array and calls each function. So other than that tiny bit of overhead, the net effect is exactly the same whether you put all the code in one ready fu

Re: [jQuery] Re: Save javascript variable via jquery

2009-12-04 Thread Michael Geary
Your first example doesn't work because getJSON doesn't return the JSON data as its return value; it *calls a function* and passes the data as an argument to that function. Remember that getJSON is asynchronous. The call to getJSON returns before the data is even downloaded. Any time you have asyn

[jQuery] Re: Selector issue

2009-12-04 Thread Civette
Well I dont think I'll have more than about 15 childs here. Thx for help On 4 déc, 17:09, MorningZ wrote: > I wouldn't suggest going the ".live" route if you plan on having a lot > of children of "cat_list" > > using event delegation, there is one single event wired up that > handles 1 child

Re: [jQuery] Re: Selector issue

2009-12-04 Thread Karl Swedberg
On Dec 4, 2009, at 11:09 AM, MorningZ wrote: I wouldn't suggest going the ".live" route if you plan on having a lot of children of "cat_list" using event delegation, there is one single event wired up that handles 1 child or 1200 children using ".live", you would have N number of events s

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
Hi Karl: Awesome! Got it :) Thanks for the explanation and examples. Charlie On Fri, Dec 4, 2009 at 9:01 AM, Karl Swedberg wrote: > Hey Charlie, > > methods such as .click() and .mouseover() are just convenience methods. > They all use .bind() internally. One nice thing about .bind() is that

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Karl Swedberg
Hey Charlie, methods such as .click() and .mouseover() are just convenience methods. They all use .bind() internally. One nice thing about .bind() is that you can use multiple event types with it. For example, instead of doing this: $('a') .mouseover(function() { var $link = $(this)

[jQuery] Re: Need help in jquery script for copying values

2009-12-04 Thread rose
Sorry to ask a silly question like this. I solved this . Here goes the modified script : $('#addEmployee').click(function(){ $.ajax({ url: 'searchEmployee.do?method=searchEmployee', type: 'GET', data: {employ

[jQuery] Basic Bind Question

2009-12-04 Thread Charlie Griefer
Hi All: I've read over the docs, but don't quite understand what the bind() event provides versus just assigning a particular event handler to a selected element (or set of elements). For example, consider the code below. What's the difference between the interaction with the elements of class

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Karl Swedberg
Just out of curiosity, which browser are you using? Did you try it in more than one? --Karl On Dec 4, 2009, at 9:43 AM, donb wrote: I have a 'slow computer' that is 6 years old hardware, has been upgraded from windows 3.1 and upward, to the current XP without ever a wipe and reinstall. I

[jQuery] Re: Save javascript variable via jquery

2009-12-04 Thread m.ugues
I tried this way: http://pastie.org/727632 The div is appendend but the javascript declaration not: Any idea? Kind regards Massimo On 4 Dic, 16:13, "m.ugues" wrote: > Hallo all. > I would like to save the response of an AJAX call in a variable > declared in the document ready in parent page.

[jQuery] Re: Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread coolf
thanks to all On 4 dic, 12:08, Michel Belleville wrote: > Basically, my advice would be : > >    1. first, load jQuery >    2. then load jQuery extensions (UI, plugins) >    3. then load your own domain-specific extensions (method declarations, >    etc.) >    4. then load your page hooks (in a $

[jQuery] Re: Jcarrousel "smooth" autoscrolling

2009-12-04 Thread teemak
up On 2 déc, 12:21, teemak wrote: > Hi there, > > I use Jcaroussel with circular & autoscrolling setting. > > It's works but at each picture it stops (just a second but it stop) > and restart. > > I have to do a "smooth" (or "soft") autscrolling. > > Thanks. > > Teemak > > PS: Sorry for mistakes

[jQuery] Re: Selector issue

2009-12-04 Thread MorningZ
I wouldn't suggest going the ".live" route if you plan on having a lot of children of "cat_list" using event delegation, there is one single event wired up that handles 1 child or 1200 children using ".live", you would have N number of events sitting there wired up where N is the number of ch

Re: [jQuery] Re: Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread Michel Belleville
Basically, my advice would be : 1. first, load jQuery 2. then load jQuery extensions (UI, plugins) 3. then load your own domain-specific extensions (method declarations, etc.) 4. then load your page hooks (in a $(function() { ... }) block so it starts when the page is complete),

[jQuery] Re: Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread MorningZ
there's no problems with it... as for "best", that completely applies to the situation, there is no one, all-encompassing answer for that On Dec 4, 10:35 am, coolf wrote: > ok, thanks for the response. > But what is the best, is it good to have more than a "documen.ready" ? > it doesn't bring pr

[jQuery] Re: jScrollPane - help is needed

2009-12-04 Thread Scott Sauyet
On Dec 4, 10:07 am, xirurg wrote: > I'm having a problem with jScrollPane. Take a look > onhttp://www.cmt.ca/unstable/- photo gallery on the right. > It loads the whole list first and then limits it to certain width. So my > question is - is is possible to eliminate that effect when user sees who

Re: [jQuery] Autcomplete extraParams usage

2009-12-04 Thread Dhruva Sagar
You can get it in PHP as $_REQUEST['id'] Thanks & Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 8:06 PM, .. wrote: > > I want to pass some value (other than that i type in text box) when i > am using autcomplete . for that i am using extraParams and passing it > in the below manner >

[jQuery] Re: Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread coolf
ok, thanks for the response. But what is the best, is it good to have more than a "documen.ready" ? it doesn't bring problems? On 4 dic, 11:33, Andreas Möller wrote: > > Hello i'm new here, Is it posible? > > Yes, it is. > > Best regards, > > Andreas

Re: [jQuery] Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread Andreas Möller
Hello i'm new here, Is it posible? Yes, it is. Best regards, Andreas

[jQuery] Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread coolf
Hello i'm new here, Is it posible?

[jQuery] Can't get the js of superfish to work

2009-12-04 Thread webstudiolund
I get these faults: jQuery is not defined hoverIntent.js()hoverIntent.js (rad 84) [Break on this error] })(jQuery);hoverIntent.js (rad 84) jQuery is not defined superfish.js()superfish.js (rad 121) [Break on this error] })(jQuery);\nsuperfish.js (rad 121) $("ul.sf-menu").superfish is not a functio

[jQuery] validate

2009-12-04 Thread sucheta
Hello all, I am using the JQuery validator from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ . And I am using the calandar component from YUI. The problem is similar to what bobbykjack has . I have an input field ,when user clicks into it the calendar pops up. When user choos

[jQuery] Autcomplete extraParams usage

2009-12-04 Thread ..........
I want to pass some value (other than that i type in text box) when i am using autcomplete . for that i am using extraParams and passing it in the below manner extraParams: { id: 1234, }, so how can i get the value in php which i passed as extraParams.

[jQuery] [validate] Error using rules('remove')

2009-12-04 Thread Eva
Hi all, I get an error when using rules('remove') from Jörn Zaefferer's Validate plugin. The error is: elem is undefined [Break on this error] var id = elem[ expando ];\r\n The code is: http://www.w3.org/TR/html4/loose.dtd";> http://code.jquery.com/jquery-latest.js";> $(document)

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
Well it depends ; most of the times you end up loading a big bit of data that should replace a specific portion of the screen (let the standard .load() behaviour do the heavy lifting for this one) plus a few tidbits like notifications and so on that are secondary (can be dealt with in the callback)

[jQuery] Save javascript variable via jquery

2009-12-04 Thread m.ugues
Hallo all. I would like to save the response of an AJAX call in a variable declared in the document ready in parent page. Imagine this piece of code http://pastie.org/727450 The document ready lives in an iframe so I would like to save in the parent page the var myVariable, not to load it every

[jQuery] jScrollPane - help is needed

2009-12-04 Thread xirurg
Hi All I'm having a problem with jScrollPane. Take a look on http://www.cmt.ca/unstable/ - photo gallery on the right. It loads the whole list first and then limits it to certain width. So my question is - is is possible to eliminate that effect when user sees whole list for a while. Any help wi

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread donb
I have a 'slow computer' that is 6 years old hardware, has been upgraded from windows 3.1 and upward, to the current XP without ever a wipe and reinstall. I figure I'm a worst-case scenario if there ever was one. ;-) I routinely find pages loading extremely slow from javascript-intense sites.

[jQuery] Re: BlockUI strange behaviour in IE7

2009-12-04 Thread Filipa Andrade
Hi, I am not able to post an example at the moment. Does anybody have an idea for solving this problem? Thank you. On Dec 3, 9:54 am, Filipa Andrade wrote: > Hi Mike, > > sorry but I cant post a link. I will try to make one example of this > problem and post it here. > As additional information

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Richard D. Worth
I think you're better of with $.get and then doing the finding and loading into both divs yourself. - Richard On Fri, Dec 4, 2009 at 5:21 AM, NMarcu wrote: > Hi, > > I need to update a div that contain a table, and another one that > contain a drop down list, that is build depending on what i

[jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread wshawn
Celeron? BAH! They need to kill that beast. In openSuse, on a not so slow machine ;) running KDE, Firefox 3.5.5 with only the cookie monster plugin activated, I noticed a slight lag in the mootools sample. Some of this perceived speed difference may be a direct result of plugins, or proxy issu

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
For some reason I have a feeling you've overlooked the official jQuery documentation on .load(), especially the example section. http://docs.jquery.com/Ajax/load#urldatacallback Michel Belleville 2009/12/4 Nicu Marcu > Can you give me please some example or where to find a documentation about

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Nicu Marcu
Can you give me please some example or where to find a documentation about what you said. 2009/12/4 Michel Belleville > .load() also has a success triggered callback. > > Michel Belleville > > > 2009/12/4 NMarcu > > Hi, >> >> I need to update a div that contain a table, and another one that >

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
.load() also has a success triggered callback. Michel Belleville 2009/12/4 NMarcu > Hi, > > I need to update a div that contain a table, and another one that > contain a drop down list, that is build depending on what is in one > table from db(the first div depend on this also). It's possibl

[jQuery] Is possible to update two div with the same load?

2009-12-04 Thread NMarcu
Hi, I need to update a div that contain a table, and another one that contain a drop down list, that is build depending on what is in one table from db(the first div depend on this also). It's possible to update the 2 divs with the same load, or need to use two load. I try this but not worked c

Re: [jQuery] Spellchecker plugin

2009-12-04 Thread Dhruva Sagar
Cool, appreciate the effort, I will check it out soon and give you my feedback. Thanks & Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 3:37 PM, Richard W wrote: > Hi jQuery users > > I have pretty much finished my simple spellchecker plugin (barring > additional functionality) and am wanting

[jQuery] jQuery Load, use in Django(help to do load two times)

2009-12-04 Thread NMarcu
Hello all, I have a strange problem with jquery load. I have this two loads on a click event: action='first'; $( '#operators_list_div' ).html( ' ' ).load( '{% url add_save_view %}',{'action':action, }); action='second'; $( '#address_list' ).html( ' ' ).load( '{% url add_save_view %}', {'actio

[jQuery] Spellchecker plugin

2009-12-04 Thread Richard W
Hi jQuery users I have pretty much finished my simple spellchecker plugin (barring additional functionality) and am wanting some testing/feedback/ criticism/bug reports etc from the jQuery community. My initial inspiration for the plugin came from a work responsibility: to build a spellchecker pl

[jQuery] Re: Help with Datepicker

2009-12-04 Thread Keith
You also need to tell it to use a button to trigger the popup using the showOn setting. Set it to 'button' to only popup on the button click and not on focus, or 'both' to show on either. ('#MembershipWizard1_Wizard1_ctl05_ClubConfirmation1_txtStartDate').datepicker ({ dateFormat: 'dd/mm/yy',gotoC

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Jonathan Vanherpe (T & T NV)
That's why I said you needed to find a slow computer to test it on ;-). We need to cater to a diverse audience, and part of that audience is using IE6 on a crappy Intel Celeron chip or Firefox on a G4. Jonathan Michel Belleville wrote: Just used your benchmark and I didn't see any significant

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Michel Belleville
Just used your benchmark and I didn't see any significant differences. Both had slight jumps from time to time, none felt like there was a pattern, I'm using Firefox 3.5 on a iMac pro (last year's edition) running snow leopard. Michel Belleville 2009/12/4 Jonathan Vanherpe (T & T NV) > Karl S

[jQuery] [Draggable] How to cancel drag while dragging

2009-12-04 Thread jmunning
Hi All, I have a scenario where I have a results box and a drop zone where results can be dropped. When the results are dropped, the results box is updated with new results. My problem occurs when dragging a result while the results box is being re-loaded from the previous drop. The results box

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Jonathan Vanherpe (T & T NV)
Karl Swedberg wrote: On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote: I refrained from replying because the OP seemed trollish, but he has a point, IMHO. It would be great if someone who knew both frameworks could set up a page that demonstrated a side-by-side case where Mootools has smoother

Re: [jQuery] Automagically link http(s)://, mailto: etc in String

2009-12-04 Thread Michel Belleville
Indeed, you could try something like this : string.replace(/((?:(?:http:\/\/)|(?:mailto:))([^\s]+))/, '$2'); And bam! the returned value will have your http://s and mailto:s wrapped in nice links. Michel Belleville 2009/12/4 Dhruva Sagar > Of course it's possible :). All you need to do is kno

Re: [jQuery] Re: next()

2009-12-04 Thread Michel Belleville
That's easy, .next() finds the nearer next *sibling* of current element matching the selector. In your case, your element is not current element's sibling, it's under another node altogether. hey, it's me !! and I'm his sibling and I am too though I am not because I'm not the direct child of the

[jQuery] Re: Selector issue

2009-12-04 Thread Civette
Well, after a few tests, this works fine : $("#cat_list > div").live("click", function() { alert($(this).attr("id")); }); thanx

[jQuery] Widgets giving problem in master page

2009-12-04 Thread udaycse542
Hi everyone, I am using Jquery for moving widgets in a page.By using (http://nettuts.s3.amazonaws.com/127_iNETTUTS/demo/index.html ) site i done it.it is working fine in normal page.I am using in master page(asp.net). when widgets placing one bye one the page height is increasing .I place

[jQuery] Re: superfish navbar issue in Afterburner or JA-Purity Templates

2009-12-04 Thread xantof
Thanks Charlie, You describe the situation perfectly! I am still a tenderfoot at this game but I am getting my hands dirty. Priorities is not the easiest notion to grasp. I am using Firebug but I am not yet fully proficient with all its functionalities and haven't (yet) got the "method" to move up