[jQuery] Re: Bug in hover()?

2009-01-16 Thread ezod
stupid me ;) thanks a lot ricardo. greetz ezod On 15 Jan., 18:19, Ricardo Tomasi ricardob...@gmail.com wrote: you have to unbind('mouseenter').unbind('mouseleave') - ricardo On Jan 15, 1:15 pm, ezod pured...@gmail.com wrote: Hi all, I tried the following: // bind hover (works!)

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-16 Thread Nicolas R
@ Adam, Unfortunately no, I haven't done any testing on IE = no fixing. I imagine that it's not a lot of work to be done, mostly setting height: 1% to most of the elements and perhaps adding some width properties. I'm on a mac so testing on IE is not easy for me. Nicolas On Jan 16, 3:18 am,

[jQuery] Re: How do I use the JSON api to enter a value in a p tag?

2009-01-16 Thread Beres Botond
The concept is basically the same. You would add something like: $('#my_target_element').append('p' + item.title + '/p') On Jan 16, 1:01 am, desbest afanintheho...@gmail.com wrote: How do I use the JSON api to enter a value in a p tag? Code is

[jQuery] jQuery.support query

2009-01-16 Thread JQueryProgrammer
The utilities jQuery.browser and jQuery.version has been deprecated in jQuery 1.3 version and the documentation says to use jQuery.support for the same. But I do not find any options for browser and version in jQuery.support. Although they have been included in 1.3 release too, but are

[jQuery] Re: issue with pathClass: current on nav style menu

2009-01-16 Thread cajchris
Just wondering if there was any update on this?, if anyone could help as it is quite a frustrating problem Regards Chris On Jan 15, 4:28 pm, cajchris cajch...@gmail.com wrote: Anyone got any ideas? On Jan 15, 4:08 pm, cajchris cajch...@gmail.com wrote: Also notice that the jQuery is

[jQuery] Wrapping non empty text node with span

2009-01-16 Thread Jacky
Hi all, I'm looking for a way to wrap text node with span. HTML: ul id=target liItem 1/li liItem 5 ul liItem 5-1/li liItem 5-2/li liItem 5-3 ul liItem 5-3-1/li /ul /li /ul /li liItem 6/li /ul Expected

[jQuery] Re: How do i generify this action to happen for every radio button with id=other

2009-01-16 Thread kat...@googlemail.com
Sure, but I was hoping for a generic kind of answer like if input=other than ... Form code is generated by the drupal Form API [code] div class=form-item div class=form-radios div class=form-item id=edit-sample-garden-wrapper label class=optioninput type=radio id=edit-sample-garden

[jQuery] Re: namespacing events

2009-01-16 Thread Stephan Veigl
But I'm not trying to trigger my.event, I trigger my.event.a. With a bind(my.event.a) I would expect to catch my.event.a events only, and not my.event.xxx. While for a bind(my.event) I would expect to catch all my.event, my.event.a, my.event.xxx, ... events. Stephan

[jQuery] Re: namespacing events

2009-01-16 Thread Stephan Veigl
Thanks for the clarification. But there is still some point I'm confused of. If the dot is not a namespace separator I would expect it to be a logical and, or or operator. But my experiments show that you cannot interpret it as logical operator either, or at least I don't get it. So what's best

[jQuery] Re: How do i generify this action to happen for every radio button with id=other

2009-01-16 Thread Beres Botond
http://docs.jquery.com/Selectors/attributeContains#attributevalue $(input[id*='other']).bind(evt, function(){ alert('This should get called when you click on any radio if it's id contains other') if ($(this).attr('checked') == 'checked' $(this).val() == 'other') {

[jQuery] JSON with ajaxComplete

2009-01-16 Thread James Hughes
Hello, I have a generic ajaxComplete event that does soe generic stuff to my screen once ajax calls complete. All calls will return a JSON object with at least a success property. The thing is the ajaxComplete arguments don't have my response in JSON (regardless of specifying type in the

[jQuery] Re: Wrapping non empty text node with span

2009-01-16 Thread Beres Botond
I don't think you need .find(li), just $(#target li).each(function(){ Other than that, looks pretty simple already On Jan 16, 10:50 am, Jacky jacky...@gmail.com wrote: Hi all, I'm looking for a way to wrap text node with span. HTML: ul id=target liItem 1/li liItem 5

