[jQuery] Re: li selection problem

2008-10-24 Thread Thai Vo
this might sound dumb, but try using 'display:block;'? On Fri, Oct 24, 2008 at 4:32 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > Yup I second Mike's advise. Make sure first that CSS allows it in a > static demo file, then when you get it to work, you'll know what to > script exactly. >

[jQuery] Re: Hover with a fade question (n00b)

2008-10-24 Thread gerbert
here is what it looks like without the fade: http://www.oddvice.com/switchertest/test.html I just want to add a simple fadeIn to the green button with the hover function. Here is the full code without any fadeIn: // JavaScript Document $(document).ready(function() { $('.button').click(functio

[jQuery] Re: More efficient animation for multiple elements

2008-10-24 Thread c.barr
Cool, I've never seen that site before. I made a small demo using my code above: http://jsbin.com/abuxe Strangely enough it's not working properly, and that's a direct copy of what I wrote that works. Basically they are all shrinking, and the on your mouse is over does not get larger. Not sure

[jQuery] Re: jQuery Tweets

2008-10-24 Thread Karl Swedberg
Hi Mika, Rey runs it and I occasionally post something to it. We find jQuery- related stuff through RSS readers and from tips. As for new websites using jQuery, Rey split off that kind of announcement to another Twitter account, jquerysites. --Karl Karl Swedberg www.englishru

[jQuery] Re: Hover with a fade question (n00b)

