[jQuery] Re: Add a class only to the first parent

2008-08-25 Thread Massimiliano Marini
$(#foo .menu li:not(.expanded)).addClass(bar); Great Olaf, that's was exactly what I've tried to write. Thanks :) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ It's easier to invent the future than to predict it. -- Alan Kay

[jQuery] Re: scrollpane and UI Dialog window

2008-08-25 Thread Toccamonium
Thanks for that info. Do you have an example how to nudge jScrollPane onload or how this kind of event is usually working? On Aug 23, 9:30 am, Rene Veerman [EMAIL PROTECTED] wrote: I've had to tweak jscrollpane aswell to get it to work properly (on resizing a dialog). Sometimes you have to

[jQuery] JQuery countdown problom

2008-08-25 Thread Tobin
I have wirted a countdown code like this: jQuery.extend({ buildprocess: function(seconds,target,json) { var self=this; $(#+target).append(li id=\bing_+json.t+_+json.c +\+json.t+json.l+levelspan id=\bing_+json.t+_+json.c+_1\/ span/li) var ___timer=setInterval(CountDown,1000)

[jQuery] Validation Plugin Issue/Bug ??

2008-08-25 Thread xxkylexx
Hey guys, I am using JQuery Validation Plugin and am getting a bug that I can't seem to figure out. When the user inputs a correct input, it shows my success class, but if you create an error after the success class has been triggered, the success class stays there with the error message as

[jQuery] Re: Multiple Values, Update Hidden Field

2008-08-25 Thread MarvinC
Hi, I'm also interested to know how to go about the same situation mentioned below.. thanks and regards marv On Jul 1, 10:04 pm, lfrodrigues [EMAIL PROTECTED] wrote: Hello, I'm trying to to a message sending system. The message may have multiple destinations so i'm using the something

[jQuery] JQuery countdown problom

2008-08-25 Thread Tobin
I have writed a function like this jQuery.extend({ buildprocess: function(seconds,target,json) { var self=this; $(#+target).append(li id=\bing_+json.t+_+json.c +\+json.t+json.l+level span id=\bing_+json.t+_+json.c +_1\/span/li) var ___timer=setInterval(CountDown,1000)

[jQuery] Jquery Ajax usage question

2008-08-25 Thread peter
Currently, I use jquery's ajax function to create dymanic pages. But I don;t think I understand to to correctly make jquery event listners respond to the the DOM elements that I added via ajax response. I'll give an abrevated example below The function of the below script is to pop an alert box

[jQuery] Re: weird behavior with show()

2008-08-25 Thread clrockwell
Is it possible to stop (or reverse) show() if someone hovers over an element and then mouses out before the show() is complete? On Aug 24, 2:39 pm, clrockwell [EMAIL PROTECTED] wrote: Hello all, I could really use some insight in this. I am using the following jquery to show a menu on hover.

[jQuery] Re: Appreciation

2008-08-25 Thread Ratbert_CP
I vote Spinal Tap! Complete with a 12 DOM tree descending onto the stage... Maybe the bass player gets his Ajax call stuck in a malformed JSON response... The inside jokes and bad correlations could go on all night... :) Oh! Better yet, Benny Hill! Ye gods and little fishes, I need sleep

[jQuery] ui core tabs

2008-08-25 Thread Michael Anckaert
Hello everyone, I have a question regarding the Tabs UI that JQuery has. At the moment when you select a tab you can't click it again. Is there an option I can set (didn't find it) or a change I can make so that I can click on a tab twice? Now the link gets removed from the DOM when a tab is

[jQuery] Re: My site asks for a pswd if JQuery is activated

2008-08-25 Thread MBaas
Sorry folks, I found out I was wrong, that authentication-prob. still is there after removing jQuery. I still have no idea where it comes from, but surely jQuery is not the source. Apologies, my fault, should have checked better beforehand Michael

[jQuery] Quick Selector Question...

2008-08-25 Thread Scott Phillips
How can I select all text inputs that have an ID that end in date? Thanks Scott.

[jQuery] Re: how to get json or xml to be datasource of autocomplete

2008-08-25 Thread foxtrot
Hi again. Forgot to show the error I get from my initial code: $(li/).html(e.highlight(a, term)).addClass is not a function I will look more closely to your code GLP, altough I didn't understand it quite at the first glance :-)

[jQuery] Validation Plugin Issue/Bug ??

2008-08-25 Thread xxkylexx
Hey guys, I am using JQuery Validation Plugin and am getting a bug that I can't seem to figure out. When the user inputs a correct input, it shows my success class, but if you create an error after the success class has been triggered, the success class stays there with the error message as

[jQuery] Re: [TreeView] - How to collapse/expand with a link?

2008-08-25 Thread [EMAIL PROTECTED]
Hi, Jörn, thanks alot for the reply. Yes, that's exactly what I've tried. This icon of mine lines up with other elements and it disrupted the layout. I didn't spend too much time on that because I thought it might be possible to call the collapse action from anywhere But no sweat, then I know

[jQuery] adding a radio button (Firefox vs. IE)

2008-08-25 Thread Chris Hall
I have a weird issue that only seems to be a problem with Firefox, but works ok in IE. I'm adding a radio button using .appendTo and adding the button works fine, but with Firefox it appears the button is not in the correct group as selecting it will not deselect anything else in the group.

[jQuery] Re: Re[jQuery] place text in array

2008-08-25 Thread roadtaken99
Greetings, I'm trying to use Replace to work-around the fact that .append() and .html() strips any script../script tag(and everything in between?). ie. i was trying to do: $.get(SOMEURLGIVINGdataOUTPUT,function(data){ $(li#SOMEid).append(data.replace(/script/g,escape));

[jQuery] Re: Quick Selector Question...

2008-08-25 Thread MorningZ
$(input[id$='date'])

[jQuery] Re: Quick Selector Question...

2008-08-25 Thread MorningZ
actually, more precise would be: $(input[type='text][id$='date']) and this is right off the jQuery documentation here: http://docs.jquery.com/Selectors/attributeEndsWith#attributevalue and here: http://docs.jquery.com/Selectors/attributeMultiple#attributeFilter1attributeFilter2attributeFilterN

[jQuery] finding next tr from td

2008-08-25 Thread Sarbesh
is it possible to find the next tr from td using next() or any other events. table tr id=1td/tdtdShow/td/tr tr id=2td/tdtd/td/tr .. . /table so when i click at Show i need its immediate tr, in this case tr with id 2 to hide/show

[jQuery] Enabling a button depending on checkboxes...

2008-08-25 Thread MBaas
Hi, I have a table (GridView from ASP.NET) which has a checkbox in every row and a Delete-Button in the header. Now this button should only be enabled when at least one checkbox is checked, without any elements being checked, it should be disabled. So here's the button: asp:Button

[jQuery] Re: adding a radio button (Firefox vs. IE)

2008-08-25 Thread Mike Alsup
var myinput = 'input type=radio name=gloves value=999' + response + '/inputbr /'; That is not a valid input tag. Per the DTD, input tags should not have any content: !ELEMENT INPUT - O EMPTY I'm not sure if that's the problem, but try this instead: var myinput = 'input type=radio

[jQuery] Autocomplete data lookup from DB

2008-08-25 Thread DineshRao
I am trying to populate the autocomplete with list fetched from DB (SQL server 2005), i am using ajax to do this. But, i am facing some problem in which format the list fetch from DB should be passed to the jquery.autocomplete.js By the by i am using Java and Jsp. I have tried to pass as string,

[jQuery] Re: Best practices for including Jquery

2008-08-25 Thread Scott González
The only reason to include JavaScript files at the end of the body instead of the head is because scripts block other downloads. If you're not experiencing any long page load problems, you can just leave the includes in the head. There was a good post about this on the YUI blog:

[jQuery] Re: Adding Values (Sum) of TD.

2008-08-25 Thread Dan G. Switzer, II
Scott, I am trying to do a footer at the bottom of the table, and I would love to use jquery to provide a total in the footer, something like this: 1 | 1 | 3 2 | 1 | 4 -- 2 | 2 | 7 (JQuery added the TDs above) Is it possible? And can anyone point me in the right direction. You should

[jQuery] Re: Enabling a button depending on checkboxes...

2008-08-25 Thread MBaas
At least I can answer my own question #1 now: disabled-attribute needs to be removed if it shouldn't be applied, setting it to blank does not help. So my code was changed to: function SetDeleteStatus() { var foo=disabled; $(#gvFolderItems input:checkbox).attr(checked,function()

[jQuery] Re: Best practices for including Jquery

2008-08-25 Thread GasGiant
I load site wide code in the head, but since the header is an include file that is the same for every page, I also use .getScript() to load page specific code for forms, plug ins, etc. where they are needed. I put the page content in a div with an id element specific to that page and only load

[jQuery] Re: adding a radio button (Firefox vs. IE)

2008-08-25 Thread Chris Hall
Thanks That has been corrected, but just as you guessed that was not the issue. The code has been updated here: http://www.leaguefighter.com/test.php Select any of the radio buttons, then click the link TEST and click on the new radio button. It works for me in IE but not Firefox. I'm sure

[jQuery] Re: Jquery Ajax usage question

2008-08-25 Thread GasGiant
Have you tried using the callback methods for adding the events to the Ajax-inserted markup? See .ajaxStop(), etc.

[jQuery] Re: idiot alert!!! stupid jeditable question

2008-08-25 Thread Chris Hall
Thanks for that example. It is starting to make sense to me. However, using this example, when I click on the text area to edit it I see that it looks correct (no br tags and the line breaks are present). However when I save the text area the display isn't correct The breaks aren't there (it

[jQuery] Re: Jquery Ajax usage question

2008-08-25 Thread Karl Swedberg
Hi Peter, This FAQ topic should answer your question: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F It describes the problem and provides a couple typical ways to overcome it, in addition to pointing out a few jQuery plugins that do

[jQuery] Re: idiot alert!!! stupid jeditable question

2008-08-25 Thread Mika Tuupola
On Aug 25, 2008, at 4:31 PM, Chris Hall wrote: However, using this example, when I click on the text area to edit it I see that it looks correct (no br tags and the line breaks are present). However when I save the text area the display isn't correct The breaks aren't there (it appears they

[jQuery] Re: Appreciation

2008-08-25 Thread GasGiant
I'll second this. Good group, here. Don't get old and cranky. If you get sick of answering our noob questions here you can flame the javascript lists to get it out of your system ;-) On Aug 24, 8:54 pm, john6630 [EMAIL PROTECTED] wrote: As a newbie, I want to express my appreciation to the code

[jQuery] Re: Validation Plugin Issue/Bug ??

2008-08-25 Thread Jörn Zaefferer
You can use the highlight-option to remove the success class. Jörn On Mon, Aug 25, 2008 at 4:16 AM, xxkylexx [EMAIL PROTECTED] wrote: Hey guys, I am using JQuery Validation Plugin and am getting a bug that I can't seem to figure out. When the user inputs a correct input, it shows my

[jQuery] Re: idiot alert!!! stupid jeditable question

2008-08-25 Thread Chris Hall
Thanks Mike. It appears I'm just not understanding something very basic about this great plugin. My goal is exactly what you are doing here: http://www.appelsiini.net/projects/jeditable/default.html on the Textile Render portion. When the HTML is displayed the line breaks are exactly like

[jQuery] Re: Best practices for including Jquery

2008-08-25 Thread Rick Faircloth
Sounds like a really good idea. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of GasGiant Sent: Monday, August 25, 2008 9:49 AM To: jQuery (English) Subject: [jQuery] Re: Best practices for including Jquery I load site wide code

[jQuery] Re: AutoComplete -bassistance

2008-08-25 Thread kreiss
Following the documentation, it seems I'm doing it correctly...I'm getting data back from my database, but I just have to click out of the textbox first before I see the data, other than that it works great. Jörn Zaefferer wrote: Please take a look at the examples here:

[jQuery] Re: AutoComplete -bassistance

2008-08-25 Thread Jörn Zaefferer
You're binding the autocomplete on keyup, which binds another keyup event - every time. Remove your inline event handler and initialize the autocomplete just once on document ready. Jörn On Mon, Aug 25, 2008 at 4:52 PM, kreiss [EMAIL PROTECTED] wrote: Following the documentation, it seems I'm

[jQuery] jquery is not defined (newbie)

2008-08-25 Thread Scott Phillips
I am trying to get datepicker plugin (http://eyecon.ro/datepicker/ #about) to work on a page, and I can't get it to work for some reason. I keep getting the following 2 errors: jQuery is not defined datepicker.js()()datepicker.js (line 819) [Break on this error] })(jQuery); datepicker.js (line

[jQuery] Re: adding a radio button (Firefox vs. IE)

2008-08-25 Thread Karl Swedberg
Hey Chris, The problem is that you have an improperly nested form element. It should work if you do this ... form table ... /table /form instead of this ... table form tr ... /tr /form /table I took

[jQuery] Re: Selecting text nodes

2008-08-25 Thread Balazs Endresz
I think this will do it: http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html Or alternatively you can try: http://code.google.com/p/jquery-translate/wiki/NodesContainingText This is a part of the Translate plugin, so it's a bit larger. A main diference is if an element

[jQuery] combining results

2008-08-25 Thread Jonathan C. Dietrich
What is the easiest way to combine the results from multiple jquery objects. for instance if i want to do an operation with each span and div tag x = $('span'); y = $('div'); x.each(function(){alert('yo');}) y.each(function(){alert('yo');}) is there a way that i can combine x and y in z so

[jQuery] Replace multiple select box options with images

2008-08-25 Thread P
I have a select box that looks like this: div id=ratings-box select name=ratings2[] multiple=multiple id=edit-ratings2 option value=11/option option value=22/option option value=33/option option value=44/option option value=55/option option value=66/option /select /div Now instead of showing

[jQuery] Re: adding a radio button (Firefox vs. IE)

2008-08-25 Thread Chris Hall
Thanks a million, Karl! On Aug 25, 11:14 am, Karl Swedberg [EMAIL PROTECTED] wrote: Hey Chris, The problem is that you have an improperly nested form element. It   should work if you do this ... form         table         ...         /table /form instead of this ... table        

[jQuery] Re: Doc's site down?

2008-08-25 Thread Rey Bango
The site is responsive now and we're looking to see how we can work to minimize these issues. We're equally as frustrated as everyone. Rey... Sudara wrote: Hi there! Anyone else have somewhat regular issues with http://docs.jquery.com/ being regularly slow and/or unavailable over the last

[jQuery] Re: finding next tr from td

2008-08-25 Thread Karl Swedberg
Hi, You need to go up and then over. Inside your click handler, do this: $(this).parent().next(); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 25, 2008, at 5:17 AM, Sarbesh wrote: is it possible to find the next tr from td using next() or any

[jQuery] Re: combining results

2008-08-25 Thread Karl Swedberg
Hi Jonathan, Try this: var x = $('span'); var y = $('div'); var z = x.add(y); z.each(function(){alert('yo');}) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 25, 2008, at 11:19 AM, Jonathan C. Dietrich wrote: What is the easiest way to combine the

[jQuery] [Validate] Use id instead of name when defining rules for jQuery.Validate Plugin

2008-08-25 Thread Gabriel Schenker
Hi, is it possible to use the id attribute of an input element instead of the name attribute to identify an element when defining a rule, e.g. 'SetLengthRange'? If not, could the code of the plugin be easily modified (by myself)? Where would I have to look?

[jQuery] Re: possible bug in each()? moving from 1.2.3 to 1.2.6

2008-08-25 Thread mausch
I'm having the same problem here. If I execute the following in a firebug console in one of our pages: jQuery('input').each(function() {console.log(this)}) With 1.2.4 I get the individual elements: input type=image src=/content/images/buttons/logout_ico.gif input id=InputSearch type=text

[jQuery] Re: combining results

2008-08-25 Thread Karl Swedberg
Or, if you want to do it in one fell swoop: var z = $('div, span'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 25, 2008, at 12:14 PM, Karl Swedberg wrote: Hi Jonathan, Try this: var x = $('span'); var y = $('div'); var z = x.add(y);

[jQuery] Re: Release: Tooltip Plugin 1.3

2008-08-25 Thread Matt
Thanks jorn! On Aug 24, 3:10 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, I'd like to announce a small update for the a href=http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/;jQuery tooltip plugin/a. The support for image maps is back, the deprecated $.fn.Tooltip is gone (just

[jQuery] Re: [Validate] Use id instead of name when defining rules for jQuery.Validate Plugin

2008-08-25 Thread Jörn Zaefferer
No, names are required. You'd have to modify all occurences of element.name, which I can't recommend. Jörn On Mon, Aug 25, 2008 at 6:10 PM, Gabriel Schenker [EMAIL PROTECTED] wrote: Hi, is it possible to use the id attribute of an input element instead of the name attribute to identify an

[jQuery] Re: jQuery countdown

2008-08-25 Thread [EMAIL PROTECTED]
Nice it works great. Thx for you help! On 24 aug, 13:56, Sarbesh [EMAIL PROTECTED] wrote: instead of div you can use span Je mag weer spelen over span class=countdown secs={$error}/ span!

[jQuery] My site asks for a pswd if JQuery is activated

2008-08-25 Thread MBaas
Hi, I discovered JQuery today and would like to try it out in my current ASP-Project. So I downloaded the JS, added it to the ASP-File - and when I now launch the page, I'm asked for a password - this is not foreseen and clearly only happens when I include the script. What's going on? Thanks

[jQuery] Re: Validation Plugin Issue/Bug ??

2008-08-25 Thread xxkylexx
Got it. Thanks. On Aug 25, 10:33 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: You can use the highlight-option to remove the success class. Jörn On Mon, Aug 25, 2008 at 4:16 AM, xxkylexx [EMAIL PROTECTED] wrote: Hey guys, I am using JQuery Validation Plugin and am getting a bug that I

[jQuery] Re: Appreciation

2008-08-25 Thread GLP
Huh, what Javascript groups :) ?? I learned much more about JS reading this group and playing with jQuery than anything else. Besides a few good links to explain that associative arrays really don't exist in JS but you can use them anyway, never needed much more. This is indeed a fine place to

[jQuery] Re: combining results

2008-08-25 Thread Jonathan C. Dietrich
Thanks Karl. On Aug 25, 12:21 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Or, if you want to do it in one fell swoop: var z = $('div, span'); --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Aug 25, 2008, at 12:14 PM, Karl Swedberg wrote: Hi Jonathan,

[jQuery] Re: Replace multiple select box options with images

2008-08-25 Thread GLP
Images in in option lists are not conform HTML standards and won't work if you stick to them. You need a solution to mimic the behavior of an optionlist using style sheets and use of tags like li for example. There are a few different approaches to find about here. P schreef: I have a select

[jQuery] Re: possible bug in each()? moving from 1.2.3 to 1.2.6

2008-08-25 Thread mausch
Nevermind, it was executing prototype's each() (I was also including prototype on the same page) instead of jQuery's. Why this changed from 1.2.4 to 1.2.6 (everything else being equal) remains a mystery to me. On Aug 25, 1:12 pm, mausch [EMAIL PROTECTED] wrote: I'm having the same problem here.

[jQuery] Re: getJSON timing problem (probably a simple newbie problem)

2008-08-25 Thread cbandes
I do load it immediately, but I have other functions which rely on the data being loaded, and currently they are firing before the getJSON function is completed. I need some way to check that the data has been loaded before executing those functions. I'm sure there's some sort of event I should

[jQuery] Re: Appreciation

2008-08-25 Thread Aaron Heimlich
On Mon, Aug 25, 2008 at 11:20 AM, GLP [EMAIL PROTECTED] wrote: Huh, what Javascript groups :) ?? For those of you wondering, I believe the javascript group that john6630 was referring to is the comp.lang.javascript newsgroup[1] [1] http://groups.google.com/group/comp.lang.javascript/topics

[jQuery] Re: Release: Tooltip Plugin 1.3

2008-08-25 Thread MorningZ
I was just messing around with this plugin yesterday, and i love it! http://i38.tinypic.com/30deagg.jpg (screenshot of me using it) Only thing i couldn't figure out was how to *not* generate h3 headers/tag... my work around was setting: #tooltip h3 { display: none; } and my titles had to

[jQuery] Re: Cluetip not displaying on first mouseover

2008-08-25 Thread T-Bone
Have you solved this problem? I'm having the same issue. Thanks. On Aug 7, 4:30 pm, sprak [EMAIL PROTECTED] wrote: The issue seems to be rooted in trying to do some cross-site AJAX magic.  I need one site in our domain (foo.bar.com) to be able to fetch the cluetip HTML from another site

[jQuery] [validate] Bold normal label text when using error message container

2008-08-25 Thread socratesone
The code: $(#formID).validate({ errorLabelContainer: $('#error_list'), } }); The html: div id=error_list class=hide strongThe following errors have occurred.../strongbr / label for=first_name class=errorPlease enter the first name br //label /div form id=formID label

[jQuery] JSON in jQuery

2008-08-25 Thread Sam
I am creating a widget where someone can post a note about the page (feedback). I am currently using AJAX to pass the information to my server, but I want to now use JSON, so that I can put it on one of my other domains and still send the info to my original domain. This is the function I

[jQuery] Re: AutoComplete -bassistance

2008-08-25 Thread kreiss
First of all...thanks for the help! I have about 4500 records in the database (its an employee database)...if I understand correctly...on the document ready should I bring in all 4500 records? Would the autocomplete be slow to respond due to all the records The reason I was doing an

[jQuery] Email Validation

2008-08-25 Thread koolkat
Is it possible to use jquery to validate a comma separated list of emails? If yes, how should this be done? Thanks

[jQuery] Accessing JQuery from frames

2008-08-25 Thread Bob Gregg
My apologies if this has been asked before; but in searching I can't see that anyone asked quite the same thing in the past. I have a frame-based website with two frames: UPPER and LOWER. The UPPER frame contains a static navigation bar that rarely changes during a user's session; the LOWER

[jQuery] Re: combining clearing default value with validate plugin

2008-08-25 Thread [EMAIL PROTECTED]
I created a plugin for assigning default values to form fields and it has the same functionality you are looking for. Check it out: http://www.jason-palmer.com/2008/08/jquery-plugin-form-field-default-value/ On Jul 24, 5:30 pm, Janine [EMAIL PROTECTED] wrote: I am quite new to jquery and in

[jQuery] Something equivalent to Prototype's Class.create() ??

2008-08-25 Thread Shao Kang Tat
Hello all, I've googled this topic... I found one page that was an April Fool's joke but I'm not entirely sure if it's legit or not? http://ejohn.org/blog/classy-query/ Then there's Low Pro at: http://www.danwebb.net/2008/2/3/how-to-use-low-pro-for-jquery So is there a final version that's

[jQuery] coda slider on .mac with FF2

2008-08-25 Thread roxstyle
I am trying to use the coda slider with jquery here: http://www.roxstyle.com/projects/blssi/blssi-portal/v1-e/product-tss.html And i'll preface this by saying that i am much more of a designer than scripter(much more). the problem is that using mac with Firefox 2.0.0.14, on the products area 1.

[jQuery] Forum to display full JS Browser apps

2008-08-25 Thread lorlarz
I am hoping several jQuery people will post examples of their programs, with explanations. In any case, you can share and learn from others on this group, if things go well. (See the first 7 posts for the rationale for the new group.) New group to display and share and explain examples of

[jQuery] input:empty and remember password

2008-08-25 Thread sperks
I have a script that displays username and password as background images in the input fields when the field is empty and they removes it when on focus (or when there's content left in the field). I then came up against the issue where if someone's browser populates the input fields after their

[jQuery] Re: input:empty and remember password

2008-08-25 Thread Andy Matthews
This is what someone on this list gave me about 2 weeks ago: // the focus / blur functionality of the text input // fields for the email a friend form. $('#input.email').bind('focus', function() { // Set the default value if it isn't set if ( !this.defaultValue )

[jQuery] Re: Problems with Content-Type header set to text/xml

2008-08-25 Thread BBrian
I was having similar problems today and it turned out I had blank lines in my php script, before I had ?php. http://ie2.php.net/header has an example that uses html on the line before ?php, mine was similar but blank instead of html. You can check the content type returned by hitting CTRL+I in

[jQuery] Re: Email Validation

2008-08-25 Thread Hasse R. Hansen
I would start with splitting the list of emails, and then loop the array and in every instance of the loop validate the email adress /Hasse On Aug 25, 9:05 pm, koolkat [EMAIL PROTECTED] wrote: Is it possible to use jquery to validate a comma separated list of emails? If yes, how should this

[jQuery] Superfish: Gap between top level menu and popup..

2008-08-25 Thread ccollie
i have a menu where each top level li is preceded by an icon image. I also use supersub. The menu renders fine, except there is a gap between the top level items and the popups. Anyone has any insight ? ccollie

[jQuery] Re: Can't get css png fix plugin to work....

2008-08-25 Thread Aaron
what do you mean initialize the script??? I added it to the html file using the script tags I added the script and also the javascript library. On Aug 23, 3:24 am, Rene Veerman [EMAIL PROTECTED] wrote: did you initialize the script after loading it? On Fri, Aug 22, 2008 at 8:06 PM, Aaron

[jQuery] jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-25 Thread Antonio Collins
The .clean() method tries to replace empty elements defined as elem / with elem/elem. Here's the code from .clean(): // Convert html string into DOM nodes if ( typeof elem == string ) { // Fix XHTML-style tags in all browsers elem = elem.replace(/((\w+)[^]*?)\//g,

[jQuery] Re: Animate and Toggle

2008-08-25 Thread René
Thanks Mike, that works well. Further to this, I am trying to have a function called only when the toggle is open or active, e.g.: $('#rides_button').click(function () { $('#rides').slideToggle(slow, function () { $.getJSON(rides.php, function(data) {

[jQuery] Re: Can't get css png fix plugin to work....

2008-08-25 Thread Adam Weis
Arron, You'll need to do the initialization in the DOM ready block. Take a look at http://docs.jquery.com/How_jQuery_Works under the section titled Launching Code on Document Ready. In your case, you probably need something like this - $(document).ready(function(){

[jQuery] Re: JSON in jQuery

2008-08-25 Thread Michael Geary
You can't do a cross-domain POST. JSON or JSONP don't add this capability. You just can't do it. You can do a cross-domain GET, of course, and use query parameters to pass data to your server. So, you can use $.getJSON with query parameters in the URL and the callback= option for JSONP, and

[jQuery] paralax plugin _ wow !

2008-08-25 Thread Alexandre Plennevaux
just spotted this new entry in the plugin rss feed, an impressive effect plugin ! http://webdev.stephband.info/parallax_demos.html Alexandre Plennevaux LAb[au] http://www.lab-au.com

[jQuery] Re: Enabling a button depending on checkboxes...

2008-08-25 Thread Karl Rudd
document.getElementById(someId) returns a plain old DOM node. $(#someId) returns a jQuery wrapped DOM node, which you can use all the jQuery functions on. So to use jQuery to remove the attribute you'd do this: $(#DeleteButton).removeAttr(disabled); Note the shortened function name:

[jQuery] Re: Something equivalent to Prototype's Class.create() ??

2008-08-25 Thread Rey Bango
LowPro would probably be th ebest solution for you. Rey... Shao Kang Tat wrote: Hello all, I've googled this topic... I found one page that was an April Fool's joke but I'm not entirely sure if it's legit or not? http://ejohn.org/blog/classy-query/ Then there's Low Pro at:

[jQuery] Re: input:empty and remember password

2008-08-25 Thread Karl Rudd
Run your is there anything in it check again on load. So something like (untested): $(document).ready(function() { $('#loginArea').addClass('active'); function flagEmpty( elem ) { elem = $(elem || this); // if elem isn't passed in then use this if (elem.val().length 0)

[jQuery] Re: Release: Tooltip Plugin 1.3

2008-08-25 Thread Jörn Zaefferer
You could use the bodyHandler-option to return exactly the content you want to have. That automatically hides the header (h3). Jörn On Mon, Aug 25, 2008 at 8:07 PM, MorningZ [EMAIL PROTECTED] wrote: I was just messing around with this plugin yesterday, and i love it!

[jQuery] [autocomplete] Auto populate form input field based on another

2008-08-25 Thread Mattl
Hi, Anyone know of a jQuery plugin similar to the Autocomplete that could do the following? I have a mysql db with two columns, 'Lot No' and 'Description'. I have a form with two input fields, 'Lot No' and 'Description' and I'd like the 'Description' input field to be auto-populated from the

[jQuery] Table Filter help

2008-08-25 Thread dduck1934
I have already received some feedback on this, but Im still stuck. I am basically looking to add a table filter to a table by using a dropdown or a series of dropdowns that will filter the data. The first link i was checking out is here. http://book.learningjquery.com/bookstore/news/ i was

[jQuery] Re: JSON in jQuery

2008-08-25 Thread Sam
Thanks Mike! I understand now why I need to do a GET and can't do a POST. What would I do in the function(response){} part? On Aug 25, 4:13 pm, Michael Geary [EMAIL PROTECTED] wrote: You can't do a cross-domain POST. JSON or JSONP don't add this capability. You just can't do it. You can do

[jQuery] Superfish CSS question Position Static

2008-08-25 Thread glowens
I am having an issue with the menu being extremely slow when I have the following position set to static. .sf-navbar li { background: url('images/menu_tab.png') repeat-x; height: 54px; position: satic; margin:

[jQuery] Re: JSON in jQuery

2008-08-25 Thread Sam
Thanks Mike! I understand now why I need to do a GET and can't do a POST. What would I do in the function(response){} part? On Aug 25, 4:13 pm, Michael Geary [EMAIL PROTECTED] wrote: You can't do a cross-domain POST. JSON or JSONP don't add this capability. You just can't do it. You can do

[jQuery] Re: AutoComplete -bassistance

2008-08-25 Thread Jörn Zaefferer
Look: $(function() { $(#name).autocomplete(someurl); }); That does nothing but bind a few event handlers. It doesn't create DOM elements, nor does it load any records. As soon as the user starts typing, the keyup-event-handler loads some data via ajax - how many rows are returned is up to

[jQuery] Re: [autocomplete] Auto populate form input field based on another

2008-08-25 Thread Jörn Zaefferer
The autocomplete plugin (http://plugins.jquery.com/project/autocompletex) can do that. Set the one up as usual, and configure the other one with a dynamic extra paramter: $(#second).autocomplete(url, { extraParams: { first: function() { return

[jQuery] Re: Release: Tooltip Plugin 1.3

2008-08-25 Thread MorningZ
I don't really follow on the bodyHandler option for instance, there are my links: a href=someurl1.aspx class=PN_Link title=I am a tooltip for link1br /See me tooltipLink 1/a a href=someurl2.aspx class=PN_Link title=I am a tooltip for link2br /See me tooltipLink 2/a and to wire it up have:

[jQuery] Re: JSON in jQuery

2008-08-25 Thread Michael Geary
I don't know, what do you want to do there? You said this is for feedback, so I assume you may want to display some kind of message after you receive it. Your server should send back a JSONP response of some sort. You can put any kind of data you want in it, maybe a status code and an HTML

[jQuery] Custom plugin needed

2008-08-25 Thread jwells00
Hello all, I'm not sure if this is the right list for this posting, but Christian Bach, creator of the tablesorter plugin, recommended I email the jquery list to ask if anyone was interested in developing a custom plugin or customizing the tablesorter plugin for a some work I need to get done.

[jQuery] Re: weird behavior with show()

2008-08-25 Thread clrockwell
Nobody has any insight on this? If more information is needed, please don't hesitate to let me know. It just doesn't seem logical that this behavior is unavoidable because it would render the show function useless as a hover; I have to be doing something wrong. On Aug 24, 10:14 pm, clrockwell

[jQuery] Re: weird behavior with show()

2008-08-25 Thread clrockwell
Got it. I used stop() to halt the animation but it leaves all the styles so some manual clean-up does the trick On Aug 24, 10:14 pm, clrockwell [EMAIL PROTECTED] wrote: Is it possible to stop (or reverse) show() if someone hovers over an element and then mouses out before the show() is

[jQuery] Re: Finding form tag wrapping around image

2008-08-25 Thread Duncan
Thanks chaps, there is no nesting of forms, I know thats invalid. Here is what the code looks like form name=SearchForm id=SearchForm action=admin_ecom_product.cfm?Stage=ViewProduct method=get onsubmit=return _CF_checkSearchForm(this) table tr class=headerrow

  1   2   >