[jQuery] Re: hoverIntent conflicts in IE browsers ( superfish fly-out )

2009-05-26 Thread sutra
Hi Brian, thanks for the reply. While trying to make a sample page that shows only flyout menu so that I can show you, I got more finding. Whether with v1.3.2 or v1.2.6 with hoverIntent, the flyout behaves like other browsers in all three IEs. The site that is showing issue, is a Magento site th

[jQuery] Detect version of internet explorer using jquery

2009-05-26 Thread Nitin Sawant
how to Detect version of internet explorer using jquery?? & also name of browser?

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread M.M.
No, any suggestion is much appreciated, I did ask "where to find or how to make", but all they were telling me is that the effect already exists, they didn't even see the difference between them... Anyway, I've already tried to make this work with animate() and, so far, failed... so I just asked

[jQuery] Re: does selectors $ cache?

2009-05-26 Thread scoob...@gmail.com
I don't think it does.. If you did $('div#myid') then it would search through all the div's.. Here's a bit on jquery performance that I read about.. http://www.artzstudio.com/2009/04/jquery-performance-rules/ Hope that helps... On May 26, 10:44 pm, jonathan wrote: > does selectors cache? for e

[jQuery] does selectors $ cache?

2009-05-26 Thread jonathan
does selectors cache? for example, if I do $('#myid') twice, does it search through the document twice for myid?

[jQuery] Re: Code Review: slideshow plugin using JSON

2009-05-26 Thread Stefan Hayden
I just moved so I know how it is. I'll be sure to ping you again soon. I'm still trying to get our company to spin up the dev blog so we can make the release.. so no one seems to be in a rush. Thanks for your time! Stefan On May 26, 11:27 pm, chris thatcher wrote: > totally behind schedule as I

[jQuery] performance of html(val)

2009-05-26 Thread jonathan
I am constructing a large table on the fly and add it to the dom using html(val). It takes about 6 seconds. I am wondering if there's any practice that would speed up this process? thanks!

[jQuery] Re: Code Review: slideshow plugin using JSON

2009-05-26 Thread chris thatcher
totally behind schedule as I'm in the process of moving. please remind me if I don't get back to you this week some time. apologies. On Thu, May 21, 2009 at 3:02 PM, Stefan Hayden wrote: > > You have to love the public domain. > > Thanks again and I look forward to your feedback. > > Stefan > >

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-26 Thread Hetneo
Hi Charlie, I guess the next question is what happens if there are li items within the div? Superfish does not display the grand child menu items when hovering over the parent. I.E. Parent1 Parent2

[jQuery] Re: Using a selector recursively