2008-10-24 Thread gerbert
Thank you for cleaning that up, but it's still not quite right. It's not fading in, it just adds the class instantly. and when it fades out, it removes the div I put the .hover class on. Thanks for trying. On Oct 24, 8:03 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > $(document).ready(function(

[jQuery] Re: event.preventDefault() seems to fail

2008-10-24 Thread Hullah
I'm sorry, but I'm not following you. Can you further explain what you mean? Thanks On Oct 24, 12:36 am, "Prajwala Manchikatla" <[EMAIL PROTECTED]> wrote: > You can think of > stopPropagation.http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-flow > I hope this might help you.

[jQuery] Re: More efficient animation for multiple elements

2008-10-24 Thread ricardobeat
Maybe you could post a working sample to jsbin.com, that would make things a lot easier. On Oct 24, 4:00 pm, "c.barr" <[EMAIL PROTECTED]> wrote: > Hate to bump this, but it might get lost otherwise!

[jQuery] Re: Hover with a fade question (n00b)

2008-10-24 Thread ricardobeat
$(document).ready(function() { $('.button').hover(function() { $(this).addClass('hover').fadeIn(); }, function() { $(this).removeClass('hover').fadeOut(); }); }); This should work, it's exactly the same as your second try but with correct syntax

[jQuery] Re: mixing jQuery with regular JavaScript

2008-10-24 Thread Ryura
Alternatively, $(function(){ window.test = function(){ console.log('hi')} }); On Oct 24, 10:11 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I'm trying to mix jQuery with some pre-existing JavaScript/HTML, but > > I'm having what appears to be scope issues. > > > The code I'm working

[jQuery] Re: Using ajaxStart/Stop for multiple ajax calls

2008-10-24 Thread Alexsandro_xpt
And If I want handle to catch AjaxError in ajaxComplete? Exist a way? On 25 out, 00:01, Mike Alsup <[EMAIL PROTECTED]> wrote: > > It's possible that I could have 2+ ajax actions running on my website > > at the same time, and I'd like to show a 'loading' image for each of > > them. > > > When

[jQuery] Re: Change Event Firing Twice

2008-10-24 Thread Ryura
Does ticking one untick another? That would trigger a change event on the one being ticked as well as the one being unticked. On Sep 22, 5:26 pm, sobencha <[EMAIL PROTECTED]> wrote: > My problem is that I seem to be having a change even firing twice. > Here are the details > > I have several

[jQuery] How to call a function directly that is normally an event.. ?

2008-10-24 Thread Sam H
Sorry, I don't know how to summarize this problem so I'll just post code. Let's say you have this: $('#myID').click(magicFunc); magicFunc looks like: function magicFunc() { $(this).fadeOut(); } Now, let's say I want to invoke magicFunc on a certain item MANUALLY, via code, not through a us

[jQuery] Re: mixing jQuery with regular JavaScript

2008-10-24 Thread Mike Alsup
> I'm trying to mix jQuery with some pre-existing JavaScript/HTML, but > I'm having what appears to be scope issues. > > The code I'm working on already has a bunch of inline event handler > function calls in the HTML tags, and it'd be a ton of work to change > them all to the unobtrusive way via

[jQuery] Re: How to call a function directly that is normally an event.. ?

2008-10-24 Thread Mike Alsup
> Let's say you have this: > > $('#myID').click(magicFunc); > > magicFunc looks like: > > function magicFunc() > { >    $(this).fadeOut(); > > } > > Now, let's say I want to invoke magicFunc on a certain item MANUALLY, > via code, not through a user-driven event.  e.g.: (I know this is > wrong) >

[jQuery] Re: Cycle actions that happen faster than the javascript transitions

2008-10-24 Thread Mike Alsup
> http://monsterpocalypsegame.com/ > > With that front news box, you can mouseover the itemss faster than > they can transition sometimes, so you are left hovering an item that > isn't the one you're looking at. Oh, I see what you mean now. Try the 'fastOnEvent' option. $('#whatever').cycle({

[jQuery] Re: Using ajaxStart/Stop for multiple ajax calls

2008-10-24 Thread Mike Alsup
> It's possible that I could have 2+ ajax actions running on my website > at the same time, and I'd like to show a 'loading' image for each of > them. > > When I use ajaxStart/Stop, if one ajax call starts, it shows the > 'loading' image, but if that call doesn't stop before another ajax > call st

[jQuery] Re: jQuery.ajax How to send an xml document as data to the server

2008-10-24 Thread packman
In case anyone else runs into this, I had to add the type and contentType properties before this would work. EC $.ajax({ url: "page.php" , type: "POST" , contentType: "text/xml" , processData: false , data: xml

[jQuery] mixing jQuery with regular JavaScript

2008-10-24 Thread Eric P
Hi, I'm trying to mix jQuery with some pre-existing JavaScript/HTML, but I'm having what appears to be scope issues. The code I'm working on already has a bunch of inline event handler function calls in the HTML tags, and it'd be a ton of work to change them all to the unobtrusive way via jQuery

[jQuery] Re: mixing jQuery with regular JavaScript

2008-10-24 Thread Eric P
On Fri, Oct 24, 2008 at 2:25 PM, Eric P <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to mix jQuery with some pre-existing JavaScript/HTML, but > I'm having what appears to be scope issues. > > The code I'm working on already has a bunch of inline event handler > function calls in the HTML tags,

[jQuery] Re: Change Event Firing Twice

2008-10-24 Thread Vik
I'm encountering a similar situation. Have you found the answer yet? Thanks in advance for any info.

[jQuery] Missing the previous jQuery site visual style?

2008-10-24 Thread Eric Ongerth
Hi everyone. I miss the previous visual design of the jQuery site... I was away for a few months and when I got back it looked like it had stepped a couple of years backward and taken on a very Rails-in-the- early-days look with that Trebuchet font and big empty sidebars... No offense intended t

[jQuery] [tooltip]

2008-10-24 Thread AaronMcCall
Hello, I am using jquery.tooltip.js to add tooltips to select options. The problem that occurs is that the tooltip doesn't appear relative to the mouse. I have tried a number of top and left settings, but have not had any luck. $('selector')tooltip({ bodyHandler: function(){

[jQuery] Hover with a fade question (n00b)

2008-10-24 Thread gerbert
Hi, I'm new to this group and to jQuery and javascript in general. I would like to learn how to use hover with a fade. I can do each separately but am having a hard time chaining them. Here's my best attempts at a simple hover button with a fadeIn and FadeOut: $(document).ready(function() {

[jQuery] jQuery Tweets

2008-10-24 Thread Mika Tuupola
I forgot who is running jQuery Twitter feed so I'll just ask here. How do you handle it? Do people send you tips on new websites using jQuery and new plugins? -- Mika Tuupola http://www.appelsiini.net/

[jQuery] Re: putting jquery inline

2008-10-24 Thread tres
Not to state the obvious, but did you make sure that the path to the jquery is correct? Trey On Oct 25, 4:39 am, snacktime <[EMAIL PROTECTED]> wrote: > When I include jquery inline in the body via a script tag I'm getting > jquery not defined errors.  Is there a reason why this approach can't >

[jQuery] [OT] please check website before launch

2008-10-24 Thread pixeline
Hi mates, May i ask you guys to have a look at my latest project,a bit on the experimental side in terms of UI : a barcode image gallery for a spanish photographer: http://www.pixeline.be/test/lisapram/ Let me know of any bugs you find? AFAIK everything should run smooth (except for the long l

[jQuery] Validate. Password Bug?

2008-10-24 Thread shapper
Hello, I am validating a password field as follows: $.validator.addMethod('password', function (value, element) { return this.optional(element) || /^([a-zA-Z0-9]{8,24}) $/.test(value); }, 'Use 8 to 24 letters or numbers only'); I write 8 numbers and letters. The message disappears. Fine ...

[jQuery] Re: Cycle actions that happen faster than the javascript transitions

2008-10-24 Thread sorahn
http://monsterpocalypsegame.com/ With that front news box, you can mouseover the itemss faster than they can transition sometimes, so you are left hovering an item that isn't the one you're looking at. On Oct 23, 10:48 am, Mike Alsup <[EMAIL PROTECTED]> wrote: > Can you give me an example of tha

[jQuery] Re: xml find element with this attribute value

2008-10-24 Thread Karl Swedberg
On Oct 24, 2008, at 7:09 AM, Robert Koberg wrote: On Oct 24, 2008, at 2:35 AM, akel wrote: i've been reading a lot and still does not find any solution to my query. please find the details below. in jquery how can i automatically find the element sample with attribute name equals to a

[jQuery] Re: li selection problem

2008-10-24 Thread Alexandre Plennevaux
Yup I second Mike's advise. Make sure first that CSS allows it in a static demo file, then when you get it to work, you'll know what to script exactly. Just a remark $('ul ul li') is not the same as $('ul li'). In the first case it would only concern li which are inside an ul, inside another ul (

[jQuery] Re: li selection problem

2008-10-24 Thread Michael Geary
Suggestion: Forget jQuery for a while. Instead, hand-edit an HTML file and see if you can get the styling the way you want. That way you don't have to troubleshoot both sides at once. All you have to worry about is the HTML and CSS. If you can get that to work, then you can duplicate the effect

[jQuery] Re: li selection problem

2008-10-24 Thread MartyB
Alexandre, Your solution yields the same results as the original problem. How is "ul li" different from "li" since li cant exist without a parent ul, thus ul is redundant and unnecessary? The more I am studying this, the more I am convinced that what I am trying to do is impossible. It is impossib

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-10-24 Thread Gilles (Webunity)
Another update: - Started working on the demo's; squatting some final bugs and then all i have to do is rebuild the demo's. - Luckily i've documented the JavaScript extensivly so documentation will be quick. -- Gilles On Oct 22, 8:28 pm, "Gilles (Webunity)" <[EMAIL PROTECTED]> wrote: > Yes that

[jQuery] Re: li selection problem

2008-10-24 Thread ricardobeat
The parent color is showing through... put .stripeable { background-color: #FFF } in there to see what I mean On Oct 24, 2:24 pm, MartyB <[EMAIL PROTECTED]> wrote: > I'm a newbee. I want to create a collapsable ul. But I want each > visible li (including both parent li and child li's ) to alter

[jQuery] Re: li selection problem

2008-10-24 Thread Alexandre Plennevaux
come on marty try reviewing your css skills a little bit especially the css selectors. You 've got it wrong, but this should do : $('ul li.stripeable:even').addClass('greenbar'); On Fri, Oct 24, 2008 at 8:47 PM, MartyB <[EMAIL PROTECTED]> wrote: > > With... > $('ul ul li.stripeable:even').addC

[jQuery] Re: jQuery Documentation in PDF

2008-10-24 Thread Jonatan
No! do whatever you want with the code. It's just a first version. I would make new versions based on comments. On 22 oct, 16:27, Wint <[EMAIL PROTECTED]> wrote: > Do you mind if we modify the code at all Jonatan?  I wouldn't mind > taking what you have here and running with it.  Either way, thi

[jQuery] Re: li selection problem

2008-10-24 Thread MartyB
With... $('ul ul li.stripeable:even').addClass('greenbar'); it only stripes the child li's not the parent li's also. I want every line in the display to be striped in sequential order. Marty

[jQuery] Re: putting jquery inline

2008-10-24 Thread Michael Geary
You're going to have to be more specific. Test page? Example code? You can certainly load jQuery in a script tag in the body. I do it all the time in my Google mapplets and gadgets; it works fine. But I wouldn't be able to guess what might have gone wrong without seeing the code. -Mike > From:

[jQuery] Using ajaxStart/Stop for multiple ajax calls

2008-10-24 Thread Adam
It's possible that I could have 2+ ajax actions running on my website at the same time, and I'd like to show a 'loading' image for each of them. When I use ajaxStart/Stop, if one ajax call starts, it shows the 'loading' image, but if that call doesn't stop before another ajax call starts, the sec

[jQuery] width shrinked after appending new

2008-10-24 Thread damenlon
Hi, The problem is simple. I just want to add to , but the size of shrinks. This happens in IE7. Works fine in FF3. I couldn't find any post about this problem. Maybe I was doing something wrong. Can anyone help? Thanks! Below is the simple html I used to test. test source

[jQuery] putting jquery inline

2008-10-24 Thread snacktime
When I include jquery inline in the body via a script tag I'm getting jquery not defined errors. Is there a reason why this approach can't work, or does it sounds like I'm doing something else wrong? The only reason I'm doing this is because it's a requirement on the opensocial container surface

[jQuery] Multiple File Upload, help editing images

2008-10-24 Thread [EMAIL PROTECTED]
Hi everyone, I'm making a product manager for a CMS i'm working on. 'till now I made the Multiple File Upload plugin work perfecly, uploading pictures of the new products, on the new product form. But now I need to make the edition of the product, and need that all the images uploaded appear on a

[jQuery] Re: More efficient animation for multiple elements

2008-10-24 Thread c.barr
Hate to bump this, but it might get lost otherwise!

[jQuery] Validate. Not working with Radio input

2008-10-24 Thread shapper
Hello, I am trying to validate a form with radio inputs. I want to the form to be submitted only if an option was selected: Do you like to travel? Yes No I used: $("#Poll").each(function() { $(this).validate({ errorC

[jQuery] on the jQuery XSL plugin: xslt.js

2008-10-24 Thread Robert Koberg
Hi, On http://johannburkard.de/software/xsltjs/ -- very nice and useful! I was just looking at the source of this and want to offer a few suggestions: * ability to 'get' the compiled XSL so you can store in some cache for reuse without going through the download/parse again. The most ex

[jQuery] Re: jQuery.getScript problems on IE 7

2008-10-24 Thread Alexsandro_xpt
So.. get this example http://rapidshare.com/files/157173826/getscripterro.zip.html Download that e open getscripterro.htm in IE 6+, you will see error. And you try in FF it's will work fine. About what you told me about inline scripts I really need get "protoculous-effects-shrinkvars.js" file v

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-24 Thread ricardobeat
Using IDs with the solution I proposed above should work: function divShowHide(divID, imgID){ var $divToShow = $('#'+divID); var arrowURL = $divToShow.is(':visible') ? 'downarrow.gif'' : 'uparrow.gif''; // the above is the same as: if ($divToShow.is(':visible')) { arrow = 'downarrow.gif

[jQuery] Re: li selection problem

2008-10-24 Thread Mauricio (Maujor) Samy Silva
Try $('ul ul li.stripeable:even').addClass('greenbar'); $('li.stripeable:even').addClass('greenbar'); Mauricio

[jQuery] Re: jCarousel callbacks with custom data

2008-10-24 Thread ml1
Ok, I;m an idiot. It works the way I was asking, you just have to dereference your custom data off the options object of the jcarousel in the callback. Thusly, for posterity: // Init jcarousel jQuery('#mycarousel').jcarousel({ itemLoadCallback: {onBeforeAnimation: mycarousel_itemLoadCallback

[jQuery] Re: Embedding HTML inside of XML, and writing it to a page

2008-10-24 Thread Robert Koberg
On Oct 24, 2008, at 12:59 PM, Recoil wrote: Shoot, you're talking about using xsl to generate the entire page, yes? No, you target an ID to put the transformed result into. On Oct 24, 11:37 am, Recoil <[EMAIL PROTECTED]> wrote: Hmmm, I haven't used XSL before, I'm looking it up right n

[jQuery] Re: $(element).animate() shifts elements out of order while animating

2008-10-24 Thread ricardobeat
The inline-block property is not yet well-supported cross-browser. Use display:block, float:left, you'll get the same results (and spot some flaws in your layout too). In case someone is reading this: I suppose all animations in jQuery give the elements a display:block property? Is inline-block

[jQuery] Re: Embedding HTML inside of XML, and writing it to a page

2008-10-24 Thread Recoil
Shoot, you're talking about using xsl to generate the entire page, yes? On Oct 24, 11:37 am, Recoil <[EMAIL PROTECTED]> wrote: > Hmmm, I haven't used XSL before, I'm looking it up right now, but I'm > a bit unclear as to where to go from the point where I apply the XSLT > to the XML. I mean, is t

[jQuery] Re: Embedding HTML inside of XML, and writing it to a page

2008-10-24 Thread Robert Koberg
Earlier I did a quick search for jQuery XSL plugin and found: http://johannburkard.de/blog/programming/javascript/xslt-js-version-3-0-released-xml-xslt-jquery-plugin.html I don't know if you are building the XML DOM or pulling it through ajax. I don't know if the above works out of the box w

[jQuery] Re: Image Display with Brightness Control?

2008-10-24 Thread Josh Rosenthal
Ouch. Looking further, I guess IE has filters that can handle some similar things to (ie: lighten, but not change brightness, etc), but I'll attempt to find other solutions before we go that way (or just try to get them to find someone to do it in flash). Thanks muchly. josh On Thu, Oct 23, 2

[jQuery] Re: Embedding HTML inside of XML, and writing it to a page

2008-10-24 Thread Recoil
Hmmm, I haven't used XSL before, I'm looking it up right now, but I'm a bit unclear as to where to go from the point where I apply the XSLT to the XML. I mean, is this just automatically going to 'work'? On Oct 24, 7:19 am, Robert Koberg <[EMAIL PROTECTED]> wrote: > On Oct 23, 2008, at 11:09 PM,

[jQuery] li selection problem

2008-10-24 Thread MartyB
I'm a newbee. I want to create a collapsable ul. But I want each visible li (including both parent li and child li's ) to alternate the background color. The problem is that when I apply the background to the parent, all of the child li's do not change color they inherit the parent color. I am usi

[jQuery] Re: jsonp to WCF problem

2008-10-24 Thread tenaciousd
No problem. Probably I should've been a bit more explicit in reference to the setup. My WCF service is hosted in IIS 7, and the Stream and Callback classes I mentioned are in the same solution as the WCF endpoint. Also, you have to add a line to your web.config file to reference the IHttpHandle

[jQuery] DW CS4 plugin?

2008-10-24 Thread mario
Hi i was using an extension for jQuery with Dreamweaver CS3 from http://xtnd.us/, but with CS4 it makes all the syntax coloring purple and very hard to work on. Does anyone knows an alternative?

[jQuery] Securing JSON data type

2008-10-24 Thread Andrew
Right now (jquery 1.2.6), the httpData function does this with JSON data: // Get the JavaScript object, if JSON is used. if ( type == "json" ) data = eval("(" + data + ")"); This is not very secure. It would be better to allow users to choo

[jQuery] Re: Having troubles accessing a variable in $.each

2008-10-24 Thread Ruby
I figured out my problem was that I stuck // This function picks up the click and opens the corresponding info window function myclick(i) { GEvent.trigger(marker[i], "click");

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-24 Thread tripdragon
malsup wrote: > > > > success: function(responseText, status, $form) { > var id = '#review_' + $form.attr("id"); > $(responseText).prependTo(id).effect("highlight", {}, 9000); > } > > Mike > > > HUZAH!!! So I was close! Ah, thank you. Four days later straight. But it's

[jQuery] Re: Ajax form submitting help

2008-10-24 Thread Mike Alsup
> Thanx, would have been nice to know that i had to include a plugin to > get it to work. > > but no im stuck. the text that is put in to the textarea has its html > in entities format, so the < char is < and same with > know anyway > to fix that? Sorry, my brain saw the subject title "Ajax form.

[jQuery] Re: jQuery Treeview 1.4 by Joern Zaefferer

2008-10-24 Thread Cruizer
Has anyone come across this before? This is the only thing from making this menu perfect in my opinion. Thanks, Brent On Oct 23, 4:29 pm, Cruizer <[EMAIL PROTECTED]> wrote: > I am using this menu for a clients website, and I am having some > problems with functionality. > I may be reading it w

[jQuery] Re: Ajax form submitting help

2008-10-24 Thread JustGiz
Thanx, would have been nice to know that i had to include a plugin to get it to work. but no im stuck. the text that is put in to the textarea has its html in entities format, so the < char is < and same with > know anyway to fix that? On Oct 24, 5:52 am, Mike Alsup <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: [validate] Time validation

2008-10-24 Thread Jörn Zaefferer
You have to write a custom method: http://docs.jquery.com/Plugins/Validation/Validator/addMethod A date/time library like datejs may help: http://www.datejs.com/ Jörn On Fri, Oct 24, 2008 at 3:20 PM, Ravish <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there anyway to do Time validation using the val

[jQuery] Re: jsonp to WCF problem

2008-10-24 Thread RWF
thanks tenacious for all the help. It sounds like i would just ditch my IIS hosted WCF service, i was under the impression from this link: http://msdn.microsoft.com/en-us/library/cc716898.aspx that it was some how possible to rig WCF to format the response natively but the solution it referrers t

[jQuery] Re: jsonp to WCF problem

2008-10-24 Thread tenaciousd
Er, "bugger" should've been "buffer". Quite a typo. On Oct 24, 9:58 am, tenaciousd <[EMAIL PROTECTED]> wrote: > My service setup isn't exactly the same as yours but I think the same > solution will work for you. > > You'll need to add two classes, one that inherits from Stream (we'll > call is J

[jQuery] [validate] Time validation

2008-10-24 Thread Ravish
Hi, Is there anyway to do Time validation using the validator plugin? (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) It seems to have date validation but not for time... Any other options?

[jQuery] Re: jsonp to WCF problem

2008-10-24 Thread tenaciousd
My service setup isn't exactly the same as yours but I think the same solution will work for you. You'll need to add two classes, one that inherits from Stream (we'll call is JsonStream) and another that inherits from the IHttpModule interface (we'll call this JsonModule). The JsonStream class w

[jQuery] Re: [validate] problems with invalid-form.validate and remote rules

2008-10-24 Thread Jörn Zaefferer
Fixed! You're welcome to test it before the next release, you can find the latest revision here: http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/ Jörn On Thu, Oct 23, 2008 at 10:49 PM, Àlex Corretgé <[EMAIL PROTECTED]> wrote: > Ok Jörn, > > issue created > > http://dev.jquery.com/ticke

[jQuery] Re: Get label text

2008-10-24 Thread Klaus Hartl
Ah, I forgot a little thing (documentation was a bit misleading on that). Try this: var levels = $('input:checked + label').map(function() { return $(this).text(); }).get(); For csv do: levels.join(','); And that's more or less the same as in the documentation ;-) http://docs.jquery.com/Tra

[jQuery] Re: jsonp to WCF problem

2008-10-24 Thread RWF
Thanks for the info. How exactly are you writing directly to the response using WCF? My IIS hosted WCF service is basically just acting like a proxy to a windows hosted WCF service, so they both use the same contract, but the IIS hosted service is a REST based service. Is there a way to maintai

[jQuery] Re: Ajax form submitting help

2008-10-24 Thread Mike Alsup
> What i would like to accomplish is though Ajax submit the form, grab > the text that is returned and put it in a textarea (that is already > hidden on the page, and will be unhidden when the form submit) > > I cant seem to find how to do this. if someone could point me in the > right direction t

[jQuery] Re: blockUI custom options not working

2008-10-24 Thread Mike Alsup
> ...and the best way to make sure people who are new to JQuery > understand this is  if it is "made more clear on the demos page and in > documentation" done.

[jQuery] Re: toggle close open link

2008-10-24 Thread Suhas Dhoke
Hello bob. how your setHTML() function works ? Is this use to change the text ? or why not you replace the text (Open / Close) ? like.. if(cls == 'openP') { $("#toggleLnk" + " span").removeClass("openP"); $("#toggleLnk" + " span").addClass("closeM"); var txt = $("#toggleLnk").html().repla

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-24 Thread Mike Alsup
> With out $(this) or scoping the current form I have no clue how to get it to > target te proper ID. So you need access to the form element? In one of your other examples you had correctly discovered that the 3rd arg to your success handler is the form element (wrapped in a jQuery ojbect). So

[jQuery] Re: How to stop change event from firing

2008-10-24 Thread newkid85
No test page, but I did manage to get it working. Turns out I had a line at the start of my updateCity function which was setting the state value back to the first option after the updateState had finished doing its thing. So in fact, the function from my original post works fine now that the stat

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-24 Thread tripdragon
malsup wrote: > > >> And here is the current setup of codehttp://www.pastie.org/299446 > > You forgot to declare 'responseText' as an argument to your success > handler function. > > shoot! Ok, updated. http://www.pastie.org/299610 So now that starts to work. But the Problem of the code

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-24 Thread Mike Alsup
> And here is the current setup of codehttp://www.pastie.org/299446 You forgot to declare 'responseText' as an argument to your success handler function.

[jQuery] Re: Embedding HTML inside of XML, and writing it to a page

2008-10-24 Thread Robert Koberg
On Oct 23, 2008, at 11:09 PM, Recoil wrote: Only thing is, I want the article text to be xhtml-enabled. so there's 's and 's and such in there, and we're looking at something more like This title is rad. And this is some awesome article text. It's HTML formatted thou

[jQuery] Re: Get label text

2008-10-24 Thread shapper
I wrote alert(levels) to check and I get: [object Object] Does anyone knows how to get the values and join in CSV format? Thank You, Miguel On Oct 24, 1:47 am, shapper <[EMAIL PROTECTED]> wrote: > yes, > > I have: > > var levels = []; > levels = $('input:checked + label').map(function() { >   r

[jQuery] Re: Need solution to cycle through images and display a caption

2008-10-24 Thread Paul Mills
Hi, Just had a look at your site - very nice. I see the text is fading in and out in synch with the images. You can control the text independently using the callbacks. Try this: $('#slideshow').cycle({ before: onBefore, after: onAfter }); function onBefore() { $('p').hide(); }

[jQuery] Re: xml find element with this attribute value

2008-10-24 Thread Robert Koberg
On Oct 24, 2008, at 2:35 AM, akel wrote: i've been reading a lot and still does not find any solution to my query. please find the details below. in jquery how can i automatically find the element sample with attribute name equals to a without looping entirely the xml jQuery supports

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-24 Thread James2008
I've now got the divs sliding with this very simple code : function divShowHide(divID, imgID){ // Hides/Shows the vehicle details div and changes arrow appearance var divToChange = document.getElementById(divID); var arrowToChange = document.getElementById(imgID); $(divToChange).slideTogg

[jQuery] Embedding HTML inside of XML, and writing it to a page

2008-10-24 Thread Recoil
So I'm grabbing some content from an xml file. Actually, to be specific, an article, the layout is essentially: This title is rad. And this is some awesome article text. Only thing is, I want the article text to be xhtml-enabled. so there's 's and 's and such in

[jQuery] Ajax form submitting help

2008-10-24 Thread JustGiz
Iv got this form that allows you to select some files on your computer, when submitted the php behind it processes the the form and return some text. What i would like to accomplish is though Ajax submit the form, grab the text that is returned and put it in a textarea (that is already hidden on

[jQuery] Dimension plugin added to jQuery core 1.2.6 is giving different results on IE and mozilla

2008-10-24 Thread Ajay
Hi All, I am writing a custom suggestbox using jQuery core version 1.2.6 (just for learning purpose). The problem I am facing is to nicely position my dynamically populated list (using ajax) on the input box. I used the offset() method from dimensions plugin, and it is giving me nice results in F

[jQuery] xml find element with this attribute value

2008-10-24 Thread akel
hello all. i've been reading a lot and still does not find any solution to my query. please find the details below. in jquery how can i automatically find the element sample with attribute name equals to a without looping entirely the xml hope to find solution thanks. akel

[jQuery] toggle close open link

2008-10-24 Thread bobjqueryhm
How do I create toggle button that changes its text and image. I tried the following but it does not work. span.open{background-image:url('img/open.gif');background-repeat:no- repeat; width:20px} span.close{background-image:url('img/close.gif');background-repeat:no- repeat; width:20px} Open T

[jQuery] Re: My first attempt at showing/hiding div with jQuery

2008-10-24 Thread Paul Mills
Hi Try adding return false into your click handlers to stop the browser calling the url in the href' $("#rssInfo").hide(); $("a#subscribeRollover").click(function () { $("#rssInfo").show("fast"); return false; });

[jQuery] Re: [validate] remote rule send field value by POST instead GET

2008-10-24 Thread Àlex Corretgé
Ok, I now use a similar tech ( zajaj ) I made the question to integrate all the validations in a Only One routine. thanks 2008/10/23 Jörn Zaefferer <[EMAIL PROTECTED]> > Currently there is no good option to customize the request. The > easiest way may be using $.ajaxSetup, though that affects al

[jQuery] Re: My first attempt at showing/hiding div with jQuery

2008-10-24 Thread andrea varnier
On 24 Ott, 03:52, dsizemore <[EMAIL PROTECTED]> wrote: > Hi, > > In my first attempt at showing and hiding a div with jQuery, I've > hacked together this code and I'm looking for any thoughts on what I > did wrong (if anything?) The code seems to work in FireFox, IE7, and > Safari/Chrome. Opera an

[jQuery] Re: Disabling Enter key on the page

2008-10-24 Thread [EMAIL PROTECTED]
Thanks. That worked :) I should get into the habit of using this 'is()' function. very convenient. On 23 oct, 18:07, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > You can check the target of the keypress, by e.target. Something like this > (untested): > > $("#body").keypress(function(e) { >

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-24 Thread James2008
Hi again, Jonathan - I have tried that function in replace of my own and it doesn't seem to work :-s Any ideas? Thanks, James On Oct 23, 9:30 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > A more resilient solution is to use class names instead, you can't > just drop/ignore the IDs altogether: >