[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread Uwe C. Schroeder
> HOW IT WORKS: > the "!important" property forces that style to override all other css, > whether style-sheets, inline-css, header-styles, and whether above or > below in the css hierarchy. Yes, important will override, but only for the one property using it. Let's assume you have to css files

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread johny why
"this could also override any other third party CSS" --i don't think so, Nic, as you apply the "important" property to the 3rd-party css, not your site's css. however, if the 3rd-party css does not use unique class or id names, to target JUST their candy, then applying the 'important' property t

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread johny why
nic, i don't understand what you mean by "modify your CSS to not even use this on your properties"

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread johny why
IMPORTANT: make the above change to the 3rd-party candy css, NOT the css of your website

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread Nic Luciano
This might work for Superfish but isn't it also a possibility by doing this you could do the exact opposite of what you're trying to accomplish, as this could also override any other third party CSS you're trying to use? While I guess it's not technically incorrect, there's no reason to include !im

[jQuery] Re: objects, prototypes, and closures

2009-01-16 Thread brian
There seems to be a missing brace in there. ANyway, try this: $.extend(MyObject.prototype, { save: function(id) { var self = this; var html="some html"; $.post( 'post_page.php',

[jQuery] Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread johny why
trying to integrate a 3rd party css candy into your site may result in conflicts between the candy's css and your site's css, resulting in a rendering mess. stuff that works beautifully by itself blows up when you put it into your website. this trick may not find you a new girlfriend, or butter yo

[jQuery] Hide content until loaded

2009-01-16 Thread Christine Masters
Hi everyone! I'm a jQuery newbie, so I apologize if this is an easy question! I'm building a template for newspaper sites, and by nature of having many ads and modules and so forth, the content loads before the jQuery that styles it, leading to a flash of unstyled content. So, on several of my

[jQuery] objects, prototypes, and closures

2009-01-16 Thread puppycrack
I am having a problem with an Object using closures, and referencing the "this" reference from within the closure. $.extend(MyObject.prototype, { save: function(id) { var html="some html"; $.post( 'post_page.php', {'id':id, 'c':html},

[jQuery] AJAX- i had two different problems each with mozilla and IE

2009-01-16 Thread anjith
I am tired select box function for geting datafrom the database and display in tabular form. Mozilla--Every thing ok but i am not able to get all the rows from database i am geting 4 and half rows.i tired GET method. EXample: xmlHttp.open("GET", "fnctions.php?moviename=" + movie,

[jQuery] Re: UI Tabs, UI Datepicker, ajax...

2009-01-16 Thread Haripriya kalagoutla
On Sat, Jan 17, 2009 at 4:27 AM, rolfsf wrote: > > using jQuery 1.3 and jQuery UI 1.6r5 > > I've got some ajax tabs. > > //initialize tabs >$("ul.tabs-nav").tabs( >defaults = { > navClass: 'tabs-nav', >

[jQuery] jQuery 1.3 - am I missing something or is this a bug?

2009-01-16 Thread B J Pohl
Upgraded to 1.3 on my site today and found that previously working code is broken. The issue is that I was using a selector of $ ('.aComment') to get, not surprisingly, elements with a class of 'aComment' . This worked great with 1.2.6. However, with some tinkering, I have found that I can user

[jQuery] Re: How to hide all "select" form elements

2009-01-16 Thread Karl Swedberg
Hi bob, Since it's a select element, try it without the colon. jq('select').hide(); that should work for you. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 16, 2009, at 11:31 PM, bob wrote: Hi, Is it possible to hide all "select" form elements wit

[jQuery] Re: browser window position when ajax updating

2009-01-16 Thread Alexey
thats it! thanks a lot On Jan 16, 8:32 pm, "Rick Faircloth" wrote: > 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

[jQuery] How to hide all "select" form elements

2009-01-16 Thread bob
Hi, Is it possible to hide all "select" form elements without using id or class atributes? Alabama Alaska

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

2009-01-16 Thread JP
Ok, ignore my stupidity... My issue was caused because one of the fields I was returning had a single quote buried in it and I wasn't escaping it. Sorry I wasted your time and thanks for the suggestion. On Jan 16, 1:02 pm, brian wrote: > Are you using MySQL? You can change the default minimum

[jQuery] Table sorter and pager problem

2009-01-16 Thread varun
Hi I am using these plugins. But my problem is firefox related. while sorting I can see small images in header of table in IE(images on which we click and do sort ascending and descending ) but when I open same page in firefox it does not show images Any idea ? Also, there are some fields i

[jQuery] Re: Autocomplete

2009-01-16 Thread avagarwal
Thanks for the quick reply. Anurag On Jan 16, 11:57 pm, MorningZ wrote: > Right off the plugin's homepage > > http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ > > -- > * optional: bgiframe plugin to fix select-problems

[jQuery] Re: sorting a list of elements

2009-01-16 Thread Dave Methvin
Making an array works, but you can also apply the array sort method directly to the jQuery object since it's array-like (has a length and [0]...[length-1] elements. Array.prototype.sort.call( $('#ops-memb option'), function(a,b) { return $(a).text() > $(b).text() ? 1 : -1; } ).a

[jQuery] Toggle event only works twice.

2009-01-16 Thread Kyle
$("a[rel='toggleBoxes']").toggle( function() { $("#Box").switchClass("closedBox", "openBox", 1000); $("#rightBox").fadeIn("slow"); }, function() { $("#rightBox").fadeOut("slow"); $("#Box").switchClass("openBox", "closedBox", 1000); } ); is my code

[jQuery] Autocomplete parm error

2009-01-16 Thread Siner
Hi, I have provlem width autocomplete . I trying to give a extra Parm: $().ready(function() { $("#sCity").autocomplete("http://my-ajax-page/";, { width: 200, minChars: 4, extraParams:{province : $('#sLocId').attr('value')}, se

[jQuery] Re: .hide() and .height()

2009-01-16 Thread Carl Von Stetten
Karl, How would one go about overriding jQuery's show() and hide() functions to move the desired element to a negative screen position (CSS left: -1) instead of changing the CSS display to none? Carl Karl Swedberg wrote: On Jan 16, 2009, at 7:56 PM, Michael Geary wrote: If you want

[jQuery] Re: sorting a list of elements

2009-01-16 Thread mtz
Great ! Thank you very much. On Jan 16, 2:54 pm, jac wrote: > here is an example of a solution to what it sounded like you were > asking about. > > http://jsbin.com/aquja > > just add "/edit/" to the end of the url to see all of the source. You > can even double click and make modifications. Ho

[jQuery] Doble layer in DIV

2009-01-16 Thread Vicky am
I have lot of DIV which to be added effect like gradient, doble border, shado and roundcornur. How to do with jquery easily.

[jQuery] Re: .hide() and .height()

2009-01-16 Thread Karl Swedberg
On Jan 16, 2009, at 7:56 PM, Michael Geary wrote: If you want an element to become invisible but remain part of the layout, then set .attr({visibility:'hidden'}) instead of using .hide(). Use .attr({visibility:'visible'}) to display it again. Excellent explanation, as always, Mike. One oop

[jQuery] Re: how to enable drag drop using this plugin

2009-01-16 Thread vivekamar007
Help neeeded from all to me On Jan 16, 5:11 pm, "Vicky am" wrote: > 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] Re: .hide() and .height()

2009-01-16 Thread Michael Geary
.hide() sets the CSS style display:none. This takes the element out of the layout, so in effect its height and width are treated as if they were 0. The height and width don't actually change; you can set display:block or .show() to have the element displayed in its original size. If a parent elem

[jQuery] .hide() and .height()

2009-01-16 Thread jquertil
I noticed today after much fiddling that .hide() causes the parent element to loose its height(). In other words, height() won't work on elements that have display:none -- causing me to use .hide() only AFTER I've done my .height() - based calculations. I suppose that makes sense but I somehow n

[jQuery] Re: ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread jquertil
except its not a bug - its a feature request... On Jan 16, 2:39 pm, donb wrote: > By the way, you are 'someone' so you can file a bug report.  ;-)   <- > note smily > > On Jan 16, 5:15 pm, jquertil wrote: > > > > > I downgraded both FF 2 and FB 1.2 so now things work again - but this > > sucks!

[jQuery] Re: Validation: Validating 2 password fields (Enter and Re-Enter passwords)

2009-01-16 Thread jvh
Never mind. I did not see the "equalTo" function. On Jan 16, 4:20 pm, jvh wrote: > Hello, > > I am using JQuery validation to validate a password field (among > things).  I have 2 fields: The "Enter Password" field where the user > enters his password and a "Re-Enter Password" field where the u

[jQuery] question about 1.3

2009-01-16 Thread Trend-King
hello we have a question about jquery 1.3 is it 100% backwards compatible with the minor functions of 1.2.6??? thanks for answer Jens

[jQuery] Re: Autocomplete plugin rare behaviour

2009-01-16 Thread Abba
I am having similar problems that the data is not populated all the times even though the server request is executed. Did you get an answer tor figure out the issue? I am using IE 7 Abba On Dec 31 2008, 2:14 am, R0bb13 wrote: > Hi > > I'm using theautocompleteplugin to edit the name of a produc

[jQuery] Re: Double click to submit form

2009-01-16 Thread Arthur McLean
Did you find a solution to this? I'm getting the same error, and I have no clue what is triggering it.

[jQuery] Autocomplete Jörn Zaefferer

2009-01-16 Thread Abba
I am using the JQuery autocomplete plugin by Jörn Zaefferer and I am having some problems with consistency. The problem is that when I start typing it populates with data by making a query, but sometimes after making the same query it does not populate the data and the search field just flickers.

[jQuery] Re: Is something wrong with this syntax?

2009-01-16 Thread Rick Faircloth
Oh brother...the radio input name is "delete_confirm", not "delete_button"...good grief. Too much looking at code today... Thanks for the feedback! Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of donb > Sent: Friday, Jan

[jQuery] Re: Is something wrong with this syntax?

2009-01-16 Thread Rick Faircloth
Anyone have any feedback on the code below? Syntax? > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Rick Faircloth > Sent: Friday, January 16, 2009 3:53 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Is something wrong

[jQuery] UI Tabs, UI Datepicker, ajax...

2009-01-16 Thread rolfsf
using jQuery 1.3 and jQuery UI 1.6r5 I've got some ajax tabs. //initialize tabs $("ul.tabs-nav").tabs( defaults = { navClass: 'tabs-nav', selectedClass: 'tabs-selected',

[jQuery] Re: ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread donb
By the way, you are 'someone' so you can file a bug report. ;-) <- note smily On Jan 16, 5:15 pm, jquertil wrote: > I downgraded both FF 2 and FB 1.2 so now things work again - but this > sucks! Someone tell those nice folks at Mozilla they should at least > allow a user setting to not get so

[jQuery] Re: ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread donb
I ran into this error today, but it was because my URL (filename) had spaces in it. For what that's worth. On Jan 16, 5:15 pm, jquertil wrote: > I downgraded both FF 2 and FB 1.2 so now things work again - but this > sucks! Someone tell those nice folks at Mozilla they should at least > allow a

[jQuery] Re: Is something wrong with this syntax?

2009-01-16 Thread donb
I think $(this).attr('checked') is what you need. The click function already has selected the radio button so why reselect it? :checked returns an array so at the minimum you need to specify which element of that array to look at. On Jan 16, 3:52 pm, "Rick Faircloth" wrote: > I've tried every v

[jQuery] Re: ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread jquertil
I downgraded both FF 2 and FB 1.2 so now things work again - but this sucks! Someone tell those nice folks at Mozilla they should at least allow a user setting to not get so uptight about script loading security - I was very surprised to see no ability to adjust that manually.

[jQuery] Can I override ui.draggable?

2009-01-16 Thread alphadog
So, if I understand correctly, when I create a droppable, and it gets "triggered" by a draggable, the drop callback gets access to the draggable via ui.draggable. ui.draggable seem to wrap up the child tags of whatever tag got "labeled" as a draggable. This works well if you are dragging one tag,

[jQuery] Re: cluetip not loading external web page

2009-01-16 Thread Karl Swedberg
I can't diagnose the problem without a test page to view, but I would suggest that you use Firebug and see what the POST is returning. It could be a 404 or a 405 or some other error. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 16, 2009, at 2:55 PM

[jQuery] Re: newbie - cluetip

2009-01-16 Thread Karl Swedberg
Hi there, For the contents not being loaded into the first tooltip, it looks like you're getting a 405 error. Here is a page that explains 405 errors: http://www.checkupdown.com/status/E405.html As for the other two, the problem is that you have multiple elements with the same ID. If you

[jQuery] Re: ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread jquertil
I should add that I'm calling just by file name "myJsonSource.js" - everything is very local, so I'm not even using any sort of "domain" at all, and feel that this should be just fine for running stuff locally. Looked at settings to see if there is anything I can turn off...

[jQuery] ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread jquertil
this has been discussed before, but I'm still hazy: In FF2 and old Firebug this function ran fine with local files (no local web server, just straight-up file on local desktop). Now Firebug complains "Access to restricted URI denied code: 1012" $.ajax({ type: "POST", url: myFileName,

[jQuery] Re: setting default value for datepicker.

2009-01-16 Thread MorningZ
Not sure about the answer to #1 or why the posted code for #2 doesn't work, but i can tell you that for #2 you can simply just set the textbox's value using normal jQuery (or JavaScript) ie/ $("#selected_date").val("default date here"); On Jan 16, 1:10 pm, Jason Meckley wrote: > today I'm lear

[jQuery] Re: New jQuery Cheat Sheet for the iPhone

2009-01-16 Thread Donald J. Organ IV
Oddly enough I actually just found this as well and downloaded it today...seems to work well. Its only $.99 - Original Message - From: "blankfrank" To: "jQuery (English)" Sent: Friday, January 16, 2009 2:25:07 PM GMT -05:00 US/Canada Eastern Subject: [jQuery] New jQuery Cheat Sheet f

[jQuery] Validation: Validating 2 password fields (Enter and Re-Enter passwords)

2009-01-16 Thread jvh
Hello, I am using JQuery validation to validate a password field (among things). I have 2 fields: The "Enter Password" field where the user enters his password and a "Re-Enter Password" field where the user confirms his passwords (used to make sure the user did not make a typo). How do I valida

[jQuery] Re: Test if BlockUI is blocking an element

2009-01-16 Thread Mike Alsup
> Is there a way to test if blockUI is currently blocking a specific > element? You can check to see if there is a block on a specific element like this: var isBlocked = $('#elementId').data('blockUI.isBlocked');

[jQuery] after document ready can't fade in using .load

2009-01-16 Thread hypnos
this page starts out loading content with .load from a php page that returns different content depending on the URL parameters or a default. After it is loaded any other link loads pages using .ajax with nice animations. I can't figure out how to do a fadein or anything else to the initial page .

[jQuery] setting default value for datepicker.

2009-01-16 Thread Jason Meckley
today I'm learnig jquery. I downloaded jquery-1.3.min.js and jquery-ui- personalized-1.6rc5.min.js with everything. I'm trying to get the calendar working. so far I have most elements that I need: start on saturday formatted date select year/month display with image and textbox focus there are 2

[jQuery] Test if BlockUI is blocking an element

2009-01-16 Thread druffus
Hello, Is there a way to test if blockUI is currently blocking a specific element? I am doing this: $('#middle_right').block({ message: this.loader_msg, css:{ border: '2px solid #ddd', backgroundColor:'#

[jQuery] Access In A Big Draggable

2009-01-16 Thread alphadog
So, I am using draggable and droppable to drag a table to a droppable and then use the data in the table to populate the droppable target. When I use Firebug to check what's in ui.draggable, here's an example of what's in the innerHTML: 1, , , So, is there a way to use jQuery selectors to ge

[jQuery] Fancybox and IE7 drop shadow?

2009-01-16 Thread Photomaximum
Hi, First post for me. I a photographer and an absolute jquery & scripting newby. I looked through many scripts before finding Fancybox. I really like it. I am very, very new to scripting and Jquery though. I know HTML and CSS pretty well. I built a site using the MODx CMS. I cannot get the dro

[jQuery] [validate] Problem with submitHandler

2009-01-16 Thread arnoldroa
i have this: submitHandler: function(form) { if( jQuery("#productList .productRow").size() > 0 ){ if( confirm("¿Are you sure?") ) { form.submit(); } else{ return false;

[jQuery] New jQuery Cheat Sheet for the iPhone

2009-01-16 Thread blankfrank
Just found this. Sweet! http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302090867&mt=8

[jQuery] New jQuery Cheat Sheet for the iPhone

2009-01-16 Thread the cosmic w
Just found this. Sweet! http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302090867&mt=8

[jQuery] Re: sorting a list of elements

2009-01-16 Thread jac
here is an example of a solution to what it sounded like you were asking about. http://jsbin.com/aquja just add "/edit/" to the end of the url to see all of the source. You can even double click and make modifications. Hope this helps. On Jan 16, 12:44 pm, mtz wrote: > Thanks. > I can make the

[jQuery] .live help needed

2009-01-16 Thread seasoup
I'm playing around with the new .live functionality. it seems very cool. I have a page that gets refreshed with ajax with a .live getting set for a list of links every time, so I need to call .die but .dies doesn't seem to be working... $('a[name=prioritya]').die('click', currFxn); $('a

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

2009-01-16 Thread Clumsy Hamster
Just tested my sample code with the new UI and the problem still exists. I posted a bug report on the jquery site so hopefully it'll be seen. Ticket #3892 if anyone is interested. Will continue to wait. :) On Jan 16, 8:11 am, Alexsandro_xpt wrote: > That realease don't work very well in IE7

[jQuery] Is something wrong with this syntax?

2009-01-16 Thread Rick Faircloth
I've tried every version of this I can think of (after checking the docs and Google, etc.), but I can't get this to work. Is there something wrong with this syntax? If I check the radio input whose value="0", why won't this return 0 as the value? $('.delete-button').click(function(){

[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

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

[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 wrote: > > Here I am trying to get ev

[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: How do I abort a function?

2009-01-16 Thread Donald J. Organ IV
return; - Original Message - From: "Rick Faircloth" 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 the command to do that?

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

[jQuery] Re: sorting a list of 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 wrote: > You'll need to

[jQuery] Re: sorting a list of 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 wrote: > >

[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: 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 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"); > > "Unexecpeted call to metho

[jQuery] Re: sorting a list of 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 A name format again, so I can put teh HTML into the select . On Jan 16, 1:33 pm, brian wrote: > http://docs.jquery.com/Utilities/jQuery.makeArray#obj > -- sni

[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 list of 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 wrote: > > Only true arrays will inherit the sort method. > > On Jan 16, 10:10 am, brian wrote: >> Maybe use makeArray() fi

[jQuery] Re: sorting a list of elements

2009-01-16 Thread Kean
Only true arrays will inherit the sort method. On Jan 16, 10:10 am, brian wrote: > Maybe use makeArray() first. Something like: > > $.makeArray($('#ops-memb option')).sort(... > > On Fri, Jan 16, 2009 at 11:04 AM, mtz wrote: > > > I have a select list into which I place new option elements, and

[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 list of 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 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 some > approaches, but

[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] 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] 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: " ? 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 don't ne

[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] some help to modify a class plz

2009-01-16 Thread souie...@gmail.com
Hi, i have this html: some text 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 work on it ? (here i want to change the clas

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

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

[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(form).aj

[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 wrote: > CurrentlyblockUImakes the assumption that any jQuery element that is > passed in is a 'real' DOM element.  To fix thi

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

[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" wrote: > 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 Stephan Veigl
try: echo$ajax_validation_response; instead of return $ajax_validation_response; in your PHP script

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

[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 wrote: > 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 =

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

[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 wrote: > Ok..

[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" wrote: > It was just released. See > > http://ui.jquery.com/ >

  1   2   >