2009-05-26 Thread sean
I am using it after an ajax request. I think it might be a bug, that probably will get fixed in 1.3.3. Did you test in Safari, FF, or IE? I am searching through the bug tracker right now. On May 21, 5:31 pm, aquaone wrote: > It works fine for me. Does your actual script block contain a > $(docu

[jQuery] Re: unable to create validator that prevents transition to next field on errors. [ $(this).focus() this.focus() both fail ]

2009-05-26 Thread buildlackey
Well.. I found a workable solution, and I have a theory as to why it works...The theory might be whack because my javascript and DOM knowledge is fair to middling at best.. But here goes (comments and corrections most welcome, maybe I'll learn something additional...) Theory and Explanati

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread RobG
On May 27, 6:21 am, MorningZ wrote: > So if you had: > > > > how would you apply a style to that? Using a class or a selector other than the id. > > can't say: > > #user.name { > } > > because that would look for > > > > yeah, "poor choice" sure is relative, but why make things more > diffi

[jQuery] jQuery Ajax grid

2009-05-26 Thread dev
Hello, We are starting a new ASP.NET MVC application and want to use an jQuery Ajax grid. I came across following options: - jqGrid (better than Flexigrid because it supports editable cells) - Flexigrid (looks better than jqGrid) - tablesorter - Ingrid - jqGridView - OTHERS? Which is the best c

[jQuery] select range of code and wrap, multiple times

2009-05-26 Thread Rob
Hi folks, I hope you can help me out, I have a bit of html that looks something like: div --h1 --h2 --p --p --h2 --ul --h2 --p And am trying to figure out a way to grab from that code each h2 and its siblings, up-to-but-stopping-at the next h2, for example, I want to grab from the simplified

[jQuery] expandoPane

2009-05-26 Thread muay
Hey Guys, Just wondering if anyone knows how I can an effect like dojox expandoPane using jQuery. http://api.dojotoolkit.org/jsdoc/1.3/dojox.layout.ExpandoPane . I'm sure it must be possible, but I'm not that familiar with jQuery yet. Thanks in advance.

[jQuery] Re: IE8 Does Not Work

2009-05-26 Thread Jonathan
It works in IE8. What errors are you getting? Need more details. On May 26, 1:44 pm, rickmataka wrote: > I was wondering if there was an update for validate plugin because it > does not work in IE8 > and even though i do server side thats sucks > > Thanks > Rick

[jQuery] Re: number of checked boxes

2009-05-26 Thread Mauricio (Maujor) Samy Silva
Or... you could use a shorter selector var checked = $(':checkbox:checked').length; -Mensagem Original- De: Macsig Para: jQuery (English) Thanks for your help. I appreciate it On May 26, 2:44 pm, James wrote: > var checked = $("input[type=checkbox]:checked").length;

[jQuery] Re: Textarea value with javascript

2009-05-26 Thread James
I've never used fckEditor before, but how about try using Firebug to walk through the HTML to locate the parts created by fckEditor and see how you can reference it. I found it very useful for referencing parts of the DOM created by other plug-ins or scripts I'm not familiar with. On May 26, 4:01

[jQuery] Re: Force the browser to render window

2009-05-26 Thread James
I'm not understanding the "extra click anywhere" part. Is it a 'blur' that is triggering something? Exactly how are you doing what you're doing? Maybe it's just an IE bug where things are not working as expected. If you could show us how you're doing what you're doing, maybe we could help debug it

[jQuery] Re: Newbie question- declarative selectors inside procedural code

2009-05-26 Thread Jason Persampieri
Excellent! Glad to see you figured that one out. Rest assured that *every* web developer has pulled out hair related to that particular issue. Fortunately, in many editors today, you can run a tool called 'jslint' that does a simple syntax check for you. In my editor (TextMate), I actually hav

[jQuery] Re: [New Plugin] jQuery Generic Pagination

2009-05-26 Thread Rick Faircloth
The demos look great, Eric! I'm sure this will come in handy! Congrats! Rick On Tue, May 26, 2009 at 4:55 PM, Eric Garside wrote: > > I figured I'd drop a message out to the board about a new plugin I've > finished documenting and released, called Pagination. It's a small, > relatively simple

[jQuery] Re: Jquery Block plugin

2009-05-26 Thread Mike Alsup
> In a simplistic form > > $("#BlockID").block(); > $.ajax( >        success: function(results) { >             // Do stuff with "results" >             $("#BlockID").unblock(); >        }, >        error: function(x,y,z) { >            //x.responseText has the server error text >             $("#

[jQuery] Re: ajax append problem

2009-05-26 Thread Eric
When i try this i get an error "object required" in IE6 and 7. any thoughts? On Apr 27, 10:10 pm, Ricardo wrote: > I think you have to separate the selector otherwise it's just a hash: > > $(".content").load("test.html #content"); > > http://docs.jquery.com/Ajax/load > > On Apr 27, 5:14 pm, Char

[jQuery] Odd .hover effect in IE7

2009-05-26 Thread Brian W
Using hover effect works fine in Firefox however it produces an odd effect in IE7. On hover the background-image gives the appearance of shifting up 1px and to the left 1px, also the text font changes. The background-image has rounded corners, the hover effect changes the corners to appear straigh

[jQuery] Suckerfish - issue with vertical styling

2009-05-26 Thread Koobi Fora
Hello, Thanks for making such a great menu system as Suckerfish available to the Joomla community. I am having trouble with the vertical styling of the menu. On mouse- over and mouse-off, every menu item turns to a grey color and stays that way until I refresh the page again. Any suggestions? H

[jQuery] [validate] IE8 Does Not Work

2009-05-26 Thread rickmataka
I was wondering if there was an update for validate plugin because it does not work in IE8 and even though i do server side thats sucks Thanks Rick

[jQuery] Values (a cheesy intro to a very useful plugin)

2009-05-26 Thread Nathan Bubna
http://plugins.jquery.com/project/Values Think of this as val() crossbred with serializeArray() and raised on steroids. Or a JSON<->HTML mapping tool. Or a template plugin that can handle complex data structures, works in reverse and uses only HTML as its syntax. It works with single values.

[jQuery] Force the browser to render window

2009-05-26 Thread foldiman
Is there a javascript or jQuery method available to force the browser to render the contents of the window? This would something similar to updating the "stage" in Director or Flash. I have a two-column interaction set up where users input information in one column and see their results in anothe

[jQuery] Question about strange Superfish behaviour

2009-05-26 Thread Koobi Fora
Hello, Thanks for making such a great extension as Superfish available to Joomla users. I am having a strange problem with the menu when I try to use it on my site with vertical configuration. When the page loads it appears fine. However, after hovering over each menu item, the color of the menu

[jQuery] Re: number of checked boxes

2009-05-26 Thread Macsig
Thanks for your help. I appreciate it Sig On May 26, 2:44 pm, James wrote: > var checked = $("input[type=checkbox]:checked").length; > > if (checked >= 1) { >      // do something > > } > > On May 26, 11:27 am, macsig wrote: > > > Hello all, > > I have a form with some checkboxes and I would

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread James
$("#user\\.name") seems to work in FF3. Haven't tried in other browsers. On May 25, 10:09 pm, "weit...@263.net" wrote: > when i use jquery get a input like > > > use $("#user.name") is error > > if input is > > use $("#username") is right > > is bug?

[jQuery] Re: Parents without a particular child

2009-05-26 Thread Todd Rafferty
Disregard, I changed the data to make a little more sense. On May 26, 4:59 pm, Todd Rafferty wrote: > I've been staring at code for way too long.  I have a data structure > like: > > > Stuff Move > More Stuff > > > How do I get the li that doesn't have 'a.movethis'?

[jQuery] Re: number of checked boxes

2009-05-26 Thread James
var checked = $("input[type=checkbox]:checked").length; if (checked >= 1) { // do something } On May 26, 11:27 am, macsig wrote: > Hello all, > I have a form with some checkboxes and I would like to submit it > (through jquery) only if at least 1 checkbox is checked, otherwise I > want to

[jQuery] number of checked boxes

2009-05-26 Thread macsig
Hello all, I have a form with some checkboxes and I would like to submit it (through jquery) only if at least 1 checkbox is checked, otherwise I want to display an alert message. How can I get the number of checked boxes? I tried$("INPUT[type='checkbox']").is(':checked') but looks like

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread donb
Like probably a lot of people at this point, I'm hesitant to offer a mere suggestion since you seem to want a complete solution worked out for you. But your example does a simple toggle, which is a wrapper around the animate function. I would say, try using animate() directly and experiment with

[jQuery] Re: Newbie question- declarative selectors inside procedural code

2009-05-26 Thread colin_e
Just to finish this one off, I discovered my problem in IE6 was nothing to do with the jquery search operation we were discussing. As I was working on the code I had added an object initialisation above the line in question that had an extra comma at the end, as in- var frames= {

[jQuery] Superfish open menu with ENTER key

2009-05-26 Thread Raul G
Hello I am using Superfish 1.4.8 for making a keyboard accessible menu with sub levels that open only when the user has tabbed to the option (focus is active on the element) and then presses the ENTER key. The reason for this is that this is intended for browsing with screen reader applications t

[jQuery] Parents without a particular child

2009-05-26 Thread Todd Rafferty
I've been staring at code for way too long. I have a data structure like: Stuff Move More Stuff How do I get the li that doesn't have 'a.movethis'?

[jQuery] Re: Question about Tutorial: Find me: Using selectors and events

2009-05-26 Thread Mattsson
A partial answer to my question on the difference between mouseenter and mouseover, in the jQuery documentation, Events/mouseenter (http:// docs.jquery.com/Events/mouseenter#fn), it states, then illustrates, that mouseover fires when the pointer moves into or out from child element, while mouseent

[jQuery] [New Plugin] jQuery Generic Pagination

2009-05-26 Thread Eric Garside
I figured I'd drop a message out to the board about a new plugin I've finished documenting and released, called Pagination. It's a small, relatively simple jQuery plugin which makes rendering and managing Pagination controls very easy. It automatically generates groupable controls, which can be th

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread MorningZ
So if you had: how would you apply a style to that? can't say: #user.name { } because that would look for yeah, "poor choice" sure is relative, but why make things more difficult, when a simple dash or underscore would do the same thing (and not cause issues with basic CSS or jQuery)

[jQuery] Re: Jquery Block plugin

2009-05-26 Thread MorningZ
In a simplistic form $("#BlockID").block(); $.ajax( success: function(results) { // Do stuff with "results" $("#BlockID").unblock(); }, error: function(x,y,z) { //x.responseText has the server error text $("#BlockID").unblock();

[jQuery] Re: Barcode Plugin : ean 8, ean 13, code 128 and some others directly in css (so ok for ie)

2009-05-26 Thread FireJocker
Barcode JQuery Plugin : 1.1 Changelog : standard 2 of 5 fixed

[jQuery] Re: jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-26 Thread Ricardo
1. Do you get errors if you remove the last 2 spry scripts? 2. Regardless of which script does what, you should put the $().ready ( always after all the scripts as a safety measure, there's no negative impact. 3. If I remember a recent discussion, you shouldn't use the vsdoc version of jQuery, it'

[jQuery] Re: Getting the child element on click

2009-05-26 Thread Matt
You're a hero. I didn't even know about the slideToggle() function, I was using an if statement to test if the was hidden - thanks a ton. Matt On May 26, 7:57 pm, "M.M." wrote: > $('.feature h2').click(function() { >     $(this).siblings('p').slideToggle(); return false; > > });

[jQuery] Question on encode/decode of JSON - server-side and client-side

2009-05-26 Thread SamCKayak
I am building a client-side and server-side solution and want to use JSON through Ajax in both directions. I have ASP or JavaScript server-side, though Microsoft's support of server-side JavaScript seems nil, so I am reluctantly conceeding to use ASP. I'd appreciate suggestions on available solu

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread Ricardo
"Poor choices" is relative. I'd love a way to use colons in IDs avoiding the confusion with pseudo-selectors, kind of like namespacing elements. If it's in the specs it's perfectly valid. On May 26, 9:17 am, MorningZ wrote: > No, it's not a bug, your selector is looking for an item of class > "n

[jQuery] Re: Getting the child element on click

2009-05-26 Thread M.M.
$('.feature h2').click(function() { $(this).siblings('p').slideToggle(); return false; });

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread M.M.
On May 26, 8:32 pm, tain wrote: > they only have different easing value..otherwise they are identical. No they're not! Are we looking at the same page? The effect you get when you click "Slide Out" or "Slide In" on http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery is NOT the slide effect

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread tain
they only have different easing value..otherwise they are identical. On May 26, 6:44 pm, "M.M." wrote: > On May 26, 2:15 pm, Charlie wrote: > > > look at demo on jQuery site, works exactly same as your sciptaculous > > examplehttp://docs.jquery.com/Tutorials:Live_Examples_of_jQuery. > > No, it

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Rams j
Hi Bob, Its working fine.. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; > Untitled Page $(document).ready(function() { $('#new_blog_post').validate({ rules: { "blog_post[title]": "required",

[jQuery] ajax/IE6 problem viewing data on page

2009-05-26 Thread eranlevi
Hi All, I'm new to this so please be patient. I'm using the following Jquery script: var counter = 0; function loaded(){ $.ajax({ url : "status_", error : function (data) { counter++; if(counter == 3) { $("#Status").html("server disconn

[jQuery] Getting the child element on click

2009-05-26 Thread Matt
Simple stuff here but I'm new to jQuery from Prototype. My HTML is like this: Heading Goes Here Text goes here // repeat x10 Javascript: (runs on page load) $('.feature h2').click(function () { $(this).parent().children("p").

[jQuery] jCarousel Question

2009-05-26 Thread West
Hello. I have a question regarding jCarousel usage. I am able to configure jCarousel to display items on more than one horizontal line? For example: back 1 2 forward -- 3 4 - 4 items per section, 2 on each line. Thank you!

[jQuery] Selecting previous sibling from an ordered list

2009-05-26 Thread rswift
Hello, I only started using jQuery recently and have hit a problem, I have an application that is rendering a list of applications which could have multiple releases within each application and multiple versions within each release. I have the following markup: App1 ↪ R1 ↪ 0.1 A

[jQuery] Jquery Block plugin

2009-05-26 Thread Atticus
Hi all. I was trying to use the Block plugin. I really need to show a modal popup on AjaxRequest and Stop it on Request End. How can I do that. I have seen etTimeout($.unblockUI, 6000), but I need to run server code,so I need to set this time out to the elapsed time in my server method. Thanks

[jQuery] Re: jQuery Timers Loop

2009-05-26 Thread MauiMan2
Thanks for the extra help, Pepperman. Yeah, I haven't perfectly polished off all the code yet. I hardly ever put anything like "DIV#arrow" but I guess an instance slipped through. I do try to not use IDs if an element name will do but am fine with using IDs when necessary.

[jQuery] Re: Question about Tutorial: Find me: Using selectors and events

2009-05-26 Thread Mattsson
Thanks a bunch mkmanning, your brief answer had loads of meaning for me: a) we may look in the jQuery source file to see what a jQuery function does -- jQuery is after all simply JavaScript b) we can name any JavaScript object by using a colon after a name (http://www.codingforums.com/showthread

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread M.M.
On May 26, 2:15 pm, Charlie wrote: > look at demo on jQuery site, works exactly same as your sciptaculous > examplehttp://docs.jquery.com/Tutorials:Live_Examples_of_jQuery. No, it doesn't, it looks exactly like my jQuery "blind" example on the left, and it's not what I need.

[jQuery] Re: hoverIntent conflicts in IE browsers ( superfish fly-out )

2009-05-26 Thread Brian Cherne
Can you send me a sample of the code that breaks? Thanks, Brian. On Tue, May 26, 2009 at 2:48 AM, sutra wrote: > > More finding on this issue. Turns out it may not be the issue with > jQuey v1.3.2 but the > hoverIntent script. > > With hoverIntent, using v1.3.2 the flyout is gone. Using hoverIn

[jQuery] Re: Newbie needs to update existing JQuery code

2009-05-26 Thread Charlie
embed';" style="cursor:pointer;">Stort kort Now my map will replace both the small and large map on my client's website. My map is still under development but here is a link to the current version: http://googlemapsapi.martinpearman.co.uk/user_maps/bellamallorca.dk/2009

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Jörn Zaefferer
A testpage would help. Can't see anything wrong with that code. Jörn On Tue, May 26, 2009 at 4:13 PM, Bob O wrote: > > So it seems im still having some issues.. > > this is my html > > > > Title > > > > > Body > > cols="28"/> > > > Author > > > > > Permalink > A hyphen separated t

[jQuery] [nyroModal] problems getting ajax-loaded content to trigger nyroModal window

2009-05-26 Thread Adam
I posted this on the nyroModal group as well, but thought I'd throw it out to the JQ group. Im decent with JQ on static content, but am an ajax newbie. http://70.32.84.175/events/ At the preceding link, on initial page load, the events loaded beneath the slider interface, 'view details' links tr

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread ciupaz
I have created the file jquery.validateCopy.js and added with: in my HEAD section. Than I write: jQuery.validator.addMethod("GetValue", function() { return true; }, jQuery.format("Please enter the correct value")); in it. Then I modify it with: city: { required: GetV

[jQuery] [Chrome, Safari 3] Problem with Tabs plug-in loaded dynamically

2009-05-26 Thread r1u0...@gmail.com
Hi, I've got following problem with UI plugin loaded dynamically on page. Whole application works fine on FF, Opera and IE. Unfortunately problem occurs in Chrome and Safari. I've got some master page with menu, and I'm loading new pages on click event using following code: $('#menuwelcome').cl

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Bob O
So it seems im still having some issues.. this is my html Title Body Author Permalink A hyphen separated title for URL's e.g. my- title and this is my js placed after the jQuery and jquery.validate scripts. $(document).ready(function() { $('#new_blog_post').validate({

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread Jörn Zaefferer
Nope, just add the code in some file, included after jquery.validate.js. Jörn On Tue, May 26, 2009 at 4:03 PM, ciupaz wrote: > > I must write it in the jquery.validate.js file?

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread ciupaz
I must write it in the jquery.validate.js file?

[jQuery] Re: Textarea value with javascript

2009-05-26 Thread saa...@gmail.com
Yeah On 26 maijs, 16:53, Caires Vinicius wrote: > You tried the innerHTML? > > > > On Tue, May 26, 2009 at 10:21 AM, saa...@gmail.com wrote: > > > Good day > > > How can I get current textarea that was changed in fckEditor value > > with javascript. > > I got: > > Hello > > Then happens this: $

[jQuery] Re: Textarea value with javascript

2009-05-26 Thread Caires Vinicius
You tried the innerHTML? On Tue, May 26, 2009 at 10:21 AM, saa...@gmail.com wrote: > > Good day > > How can I get current textarea that was changed in fckEditor value > with javascript. > I got: > Hello > Then happens this: $('textarea').fck({ path:'/fckeditor/' }); , so now > I get fckEditor in

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread Jörn Zaefferer
Custom methods are documented here: http://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Tue, May 26, 2009 at 3:49 PM, ciupaz wrote: > > Yes, exactly, and I'm trying this custom method: > > function GetCityValue() { >        var value = $('#city').val(); >        if (value == -

[jQuery] Textarea value with javascript

2009-05-26 Thread saa...@gmail.com
Good day How can I get current textarea that was changed in fckEditor value with javascript. I got: Hello Then happens this: $('textarea').fck({ path:'/fckeditor/' }); , so now I get fckEditor insted my textarea. Then I change the original text in fckeditor to "Hello world". When I press the butt

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread ciupaz
Yes, exactly, and I'm trying this custom method: function GetCityValue() { var value = $('#city').val(); if (value == -1) { return true; } else { return false; } } and .. city: { required: GetCityValue()

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Bob O
Man i combed the docs for a day, and i missed that link everytime.. Thanks Jorn. On May 23, 3:02 pm, Jörn Zaefferer wrote: > You need to quote the full key, eg "name['name']": "required". > Seehttp://docs.jquery.com/Plugins/Validation#Fields_with_complex_names_ > > Jörn > > On Fri, May 22,

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread Jörn Zaefferer
You'd have to write a custom method for that. Or replace the value on submit or something like that. The required-rule works with an empty value. Jörn On Tue, May 26, 2009 at 3:22 PM, ciupaz wrote: > > Thank you Jorn, now with the "name" attribute it's working. > A simple question. > For busine

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread ciupaz
Thank you Jorn, now with the "name" attribute it's working. A simple question. For business rules I have to give the value "-1" to the "Select the city" option. Like this: Select a city Milan Turin Rome

[jQuery] Re: Can the click() function be used in an if statement

2009-05-26 Thread Martin
Got it working thanks yang.. Merely did.. $("#accountButtons div.question b").click(function(e){ Do B e.stopPropagation(); }); That fixed the problem so event A isnt fired... On May 26, 12:08 pm, Steven Yang wrote: > how do you click A and invoke B's onclick?the only way is A is B's chi

[jQuery] Re: jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-26 Thread infoaddicted
According to the documentation, the body of your ready function will execute when the DOM has loaded and is ready to traverse. The last two scripts manipulate the DOM, so I would put the ready function afterward so I could be more confident in the results. This is a good area for experimentation.

[jQuery] Re: Validate selectedValue in a combobox

2009-05-26 Thread Jörn Zaefferer
The validation plugin uses the name-attribute. Your select has just an id, no name. Add name="city" and it should be working! Jörn On Tue, May 26, 2009 at 2:20 PM, ciupaz wrote: > > Hi all, > I have a simple combobox like this: > > > >                    Select a city >                    Mila

[jQuery] Re: 2 links => 1 action

2009-05-26 Thread Charlie
$('.contenttitle>h1>a, .item>a').click(function() { ... heohni wrote: Hi! currently I have this: $('.contenttitle>h1>a').click(function() { ... Is there a way to say $('.contenttitle>h1>a'). or $('.item>a'). click(function() { .? It's just that I have 2 different links to click bu

[jQuery] Validate selectedValue in a combobox

2009-05-26 Thread ciupaz
Hi all, I have a simple combobox like this: Select a city Milan Turin Rome Venice and a validation rule like this: $('form#myForm').validate({ rules: { city: {

[jQuery] Re: 2 links => 1 action

2009-05-26 Thread MorningZ
$('.contenttitle>h1>a, .item>a'). click(.) On May 26, 8:06 am, heohni wrote: > Hi! > > currently I have this: > > $('.contenttitle>h1>a').click(function() { ... > > Is there a way to say > > $('.contenttitle>h1>a'). or $('.item>a'). click(function() { .? > > It's just that I have 2 dif

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread MorningZ
No, it's not a bug, your selector is looking for an item of class "name"... so it's your selector that is the issue, not jQuery (your naming/id convention would also cause issues with CSS)... If you insist on poor choices for naming your controls, it is still possible to select the items though

[jQuery] Re: jQuery Ajax breaking in IE..... please help!!

2009-05-26 Thread Gustavo Salomé
the url is 'app/ajax.phpauth-login' U missed the ? 'app/ajax.php?auth-login' On Tue, May 26, 2009 at 3:14 AM, yrelkin wrote: > > I am developing a VoIP Customer Portal with jQuery/Ajax. > Everything works fine in Firefox, but in IE and Safari, the JS breaks. > > I used MS Script Debugger to get

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread Juan Liu
这个有人清楚么?我也比较好奇

[jQuery] Newbie needs to update existing JQuery code

2009-05-26 Thread Martin
ient's website. My map is still under development but here is a link to the current version: http://googlemapsapi.martinpearman.co.uk/user_maps/bellamallorca.dk/20090526/ That's the large map, call the same map with a 'smallmap' parameter and you get a small version of the same map: http://googlemapsapi.mar

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread Charlie
look at demo on jQuery site, works exactly same as your sciptaculous example http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery. not sure why your's causing issues, used this many times myself with same result M.M. wrote: I've searched the archives, and lot of people asked this qu

[jQuery] 2 links => 1 action

2009-05-26 Thread heohni
Hi! currently I have this: $('.contenttitle>h1>a').click(function() { ... Is there a way to say $('.contenttitle>h1>a'). or $('.item>a'). click(function() { .? It's just that I have 2 different links to click but behind the same action... Thanks!

[jQuery] Re: jQuery Timers Loop

2009-05-26 Thread Pepperman
another couple notes: It is a good idea for jQuery to use the an #ID for the call $("#myol") instead of $("OL"). Also.. If someone adds another OL somewhere on the page, the methods you are applying will be applied to every other OL on the page. Which may not do what you intended. Using OL will

[jQuery] Re: jQuery Ajax breaking in IE..... please help!!

2009-05-26 Thread Jordon Bedwell
$.post("login.php",{user:uname,pass:pass},function(data){ alert(data.something); },"json"); Is easier, otherwise you can try removing the word json and using another name and see if that works. Good luck on your mission of success! -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: input field name include "." jquery cann't parse

2009-05-26 Thread donb
'# ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").' http://www.w3.org/TR/html401/types.html#type-name So it would seem to be a bug. On May 26, 4:09 am, "weit..

[jQuery] Select box// onchange in niceform doesn't work !!

2009-05-26 Thread Amit
Hi Guys , I am using the niceforms.js to change the look of the fields. but came to know that the onchange event for select boxes in such a form doesn't work, as the niceforms.js replaces the select box with divs Any one have any solution, how to implement the onchange event in such a sit

[jQuery] Re: Can the click() function be used in an if statement

2009-05-26 Thread Martin
Yes, basically I have #accountButtons div.question and #accountButtons div.question b The second element is an "X" over the background image on the first element. I want either element to be exclusively selected when clicked, but when I use the following code, both elements are hit when you c

[jQuery] Re: Can the click() function be used in an if statement

2009-05-26 Thread Steven Yang
how do you click A and invoke B's onclick?the only way is A is B's child. as far as i can think and if thats the case you have event bubbling you can stop this by calling event.stopPropagation()

[jQuery] input field name include "." jquery cann't parse

2009-05-26 Thread weit...@263.net
when i use jquery get a input like use $("#user.name") is error if input is use $("#username") is right is bug?

[jQuery] [tooltip] Passing the mouseover event to the bodyhandler

2009-05-26 Thread Jochen Jonckheere
Hi, I made a small adjustment to the jQuery Tooltip plugin from bassistance. The mouseover event is now passed to the bodyhandler, this makes it easy to use event delegation of bubbling. You an for example attach a tooltip to a TR instead of adding it to all TDs in the TR. The old way: $('#myta

[jQuery] Where to find a proper slide effect?

2009-05-26 Thread M.M.
I've searched the archives, and lot of people asked this question, but there were no answers, just links to UI docs or "that shouldn't be too hard using some css and animation..."... Anyway, I've made a demo of what I (we :) want: http://sklupc.com/slide/ The question: where to find or how to ma

[jQuery] jQuery Ajax breaking in IE..... please help!!

2009-05-26 Thread yrelkin
I am developing a VoIP Customer Portal with jQuery/Ajax. Everything works fine in Firefox, but in IE and Safari, the JS breaks. I used MS Script Debugger to get a backtrace, and i find that the breakpoint is at a jQuery Ajax call: var AJAXURL = 'app/ajax.php'; $.ajax({

[jQuery] Re: set the gap of start and end date in datepicker

2009-05-26 Thread Steven Yang
hi here is how i do to set start date cannot be after end date $("#startId, #endId").datepicker({ beforeShow : function(input) { return { 'minDate' : (input.id == 'endId' ? $('#startId').datepicker('getDate') : null),

[jQuery] Can the click() function be used in an if statement

2009-05-26 Thread Martin
Hello, I would like to know whether a jquery click function can be used in an "if" statement. The reason why I am asking, is because I haven't seen any examples of this being done on the web. I want to use this approach because currently Jquery keeps initiating two events from one mouse click,

  1   2   >