[jQuery] Re: Wrapping non empty text node with span

2009-01-16 Thread Beres Botond
Actually, you'll need $(#target).find(li).each(function(){ to process each li from target ul. On Jan 16, 12:22 pm, Beres Botond boton...@gmail.com wrote: I don't think you need .find(li), just $(#target li).each(function(){ Other than that, looks pretty simple already On Jan 16, 10:50

[jQuery] Superfish: changing state by script

2009-01-16 Thread Christian Jul
Hi I have made a small script that loads content via ajax. The site in question uses superfish for a menu, and I would like to update the state of the menu, when I load new content to the content area. The menu is a 2 layer menu, and the second level will show the items for the current level

[jQuery] Re: issue with pathClass: current on nav style menu

2009-01-16 Thread cajchris
help please lol!!! On Jan 16, 8:46 am, cajchris cajch...@gmail.com wrote: Just wondering if there was any update on this?, if anyone could help as it is quite a frustrating problem Regards Chris On Jan 15, 4:28 pm, cajchris cajch...@gmail.com wrote: Anyone got any ideas? On Jan 15,

[jQuery] Re: What is wrong ?

2009-01-16 Thread Giuliani Sanches
Fixed. :) The problem was with the way on how i build the unordered list (i'm using jinja2 templates) and some issues with css. Ty. On 15 jan, 20:09, Giuliani Sanches giulianisanc...@gmail.com wrote: I have the jquery working fine ( $(a).click to show an alert messages do the job) but i

[jQuery] Re: How get data objects from a php file called via ajax

2009-01-16 Thread Beres Botond
If you want to have events on html elements loaded/added dynamically, you need to bind the event after the element has been inserted into the page. $(#myresult).html(html); // define your click event here Or with jquery 1.3 you can use .live() http://docs.jquery.com/Events/live On Jan 15,

[jQuery] Re: .animate() custom animation callback?

2009-01-16 Thread Ariel Flesler
You have to click on Options. On Thu, Jan 15, 2009 at 8:30 PM, Ricardo Tomasi ricardob...@gmail.com wrote: http://docs.jquery.com/Effects/animate#paramsdurationeasingcallback http://docs.jquery.com/Effects/animate#paramsoptions This is what the links on the main page point to. Where did you

[jQuery] [Plugin Release] Endless Scroll

2009-01-16 Thread Canglan
Hi guys, Just thought I'd post this here in case anyone finds it useful. I have released a plugin for endless scrolling. If you don’t already know, endless scroll (or infinite scrolling) is a popular technique among web 2.0 sites such as Google Reader and Live Image Search, where instead of

[jQuery] How get data objects from a php file called via ajax updated?

2009-01-16 Thread Mikael
Hi all, I want to make a selection in a list created by a php-file that is called from another php-file using jQuery and ajax but I can not get any events to the newly created html elements. My example is very limited but shows the main problem. The first php-file has abutton defined like

[jQuery] Re: Code simplification?

2009-01-16 Thread robgt
Hi Ricardo, Thanks for that, quite clear and I follow what you wrote. My issue is that the hoverintent function runs on the menu tabs, not on the submenu panels. So, the mouse hovers over one of the menu tabs, i.e. .nav_company, and that should then trigger the display of the content panel below

[jQuery] Re: [Plugin Release] Endless Scroll

2009-01-16 Thread Rick Faircloth
Look great! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Canglan Sent: Friday, January 16, 2009 6:48 AM To: jQuery (English) Subject: [jQuery] [Plugin Release] Endless Scroll Hi guys, Just thought I'd post this

[jQuery] Re: browser window position when ajax updating

2009-01-16 Thread Rick Faircloth
Try adding return false; to your click code to prevent normal click response. hth, Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexey Sent: Thursday, January 15, 2009 9:37 PM To: jQuery (English) Subject: [jQuery]

[jQuery] Re: How get data objects from a php file called via ajax updated?

2009-01-16 Thread Beres Botond
Why don't you check your old thread for responses instead of posting the same thing twice? http://groups.google.com/group/jquery-en/browse_thread/thread/c94d4da1f304e2d/0b7b2b0e9c9ea11e?hl=enlnk=gstq=ajax#0b7b2b0e9c9ea11e Do what I said there, and also make sure that your PHP script is working

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-16 Thread Felipe Paiva
A really nice plugin! The only thing missing in my view is a small bread cump as in the mac! ;) On Fri, Jan 16, 2009 at 5:20 AM, Nicolas R ruda...@googlemail.com wrote: @ Adam, Unfortunately no, I haven't done any testing on IE = no fixing. I imagine that it's not a lot of work to be done,

[jQuery] jQuery (1.2.6) and IE7 problem

2009-01-16 Thread Charlie22
Hi all, I have problem with these pages, check menu Rules and then submenu for rules. Under FF3 it works OK, but under IE7 it lost data from cache or what. Deos can somobody help me. Thx in advance. jQuery codes Menu: $(function(){ $(ul#menu li a:first).addClass('active'); $(ul#menu

[jQuery] [accordion] Accordion overflow problems in IE6 (maybe also 7)

2009-01-16 Thread zemm
Hi all, the accordion won't work properly in ie6 (works perfectly in ff 3). the structure: div class=container div id=test-accordion class=accordion div class=accordion-item div class=accordion-toggle/div div

[jQuery] forms validation problem

2009-01-16 Thread vierda
dear all, I'm new with Jquery and now I want to use it for validate forms. I build site with django. The problem is the error message cannot show up. my code as following below: $(document).ready(function(){ $('#updateForm').validate({ rules:{ email:{

[jQuery] Superfish: Error: jQuery(ul.sf-menu).superfish is not a function

2009-01-16 Thread roel
Hi, I'm running a Joomla site with the superfish menu (http:// www.sdspaintball.nl) Menu works fine except when I go to the forum section. It displays the menu, but without the downarrow indicator. Also the slide effect is not working as it is on the rest of the site. Error I'm getting is:

[jQuery] how to enable drag drop using this plugin

2009-01-16 Thread Vicky am
I am using thise plugin. http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ Using thise plugin, how to drag only row within class='dro'. I not want to drop all rows, only row within class='dro' Thnks.

[jQuery] forms validation problem

2009-01-16 Thread vierda
dear all, I'm new with jquery and I have problem with my code for forms validation. the error message cannot show up. I build the web site using django. my code as per following below: {% extends 'base_site.html' %} {% load i18n %} {% block breadcrumbs %}div class=breadcrumbsa href=/{% trans

[jQuery] Autocomplete - Minimum Size of Possible Matches

2009-01-16 Thread JP
Has anyone else run in to an issue with autocomplete not returning matches of less than five characters? I have it searching for matches starting at 2 characters, but for some reason it sits at the 'Loading' message if the only match is only 4 characters long? (For example, I'm typing in 'Ko'

[jQuery] window height for footer

2009-01-16 Thread hypnos
I'm using the code below to position a footer div in a flexible layout with this css #footer { position: absolute; /* Needed for Safari */ padding: 1px; background-color: #e3e3e3; text-align:center; height: 20px; left:230px; right:30px;

[jQuery] Selector *= not works in Safari 3.2.1 and Chrome 1.0.154.43

2009-01-16 Thread floyd
Hi all, Here is my situation. HTML Page DTD Type is declared as following !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd Javascript Code as following $(#fp option[text*='+subject+']).remove(); Where #fp is a select.../select object Works fine in

[jQuery] jQuery (1.2.6) $.ajax and IE7 problem

2009-01-16 Thread Charlie22
Hi all, I have probelm with these pages http://83.240.47.84/skyrace2 under FF3 menu rules and submenu works fine, but under IE7 it is loosing data. What is wrong there? scripts: Menu: $(function(){ $(ul#menu li a:first).addClass('active'); $(ul#menu li a).click(function(){

[jQuery] jQuery in a Firefox Extension...

2009-01-16 Thread Nic
It seems like this has been asked a million times, but nothing seems to answer my question. I include it in my .xul above my other scripts- (I checked the location and it's correct). It's the first time I've used jQuery in an extension, so I'm trying to run some commands on load just to see if

[jQuery] Re: JSON with ajaxComplete

2009-01-16 Thread Mike Alsup
I have a generic ajaxComplete event that does soe generic stuff to my screen once ajax calls complete.  All calls will return a JSON object with at least a success property.  The thing is the ajaxComplete arguments don't have my response in JSON (regardless of specifying type in the call).

[jQuery] Re: Weirdest thing on Firefox 3 on MacOSX

2009-01-16 Thread Aaron Barker
If you are still in need of the error messages send me the link. I can't give you tons of times, but can give you screenshots of the errors or something. Aaron On Jan 14, 10:23 pm, yellow1912 yellow1...@gmail.com wrote: I still desperately need help for this, since I dont have Mac to test

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread CreativeMind
$('li.tabs-selected') also shows undefined.. i m unable to find li with the help of class 'tabs-selected'.. On Jan 16, 1:28 am, Balazs Endresz balazs.endr...@gmail.com wrote: Now that's another one: $('li').hasClass('.tabs-selected') and $('li').is('.tabs-selected') only tell you if li

[jQuery] Re: Selector *= not works in Safari 3.2.1 and Chrome 1.0.154.43

2009-01-16 Thread John Resig
What version of jQuery are you using? --John On Fri, Jan 16, 2009 at 2:35 AM, floyd floyd...@gmail.com wrote: Hi all, Here is my situation. HTML Page DTD Type is declared as following !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd

[jQuery] NS_ERROR_XPC_JS_THREW_STRING with jquery 1.3

2009-01-16 Thread bryce4president
This error seems to be rearing its ugly head in FF3 using jquery 1.3. When I was using the latest 1.2.6 for jquery I would get a little warning in firebug that said... Empty string passed to getElementById(). This wouldn't cause anything bad to happen and things would move on just fine. IE7

[jQuery] Re: jQuery in a Firefox Extension...

2009-01-16 Thread Eric Garside
I'm pretty sure the problem is that jQuery is defining itself in it's header section as something like window.jQuery = jQuery = $ or some such referential transitive equation strand. I'm not an expert at FF plugins, but I have gone through the motions of building one that modified current pages

[jQuery] Re: NS_ERROR_XPC_JS_THREW_STRING with jquery 1.3

2009-01-16 Thread Eric Garside
I didn't know you could cal var x = $('selector'); x[0] and have it work. Try changing this line to: $('#'+inputArray.eq(0).attr('name')).removeClass(error); Also, I can't see the rest of the code, but why are you re-selecting the current element like you are? The name and ID are the same, so

[jQuery] jQuery UI 1.6rc5

2009-01-16 Thread Eric Garside
When is this planned on coming out? Anyone know?

[jQuery] Re: jQuery UI 1.6rc5

2009-01-16 Thread John Resig
The jquery-ui list would be a better place for this question. http://groups.google.com/group/jquery-ui --John On Fri, Jan 16, 2009 at 9:34 AM, Eric Garside gars...@gmail.com wrote: When is this planned on coming out? Anyone know?

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread Balazs Endresz
This should definitely work, with a live test page it would be much easier to say anything about it. What version of jQuery are you using and on which browser does it occur? On Jan 16, 2:48 pm, CreativeMind aftab.pu...@gmail.com wrote:  $('li.tabs-selected') also shows undefined.. i m unable

[jQuery] Re: 1.3 live doesn't seem to work with UI?

2009-01-16 Thread Clumsy Hamster
Thanks everyone. Am looking forward to this. :) On Jan 15, 11:25 pm, Richard D. Worth rdwo...@gmail.com wrote: It was just released. See http://ui.jquery.com/ for jQuery UI 1.6rc5. There will be a blog post in the morning. - Richard On Thu, Jan 15, 2009 at 11:54 PM, MorningZ

[jQuery] Re: forms validation problem

2009-01-16 Thread Jörn Zaefferer
Please take a look at this section: http://docs.jquery.com/Discussion#Support_Questions What you provided so far isn't enough to help you debug the issue.. Jörn On Fri, Jan 16, 2009 at 9:27 AM, vierda m...@pensil.com wrote: dear all, I'm new with jquery and I have problem with my code for

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread CreativeMind
jQuery1.2.4 and browsers are IE and ff..the html source view of both browsers shows single class implemented that is 'xsnazzy' but the generated source of both browsers shows three classes implemented (xsnazzy top-left tabs-selected).. On Jan 16, 7:41 pm, Balazs Endresz balazs.endr...@gmail.com

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread Balazs Endresz
Try 1.2.6 or 1.3! There was some problem with 1.2.4 and 1.2.5, it was very quickly updated to 1.2.6. On Jan 16, 3:54 pm, CreativeMind aftab.pu...@gmail.com wrote: jQuery1.2.4 and browsers are IE and ff..the html source view of both browsers shows single class implemented that is 'xsnazzy' but

[jQuery] Re: NS_ERROR_XPC_JS_THREW_STRING with jquery 1.3

2009-01-16 Thread bryce4president
I boiled this example down to its simplest form. In my actual page I have 6 text boxes, 2 radio buttons, and a submit button. If the form criteria is not met on keyup then I highlight the inputs in error by changing their background colors to red and on their next keyup if it satisfies the

[jQuery] Re: .animate() custom animation callback?

2009-01-16 Thread Ricardo Tomasi
Oh. Didn't notice the tabs. I better give a break from this group for a while, I'm getting confused all the time. Thanks for pointing out the page. cheers, - ricardo On Jan 16, 9:28 am, Ariel Flesler afles...@gmail.com wrote: You have to click on Options. On Thu, Jan 15, 2009 at 8:30 PM,

[jQuery] weird issue with ready event

2009-01-16 Thread graphicsxp
Hello, I'm trying to set the html content of a DIV (id='list') which sits in a page opened with window.open : var pop = window.open(PrintList.aspx); $(pop.document).ready(function() { $(#list, pop.document).html(hello); }); As you can see, the string 'hello' should be written to

[jQuery] Re: issue with pathClass: current on nav style menu

2009-01-16 Thread cajchris
Anybody with any ideas? On Jan 16, 10:39 am, cajchris cajch...@gmail.com wrote: help please lol!!! On Jan 16, 8:46 am, cajchris cajch...@gmail.com wrote: Just wondering if there was any update on this?, if anyone could help as it is quite a frustrating problem Regards Chris On

[jQuery] Re: NS_ERROR_XPC_JS_THREW_STRING with jquery 1.3

2009-01-16 Thread bryce4president
And just a little PS... I wrote this code back when 1.1.2 was the latest version. I was really new to jquery and the way things were done and learning some of these things about not having to make selections over again weren't learned or realized. I did what I had to do at the time with what I

[jQuery] Re: Problems with the New API Browser

2009-01-16 Thread Alexandre Plennevaux
Well, i for one really love the new API interface _ such a much less noisy interface than the docs.jquery.com interface! clearer, snappier. it turns out i don't use the navigation menu much, i use the filter box mostly. that's probably why i'm not so annoyed by its limits. really liked the

[jQuery] Re: jQuery.support query

2009-01-16 Thread Ricardo Tomasi
The point is you don't need to know which browser or version it is, as long as you know what features it supports. According to John R, $.browser and version will remain in the core indefinitely, despite being deprecated, as they are useful for CSS coding and not everyone is familiar with the

[jQuery] Re: tablesorter after a tr.remove()

2009-01-16 Thread dduck1934
Do you know the best way to reapply the zebra widget to the table once i remove rows? Ive seen posts on triggering the sorton again with the current sort, but this seems kind of yucky. Is it possible to use the addWidget() to readd the zebra? thanks On Jan 15, 5:22 pm, MorningZ

[jQuery] Re: How get data objects from a php file called via ajax updated?

2009-01-16 Thread Mikael
Thanks a lot Beres, this solved my problem. My mistake for reposting, sorry about that. On 16 Jan, 14:05, Beres Botond boton...@gmail.com wrote: Why don't you check your old thread for responses instead of posting the same thing twice?

[jQuery] Re: How get data objects from a php file called via ajax

2009-01-16 Thread Mikael
Thanks a lot Beres, this solved my problem! On Jan 16, 11:46 am, Beres Botond boton...@gmail.com wrote: If you want to have events on html elements loaded/added dynamically, you need to bind the event after the element has been inserted into the page. $(#myresult).html(html); // define

[jQuery] jQuery Ajax, getting data returned from my PHP script

2009-01-16 Thread gemmes
Hi All, I created a form and decided to add some AJAX. What I want to do is add a span class=required*/span next to my required label elements and change to span class=valid*/span when the AJAX blur event validates each of my fields. My problem, when I run the script I get no data returned

[jQuery] sorting a select list of option elements

2009-01-16 Thread mtz
I have a select list into which I place new option elements, and I want to show them in sorted order. I've searched around and tried some approaches, but not successful yet. Here is an example. It may not be the best use of jQuery, but at least I understand it. The select element has id ops-memb

[jQuery] Re: 1.3 live doesn't seem to work with UI?

2009-01-16 Thread Alexsandro_xpt
That realease don't work very well in IE7 using UI Tabs with Facebox. Take look my post at: http://groups.google.com/group/jquery-ui/browse_thread/thread/009afe01bd3b2667 And I don't know to do. On 16 jan, 05:25, Richard D. Worth rdwo...@gmail.com wrote: It was just released. See

[jQuery] Re: $(area) not working in IE (sorry if this is a repost)

2009-01-16 Thread ryan.joyce...@googlemail.com
I know... no Firebug in IE. Poo. maybe give firebug lite a go. it's a firebug library you can embed into a page and view through any browser you like. http://getfirebug.com/lite.html it's always useful for trying to hack out random IE bugs. On Jan 15, 5:00 am, James Van Dyke

[jQuery] back load livequery

2009-01-16 Thread vcs
Hello, I use 'livequery' where Loading function data. There is a need for the possibility of back of the previous result and I do not know how to do this. For example, 3 loading and clicking back-loaded me return to a previous one, when I click again, back again, I revert to the previous result

[jQuery] Re: weird issue with ready event

2009-01-16 Thread Ricardo Tomasi
I've seen this before, it seems the 'ready' doesn't fire on opened windows or frames, you have to use $(pop).load(fn) instead. On Jan 16, 1:11 pm, graphicsxp graphic...@googlemail.com wrote: Hello, I'm trying to set the html content of a DIV (id='list') which sits in a page opened with

[jQuery] Re: Display Loading Image While Ajax Content Loads

2009-01-16 Thread jinscoe
Whoops! I'm so used to getting email notifications for discussions...I just figured no one had replied! So sorry for not coming back. Thank you both for your replies. I was wondering if that might be the case JQuery Lover. Would there be a way to generalize the .load for only images with a

[jQuery] Re: jQuery Ajax, getting data returned from my PHP script

2009-01-16 Thread Stephan Veigl
try: echo$ajax_validation_response; instead of return $ajax_validation_response; in your PHP script

[jQuery] Re: jQuery Ajax, getting data returned from my PHP script

2009-01-16 Thread gemmes
hhmmmpppf yep that helps, getting data returned now. many thanks On Jan 16, 5:24 pm, Stephan Veigl stephan.ve...@gmail.com wrote: try:   echo$ajax_validation_response; instead of   return $ajax_validation_response; in your PHP script

[jQuery] Re: Autocomplete - Minimum Size of Possible Matches

2009-01-16 Thread brian
Are you using MySQL? You can change the default minimum word length. See this page: http://dev.mysql.com/doc/refman/5.1/en/fulltext-fine-tuning.html Also, the stop-word list can be adjusted: http://dev.mysql.com/tech-resources/articles/full-text-revealed.html On Thu, Jan 15, 2009 at 11:25

[jQuery] Re: Permit jQuery-wrapped DOM elements not currently in DOM as messages

2009-01-16 Thread robocoder
An example use case is where the element is clone()'d. var dispMenu = $('#widgetChooser').clone(true); $.blockUI({message: dispMenu}); On Dec 5 2008, 5:33 pm, harningt harni...@gmail.com wrote: CurrentlyblockUImakes the assumption that any jQuery element that is passed in is a 'real' DOM

[jQuery] validate and form plugins

2009-01-16 Thread bRocco
i have a table with an edit button in each row. when the edit button is clicked, the following script is run: //edit click $('#edit_lnk_' + index).click(function() { Boxy.get('#cancel_changes_lnk').show(); $('#ddlProjects').clearSelect(); $('#ddlTasks').clearSelect();

[jQuery] Load page after succesfull validation

2009-01-16 Thread Snaak
Hi all, I am struglin' for a while to load a PHP file after a succesfull validation with the beautiful Basisstance Validation plugin. How can I use the submitHandler to load an external PHP file and please the data in the right target? submitHandler: function(form) {

[jQuery] newbie - cluetip

2009-01-16 Thread moof
Goodmorning I'm completely new to jquery and java script. I'm a graphic designer and learned some basic scripting by meself. So please don't shoot me if my code is a mess. However I want to change the menu on this site www.moof.be/intro.html with a cluetip. I already made some changes to it

[jQuery] load question

2009-01-16 Thread wagner
i'm stuck on a pretty basic concept. on hovers of a's, i'm trying to load an element from another page by url and id into a display div. i'm trying to get those 2 bits of info from the triggering a. i'm close: the product matches a hard coded string, but doesn't load (the way the hard coded

[jQuery] some help to modify a class plz

2009-01-16 Thread souie...@gmail.com
Hi, i have this html: ul class=dropdown li class=myaccountspansome text/span/li /ul and this code does not work: $(.myaccount).hover(function() { $(ul.dropdown li.myaccount_hover).removeClass (myaccount_hover).addClass(myaccount); }); how can i access to myaccount_hover class for

[jQuery] Re: jQuery Ajax, getting data returned from my PHP script

2009-01-16 Thread adam.swee...@gmail.com
is the post actually getting to your .php? if so, what does your alert say? does it say Data Saved: anything? ? another thing to consider: there is a validation plugin that would benefit your needs along with the jquery form plugin that allows you to submit the form via ajax. that way, you

[jQuery] Re: No element found when firing $.post()

2009-01-16 Thread talinme...@googlemail.com
I had the same issue. It was caused by my handler not actually returning anything.

[jQuery] question about changes to :not() in 1.3

2009-01-16 Thread jdwbell
Here I am trying to get every element which is not a div that contains another div. Is $(':not(div:has(div))') supposed to now be equivalent to $('*').not ($('div:has(div)')) or am I misunderstanding what the change was (I'm just getting started with jQuery)? Thanks!

[jQuery] Autocomplete

2009-01-16 Thread avagarwal
Hi, In IE6 we find that if we have a combo box below the Autocomplete text box, the combo box displays on top of the item selection list that is displayed. Is there a work around for this. Thanks Anurag

[jQuery] How to? Multiple Colored Accordion...

2009-01-16 Thread Joshua Sortino
I have found plenty of accordion tutorials online, however, I'm trying to create an accordion with multiple colors for each section (that don't change when clicked.) Here is an example of what I am trying to accomplish: http://blackstonemediaonline.com/dump/accordion.jpg Does anyone know of any

[jQuery] Re: sorting a select list of option elements

2009-01-16 Thread brian
Maybe use makeArray() first. Something like: $.makeArray($('#ops-memb option')).sort(... On Fri, Jan 16, 2009 at 11:04 AM, mtz tracey.zellm...@gmail.com wrote: I have a select list into which I place new option elements, and I want to show them in sorted order. I've searched around and tried

[jQuery] validate and form plugins

2009-01-16 Thread adam.swee...@gmail.com
i have a table with an edit button in each row. when the edit button is clicked, the following script is run: //edit click $('#edit_lnk_' + index).click(function() { Boxy.get('#cancel_changes_lnk').show(); $('#ddlProjects').clearSelect(); $('#ddlTasks').clearSelect();

[jQuery] Re: sorting a select list of option elements

2009-01-16 Thread Kean
Only true arrays will inherit the sort method. On Jan 16, 10:10 am, brian bally.z...@gmail.com wrote: Maybe use makeArray() first. Something like: $.makeArray($('#ops-memb option')).sort(... On Fri, Jan 16, 2009 at 11:04 AM, mtz tracey.zellm...@gmail.com wrote: I have a select list into

[jQuery] Re: sorting a select list of option elements

2009-01-16 Thread brian
http://docs.jquery.com/Utilities/jQuery.makeArray#obj -- snip -- jQuery.makeArray( obj ) Turns anything into a true array. -- snip -- On Fri, Jan 16, 2009 at 1:25 PM, Kean shenan...@gmail.com wrote: Only true arrays will inherit the sort method. On Jan 16, 10:10 am, brian

[jQuery] how can we set script/noscript tag html ?

2009-01-16 Thread cc96ai
we can get the .html() in script/noscript but once we want to write it back, we got error e.g. $(script).html(var a=123); Unexecpeted call to method or property access

[jQuery] Re: sorting a select list of option elements

2009-01-16 Thread mtz
Thanks. I can make the array now and it legitimately sorts. However, I can't see an easy way to get the values in the array back into the option id='123''A name/option format again, so I can put teh HTML into the select . On Jan 16, 1:33 pm, brian bally.z...@gmail.com wrote:

[jQuery] Re: how can we set script/noscript tag html ?

2009-01-16 Thread Eric Garside
For the same reason you can't replace the fan on an engine while it's running? Use $.getScript() On Jan 16, 1:42 pm, cc96ai calvin.chan@gmail.com wrote: we can get the .html() in script/noscript but once we want to write it back, we got error e.g. $(script).html(var a=123);

[jQuery] Re: Autocomplete

2009-01-16 Thread MorningZ
Right off the plugin's homepage http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ -- * optional: bgiframe plugin to fix select-problems in IE, just include to apply to autocomplete

[jQuery] Re: sorting a select list of option elements

2009-01-16 Thread brian
You'll need to save the output into a variable, then loop through that to create new options and replace the existing ones. var new_opts = $.makeArray($('#ops-memb option')).sort(... There's probably a neat jQuery way to do all of this compactly. On Fri, Jan 16, 2009 at 1:44 PM, mtz

[jQuery] Re: sorting a select list of option elements

2009-01-16 Thread mtz
Yeah - I think this is getting too complicated. I actually am only inserting one item at a time. Rather than sort, I think I only need to go through the existing items which are already in alphabetical order, and find where to insert the new one. On Jan 16, 1:58 pm, brian bally.z...@gmail.com

[jQuery] More efficient way to find Parent element

2009-01-16 Thread Coryt
after learning the difference between parents and parent, I am having to resort to using parent(), but it's not very clean. Consider the following table, which is embedded in a page, which may have additional tables (for this reason I cannot use parents(table) because it returns multiple

[jQuery] How do I abort a function?

2009-01-16 Thread Rick Faircloth
If I want to abort a function based on a condition, what is the command to do that? if x == 0 abort this function... Thanks, Rick

[jQuery] Re: How do I abort a function?

2009-01-16 Thread Donald J. Organ IV
return; - Original Message - From: Rick Faircloth r...@whitestonemedia.com To: jquery-en@googlegroups.com Sent: Friday, January 16, 2009 2:34:39 PM GMT -05:00 US/Canada Eastern Subject: [jQuery] How do I abort a function? If I want to abort a function based on a condition, what is

[jQuery] Re: How do I abort a function?

2009-01-16 Thread Rick Faircloth
Thanks! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Donald J. Organ IV Sent: Friday, January 16, 2009 2:41 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How do I abort a function? return; -

[jQuery] Re: question about changes to :not() in 1.3

2009-01-16 Thread John Resig
$(':not(div:has(div))') is equivalent to $('*:not(div:has(div))') is equivalent to $('*').filter(':not(div:has(div))') is equivalent to $('*').not('div:has(div)') Hope that helps to answer your question :) --John On Fri, Jan 16, 2009 at 11:24 AM, jdwbell jdwb...@gmail.com wrote: Here I am

[jQuery] cluetip not loading external web page

2009-01-16 Thread Adam
I have setup the cluetip plugin on my website. I was able to get it working when using local content, similar to the example code of $ ('a.title').cluetip({splitTitle: '|'}); However, I can't get it to load an external website. The tool tip comes up, but it says sorry the contents cannot be

[jQuery] jQuery 1.3 live() vs listen/intercept plugins

2009-01-16 Thread rolfsf
I'm trying to understand where the new live() fits in to the world of event delegation, and plugins like listen and intercept What are the arguments for one approach over the other? thanks!

[jQuery] Re: question about changes to :not() in 1.3

2009-01-16 Thread jdwbell
Thank you very much for your reply. I am finding that with the example listed below these two work as expected (that is they are returning non divs and all divs which do not contain other divs): $('*').not('div:has(div)') $('*').not($('div:has(div)')) but these three: $(':not(div:has(div))')

[jQuery] Re: jQuery in a Firefox Extension...

2009-01-16 Thread Nic Luciano
Hm, that makes sense. So, I suppose I could do something like jQuery.noConflict(); var doc = window.content.document; jQuery(#id, doc); Which would solve the issue that jQuery doesn't live in the HTML anymore (and lives in the browser). But how would this work on .ajax functions? Do I have

  1   2   >