Re: [jQuery] (validate) custom message for maxlength

2009-11-17 Thread Jörn Zaefferer
Sure: messages: { comments: { maxlength: function(max) { return "'Comments' must not exceed " + max + " characters. You entered " + $("input[name=maxlength]").val().length + " characters"; } } } Jörn On Tue, Nov 17, 2009 at 8:16 PM, Kasvis wrote: > Hi, > > I am trying to cust

Re: [jQuery] file size

2009-11-17 Thread Giovanni Battista Lenoci
hesham shanana ha scritto: i need to get file size from upload control You can't get it with javascript. You can use some flash plugin like swfupload. Bye -- gianiaz.net - web solutions via piedo, 58 - 23020 tresivio (so) - italy +39 347 7196482

Re: [jQuery] Validation and dropdowns

2009-11-17 Thread Jörn Zaefferer
Set the field as required and provide value="" on the default option: Please... Jörn On Tue, Nov 17, 2009 at 7:57 PM, Atkinson, Sarah < sarah.atkin...@cookmedical.com> wrote: > I have several dropdowns in my form. They start on a “please select one” > state. How do I make it so that if one

Re: [jQuery] Load image gallery faster - or tips

2009-11-17 Thread jerome.chevreau
Liam Byrne wrote: > > Images can only load as quickly as their connection will allow. > > Your best option is to load the first set of thumbnails (if there's, say, > 12 per page I load 24) and the first image, and then dynamically load the > remainder via ajax or other method. > > Liam > >

[jQuery] Re: how to parse xml with namespace ?????

2009-11-17 Thread g...@iec
Can anybody provide me with some suggestions regarding above mentioned issue On Nov 17, 7:15 pm, "g...@iec" wrote: > Hi all, > > I have came across an issue related to xml parsing. > > Here is code for parsing xml with namespace : > > var data = {xml content}; > $(data).find('{namespace}\\:no

Re: [jQuery] Newbie question about updating iframe on tab select

2009-11-17 Thread 刘永杰
you should use ajax. 2009/11/18 zoog22 > > I have some tabs that I want to not update until they are selected. > > Currently, they all load their respective iframes src="x"s when the page > loads. I was thinking I could leave the link blank on loading and change > them as they are clicked. > >

[jQuery] Newbie question about updating iframe on tab select

2009-11-17 Thread zoog22
I have some tabs that I want to not update until they are selected. Currently, they all load their respective iframes src="x"s when the page loads. I was thinking I could leave the link blank on loading and change them as they are clicked. $(function() { $("#tabs").tabs(); });

[jQuery] Re: imitate link

2009-11-17 Thread Dave Methvin
> > Can make behave as ? > Why would you not just use CSS to style an element > to be bold and not underlined? Definitely the way to go. That way the link works with the keyboard and screen readers as well. Apps that require the mouse drive me crazy.

[jQuery] Re: Konami Code >:]

2009-11-17 Thread ThePengwin
I posted this before, but i think i replied to the wrong thing, whoops! anyway, How about making it a jquery plugin? :) [code] $.konamiCode = function (toExecute){ var press = 0, keys = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65, 13]; $(document).keydown(function (e){ if (e.which

Re: [jQuery] imitate link

2009-11-17 Thread Charlie Griefer
On Tue, Nov 17, 2009 at 6:56 PM, runrunforest wrote: > Can make behave as ? > > For exmaple, I have Home, I want to go to homepage when i click > b. > Why would you not just use CSS to style an element to be bold and not underlined? -- Charlie Griefer http://charlie.griefer.com/ I have fai

[jQuery] Re: Newbie validator question/problem

2009-11-17 Thread sprach
Jules, I was thinking that writing a rule would solve the problem but wasn't sure how to do it. Thanks for detailing it out. -ben On Nov 16, 5:02 pm, Jules wrote: > Can't you use remote validation?  This code should work. > >             $("#password").rules("add", { >                 messages:

[jQuery] imitate link

2009-11-17 Thread runrunforest
Can make behave as ? For exmaple, I have Home, I want to go to homepage when i click b.

[jQuery] Re: :gt and :lt don't accept variable as a parameter?

2009-11-17 Thread mkmanning
Try $('#filterlist_wrapper ul li:gt('+left_col+')') On Nov 17, 3:35 pm, Magnificent wrote: > It should read: > > > I'm storing my counts in variables, but it doesn't look like :gt > > and :lt can accept a VARIABLE value as it's parameter. > > It works when I put in, say :gt(44), but not :gt(left

[jQuery] Simple JQuery 1.3.2 Multiple Checkbox Select

2009-11-17 Thread acrafty
Hi All, I'm having an issue with Multiple Checkboxes getting selected in JQuery 1.3.2. In this code you can see that I commented out jQuery v 1.2.6, where this code works perfectly. Yet, in 1.3.2 the code no longer works. I would really appreciate it if you would please take a look at my code belo

[jQuery] using variable value as buildin function.

2009-11-17 Thread SpellJack
Hi. I'm writing a plugin for myself and I stuck.I'm trying to use link's id value for calling function and I couldn't figure it out. Here is the sample html, plugin for my question. Find out more about apples... $.sample = { _init: function(){ return this.each(function() {

Re: [jQuery] Load image gallery faster - or tips

2009-11-17 Thread liam
Images can only load as quickly as their connection will allow. Your best option is to load the first set of thumbnails (if there's, say, 12 per page I load 24) and the first image, and then dynamically load the remainder via ajax or other method. Liam > > Hi everyone, > > I have an image galler

[jQuery] Interesting side effect of using the RSV plugin

2009-11-17 Thread Jim Byrnes
I discovered by accident that if I use the Really Simple Validation (RSV) plugin, hitting enter in a form field advances to the next field just like hitting tab. I am working on an internal data entry form so this is a good thing. My form fields look like this: tagNum enterDate dueDate Descri

[jQuery] Re: :gt and :lt don't accept variable as a parameter?

2009-11-17 Thread Magnificent
It should read: > I'm storing my counts in variables, but it doesn't look like :gt > and :lt can accept a VARIABLE value as it's parameter. It works when I put in, say :gt(44), but not :gt(left_col) or lt: (right_col) when those variables are numbers.

[jQuery] :gt and :lt don't accept variable as a parameter?

2009-11-17 Thread Magnificent
Hello, I'm trying to take a big ul and format it into 2 columns. What I'm doing is cloning the ul, then floating the clone to the left so that gives me my 2 columns (of the same data). I then get a count of the children, split it in half and show the first half in the left column, the 2nd half i

Re: [jQuery] Unordered List question!

2009-11-17 Thread szuwei
Thanks a lot! And no, this is not a homework. I'm just new to JQuery, and it's a work problem. Thanks again! Scott Sauyet-2 wrote: > > On Nov 17, 3:52 pm, szuwei wrote: >> If you have an unordered list with 10 elements. The list has an ID of >> “myList”.  Using jQuery, how can you:   >> >>  

[jQuery] Re: Jquery forms ajaxsubmit- 'success' function callback fails with IE

2009-11-17 Thread justin
I was having this same problem where my success function wouldn't be called on ajaxSubmit. I ended up looking at the jquery forms plugin code and line 65 forces your ajaxSubmit to use a GET if you haven't specified wrote: > Hello I am havign problem with using a callback function on the 'success'

[jQuery] Re: Unordered List question!

2009-11-17 Thread Scott Sauyet
On Nov 17, 3:52 pm, szuwei wrote: > If you have an unordered list with 10 elements. The list has an ID of > “myList”.  Using jQuery, how can you:   > >    1. Change the fore color of all even list items to red >    2. Indent the 5th item when the mouse hovers over it Is this a homework problem?

[jQuery] Re: Functions

2009-11-17 Thread Greg Tarnoff
You are kind of defeating the purpose of Jquery if you put the call to the function in an A element. Does the parent of the A element in question have an ID? You could then call $('parent a'). If there is more than one A in there you can target it with other selectors (http://docs.jquery.com/Select

[jQuery] Re: Having trouble getting Superfish to work...

2009-11-17 Thread gfranklin
I think its talking about editing the superfish.css file. For example in the sample superfish.css that comes with your download, you see something like this: === .sf-menu li:hover ul, .sf-menu li.sfHover ul { left: 0; top:2.5em; /* match top ul

[jQuery] Re: Help newbie with Superfish menu CSS

2009-11-17 Thread gfranklin
Fraggy, Change the following lines in your superfish.css file: === .sf-menu li { background: #BDD2FF; background: #003300; /*JM*/ } .sf-menu li li { background: #AABDE6; background: red;/*JM*/ } [...] .sf-menu li:hov

[jQuery] Re: Trying to update div tag in jQuery DOM window

2009-11-17 Thread Scott Sauyet
On Nov 17, 2:33 pm, Richard wrote: > The problem is  that the div is not changing in the DOM window. When I > relaunch the DOM window, then I can see the change. It looks as though this plugin is not using your element but its children. You might have to do the same thing to your div and to $DOM

[jQuery] Datepicker + on select + click function issue

2009-11-17 Thread Gianluca
Hi, I explain my problem: I have a datepicker UI, and when i click on a day, I have to refresh the datepicker when I click outside it. onSelect: function(date,inst) { ... alert('A');

Re: [jQuery] Simple XML Parsing Question

2009-11-17 Thread Wil Everts
$(xml).find('CustomMessage') -- will give you this result: 181 First Message 135 Sample_img.png image/png >

[jQuery] Trying to update div tag in jQuery DOM window

2009-11-17 Thread Richard
I have a PHP form in a jQuery DOM window (just like jQuery Dialog), and when the form is sent I want to change the HTML in the div in the DOM window. The problem is that the div is not changing in the DOM window. When I relaunch the DOM window, then I can see the change. // When the form is sent

[jQuery] file size

2009-11-17 Thread hesham shanana
i need to get file size from upload control

[jQuery] (validate) custom message for maxlength

2009-11-17 Thread Kasvis
Hi, I am trying to customize the message for maxlength rule. I want to show the current text length entered in the message something like this. 'Comments' must not exceed 660 characters. You entered 754 characters Is there a way to create the message to include the current length. Thanks

[jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
I am using v1.3.2 I replaced var aIndex = $(this).attr('href'); with var aIndex = +this.href.match( /\d+$/ )[0]; and it works now. Thanks for the help!

[jQuery] Unordered List question!

2009-11-17 Thread szuwei
If you have an unordered list with 10 elements. The list has an ID of “myList”. Using jQuery, how can you: 1. Change the fore color of all even list items to red 2. Indent the 5th item when the mouse hovers over it -- View this message in context: http://old.nabble.com/Unordered-Li

[jQuery] Re: Having trouble getting Superfish to work...

2009-11-17 Thread Wiz8ian
Thanks Charlie. All good now. :) On Nov 17, 10:14 pm, Charlie wrote: > download the example page, there's a full working example in zip download. > Follow the html structure in the example and try adding new elements based on > that markup > sfHover class gets added by script to li tags, you s

[jQuery] Functions

2009-11-17 Thread Denis Caggiano
Hi, Just to looking for a better way to use jQuery, here is my doubt. There is a page that uses $.post to call another page that build a report in html table format to put the generated code in a div. So far so good...but...in one of the columns of the report, has a link that executes a javascript

[jQuery] Simple XML Parsing Question

2009-11-17 Thread Joe
I have been banging my head against the wall and searching for answers for the past week, so any help or direction would be appreciated. I am sure that I am missing something obvious. I have some XML that looks like this: 181 Fi

[jQuery] Re: jQuery and Cycle plugin

2009-11-17 Thread j1042
Hey Mike, Thanks for the reply - that's similar to something I tried, however it has the same effect - the slideshow starts once the page is loaded regardless, and continues on hover. On mouseout it resets to the first image and continues - unless you mouseout during the transition in which case i

[jQuery] Re: Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-17 Thread MorningZ
First, understand *why* it doesn't work: - You add "miles" to the table cell, then Tablesorter treats it as a string value Now that this is understoodd, the solution is to use a custom parser to strip out the label, here is an example http://jsbin.com/unepe/edit On Nov 17, 11:17 am, Yvan wrote

[jQuery] Re: Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-17 Thread MorningZ
First, understand *why* it doesn't work: - You add "miles" to the table cell, then Tablesorter treats it as a string value Now that this is understand, the solution is to use a custom parser to strip out the label, here is an example http://jsbin.com/unepe/edit On Nov 17, 11:17 am, Yvan wro

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michael Geary
That is odd. jQuery's attr() method goes to some amount of work to try to get the raw content href attribute ('0') instead of the fully qualified URL. But it all boils down to a .getAttribute('href',2) call on the DOM element. An interesting test would be to replace this line: var aI

[jQuery] Re: jQuery and Cycle plugin

2009-11-17 Thread Mike Alsup
Try something like this: $(document).ready(function() { var $slideshow = $('#slideshow'); $slideshow.cycle({ fx: 'fade' }).cycle('pause'); $slideshow.hover(function() { $slideshow.cycle('resume'); }, function() {

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
2009/11/17 Michael Geary > No, the scope of the data parameter is not the problem. The data parameter > is already in scope inside your click handler. (Michel, check the code > carefully - don't you agree? The click handler is nested inside the getJSON > callback.) > Apparently. Indenting is suc

[jQuery] Validation and dropdowns

2009-11-17 Thread Atkinson, Sarah
I have several dropdowns in my form. They start on a "please select one" state. How do I make it so that if one of these is selected then it does not trigger validation but kicks back an error? Sarah

[jQuery] jQuery and Cycle plugin

2009-11-17 Thread j1042
Hey! Been enjoying the Cycle plugin ( http://www.malsup.com/jquery/cycle/ ) but I can't get it do do exactly what I want. This image slideshow plugin comes with built in variables to control its operation, for example: $(document).ready(function() { $(function () { $('.sl

[jQuery] Re: Selectors, Escaping special Character in JQuery 1.3.2 not working as expected.

2009-11-17 Thread phil
FYI: It was the validate/validation plugin that was breaking my example. When i commented out the include everything worked as expected. I needed to upgraded to the newer version of the validation plugin and everything is back to normal! Too many version dependencies, bah! It's too bad there is

[jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
Clicking on the first link (i.e. ): http://pomona.edu/dev/home/0 string [object Object] [object Object], [object Object], [object Object], [object Object], [object Object] 5 I think the problem is in my var aIndex = $(this).attr('href'); In IE 7 it is appending the full URL...any ideas how to ge

[jQuery] Re: JQuery - how to fade and loop background style

2009-11-17 Thread Dan
That works when I click the box. How would I make it work as a slideshow that requires no action and loops indefinitely? On Nov 17, 12:00 pm, "Richard D. Worth" wrote: > jQuery UI effects core adds color animation and class transitions: > > http://jqueryui.com/demos/animate/ > > http://docs.jquer

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michael Geary
No, the scope of the data parameter is not the problem. The data parameter is already in scope inside your click handler. (Michel, check the code carefully - don't you agree? The click handler is nested inside the getJSON callback.) If it were broken in IE8 as well as IE7, then I would guess that

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
Well, you can call the click method inside the getJSON callback, that's the most straightforward way to do it, and probably the cleanest. Michel Belleville 2009/11/17 roryreiff > So I guess that is the problem then? How would I work towards a > solution in making 'data' available to that .clic

[jQuery] Re: Script works in Firefox but not in IE.

2009-11-17 Thread hagbardceline
Seems like IE is stucked in one of the while loops, but I can't figure out why. Anyone got a hint? On Nov 17, 9:49 am, hagbardceline wrote: > Hi > > The following script works fine on FF but crashes IE (7 + 8). > > - >   "http:/

[jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
So I guess that is the problem then? How would I work towards a solution in making 'data' available to that .click() function? On Nov 17, 10:02 am, Michel Belleville wrote: > Oh, yeah, now I see. > > Of course data is probably not what you expect where you're reading it. Why > would it ? It's set

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
Oh, yeah, now I see. Of course data is probably not what you expect where you're reading it. Why would it ? It's set in a callback as a function's parameter, it's not meant to get out of the callback's scope, and even when it would, you don't know when the callback is triggered, that can be right

[jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
Could it have something to do with the 'data' variable not being available to the function that I have placed inside the $.getJSON call? Is there a way to force it to pass on/be available to my ppButton.click(...) function? This is all I can think of for now.

[jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
I am using Firebug, and everything works fine in FF, Safari, Opera, and even IE 8. Something about IE 7 though is throwing that error and I can't for the life of me track what it is. :( On Nov 17, 9:19 am, Michel Belleville wrote: > Well, when I've got an error saying something is null or not an

[jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
I am using Firebug, and everything works fine in FF, Safari, Opera, and even IE 8. Something about IE 7 though is throwing that error and I can't for the life of me track what it is. :( On Nov 17, 9:19 am, Michel Belleville wrote: > Well, when I've got an error saying something is null or not an

Re: [jQuery] IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
Well, when I've got an error saying something is null or not an object, and that very something is obtained from a query response, first thing I do is checking what was the response. Firebug may help if you're not using it already, and my shot in the dark here would be to think you've either receiv

[jQuery] Re: Selectors, Escaping special Character in JQuery 1.3.2 not working as expected.

2009-11-17 Thread phil
Yes thats true. I just tested the exact code I have on jsbin and it worked fine. http://jsbin.com/uhane source: http://jsbin.com/uhane/edit I wonder if there is a difference in the included JQuery library on jsbin and what jQuery currently has on their web site. I will try to replace my local co

[jQuery] IE 7 error with $.getJSON data elements

2009-11-17 Thread roryreiff
//This code is withing a larger function, but the error is coming into play when the 'ppButton' is clicked // It throws the following error in IE 7 (6 not yet tested): // // Error: 'data.items[...].background' is null or not an object // Code: 0 // var PP = $('.pomonaPeople'); $.getJSON("/dev/hom

Re: [jQuery] JQuery - how to fade and loop background style

2009-11-17 Thread Richard D. Worth
jQuery UI effects core adds color animation and class transitions: http://jqueryui.com/demos/animate/ http://docs.jquery.com/UI/Effects/animate You can download it here: http://jqueryui.com/download just check 'Effects Core' - Richard On Tue, Nov 17, 2009 at 11:43 AM, Dan wrote: > Hi All,

Re: [jQuery] JQuery/Java script Help required

2009-11-17 Thread ninadmhatre
hey thanks for the suggestion i will try this .. brian ally-3 wrote: > > You cannot have more than one element in a page with the same ID. The > entire point of an ID is to *uniquely identify* an element. > >> This page is dynamically generated by ( Template Toolkit ) so I can not >> hardcode

[jQuery] JQuery - how to fade and loop background style

2009-11-17 Thread Dan
Hi All, Is there a way to fade and loop a background-color of a div element? I would like it to change every 10 seconds or so, from green to orange to purple and then loop back to green and start again. With a fade effect. I have searched high and low for a plugin, or tutorial, to no avail. Than

Re: [jQuery] Filling an autocomplete field with JS

2009-11-17 Thread davi "presto" vidal
On Tue, Nov 17, 2009 at 11:08 AM, presto wrote: > > Hi all. > [...] > So, how can I send a "focus and 'un-focus'" "function" to the country > field? > [...] Doing more test, I found that the event that I want to simulate, is a tab after a focus and a double click. Both focus and double click

[jQuery] Re: Konami Code >:]

2009-11-17 Thread Greg Tarnoff
Love it, although I had to make some modifications to get it to work. Your function without the {} brackets didn't run, also add in the key '13' as this is the enter key (aka start). [code] $(function (){ var press = 0, keys = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65, 13]; $(document).keydown(

[jQuery] Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-17 Thread Yvan
I'm using the tableshorter plugin on a table which lists multiple locations, and that contains a "Distance" column which displays distances in the format of "17 Miles" and "5 miles", etc. I have the following javascript in my head section, which defines the sort order of the 1 column that I want t

[jQuery] Scrollable Image Gallery - Looks Like a Grid Instead of a Carousel??

2009-11-17 Thread Chubby Arse
Hi everyone, I'm struggling to find something and hoped someone here would be able to help. I'd like to implement a thumbnail gallery in the form of a 4x3 grid (the number of items is irrelevant though) on my web page. I would like to be able to page the grid, so that you could click on left and r

[jQuery] getjson request an unavailable page

2009-11-17 Thread Humpty Dumpty
Hi guys, I write a web page that retrieve the data from a JSON formatted file but when this fiel doesn't exist I can't see any error; how I can handle this situation thanks

[jQuery] Re: Strange behavior experienced when using the show and hide effects

2009-11-17 Thread The alMIGHTY N
I only posted to jQuery's Google Group. If you're receiving my post via e-mail that means you are somehow subscribed to receive e-mail digests of the posts here in which case you'll have to remove yourself. Sorry. On Nov 13, 11:59 am, Dharshini Nathan wrote: > Please unsubscribe me from your mai

[jQuery] Re: (validate) error in IE7

2009-11-17 Thread dmikester1
I couldn't figure out how to include stuff like css and images at that link. http://www.michaelandregina.com/chris/form.html Thanks Mike On Nov 17, 9:43 am, Jörn Zaefferer wrote: > Could you provide some code? A testpage? jsbin.com works great for that. > > Jörn > > On Tue, Nov 17, 2009 at 4:39

Re: [jQuery] newbie plugin question

2009-11-17 Thread brian
On Mon, Nov 16, 2009 at 7:06 PM, echobase wrote: > > I call the plugin like so: > >

Re: [jQuery] JQuery/Java script Help required

2009-11-17 Thread brian
On Tue, Nov 17, 2009 at 2:21 AM, ninadmhatre wrote: > > HI > I am very new to Java scripting. I am stuck at one html page which has 6 > blocks with same ID attribute and options in this blocks > are nothing but the links to different pages ( ALL LINKS ARE UNIQUE ) . You cannot have more than on

Re: [jQuery] (validate) error in IE7

2009-11-17 Thread Jörn Zaefferer
Could you provide some code? A testpage? jsbin.com works great for that. Jörn On Tue, Nov 17, 2009 at 4:39 PM, dmikester1 wrote: > Here is the screenshot of the bug or error in IE7. Can anyone help me > figure this one out? > http://www.michaelandregina.com/jqueryErrorInIE7.png > Thanks > Mike

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Jörn Zaefferer
It affects the message display, producing only a single error label for a given group. Jörn On Tue, Nov 17, 2009 at 4:35 PM, Atkinson, Sarah < sarah.atkin...@cookmedical.com> wrote: > > So what exactly does the group option do? > > > > On 11/17/09 10:30 AM, "Jörn Zaefferer" > wrote: > > You nee

[jQuery] (validate) error in IE7

2009-11-17 Thread dmikester1
Here is the screenshot of the bug or error in IE7. Can anyone help me figure this one out? http://www.michaelandregina.com/jqueryErrorInIE7.png Thanks Mike

[jQuery] I'm getting what looks like a bug in IE7

2009-11-17 Thread dmikester1
Here is the screenshot of the bug or error in IE7. Can anyone help me figure this one out? http://www.michaelandregina.com/jqueryErrorInIE7.png Thanks Mike

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
So what exactly does the group option do? On 11/17/09 10:30 AM, "Jörn Zaefferer" wrote: You need to specify the rules for each individual field, here firstname and lastName. The group name doesn't have any meaning outside the groups-option itself. Jörn On Tue, Nov 17, 2009 at 4:23 PM, Atki

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Jörn Zaefferer
You need to specify the rules for each individual field, here firstname and lastName. The group name doesn't have any meaning outside the groups-option itself. Jörn On Tue, Nov 17, 2009 at 4:23 PM, Atkinson, Sarah < sarah.atkin...@cookmedical.com> wrote: > I’m working with the validation plugin

[jQuery] Superfish IE6 Issue

2009-11-17 Thread sroyle82
I've finally been able to the get the Superfish plugin script to work on our new website in the nav-bar format www.georgeforeman.co.uk/beta but unfortunatley in IE6 its doesn't seem to work the way it should as the drop down menu list appears under each other until you rollover them and then they

[jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
I'm working with the validation plugin I have a first name and last name field and I want to have these grouped together with one message. This is what I have: But the message still isn't showing. groups: {fullName: "firstname lastName",

Re: [jQuery] Change all CSS background images url

2009-11-17 Thread Liam Byrne
Why are you using a root-relative URL ? If the entire site is in a folder, and then you move everything into another folder, everything will stay relative. Therefore, having the path as "img" (or whatever the relative path to that folder is) should work, no ? Liam nomen wrote: Hi all:

[jQuery] Re: confirm does not work

2009-11-17 Thread Adonis
Hi again, Nevermind that, it works afterall. My bandwidth and FF were the actual problem in picking up the modifications i was making to the code. Cheers, God bless jquery ;p On Nov 17, 12:52 pm, Adonis wrote: > Hi, > > My confirm pop up window does not pop up using the code bellow, > * > funct

[jQuery] Re: Integration between different domains.

2009-11-17 Thread Josip Lazic
Take a look at this link, esspecialy part where cURL is mentioned http://techrageo.us/2007/08/03/jquery-makes-ajax-easy-part-1/

[jQuery] Is It Possible For FullCalendar To Work With Multiple Google Calendars?

2009-11-17 Thread Eclectic Mix
I have been exploring the FullCalendar plugin (http://arshaw.com/ fullcalendar/), which works nicely. I have been able to display information from one of my Google calendars, but have not had success with multiple calendars. Does anyone know if this is possible? Thanks - george

Re: [jQuery] Re: XML Writing

2009-11-17 Thread mufti ali
Is the xml file can be saved as a file? or just change on the fly? On Tue, Nov 17, 2009 at 9:21 PM, g...@iec wrote: > Here is code : > > var xml = {xml content}; > > $(xml).find('{nodename}').text({changed value}); > > This code works fine. > And content should be proper xml and not string. > >

[jQuery] Re: XML Writing

2009-11-17 Thread g...@iec
Here is code : var xml = {xml content}; $(xml).find('{nodename}').text({changed value}); This code works fine. And content should be proper xml and not string. On Nov 16, 12:39 pm, Shane wrote: > Hey guys, > > Is it possible to use jQuery to write to XML nodes for example I have: > >      a >

[jQuery] Re: Newbie Superfish Issues

2009-11-17 Thread sroyle82
Any body know where I'm going wrong with Superfish or could it be something else causing the menu not to work on www.georgeforeman.co.uk/beta How is it possible i've got it working on one example and not the other very strange when its the same code Thanks Simon On Nov 16, 12:11 pm, sroyle82 wr

[jQuery] how to parse xml with namespace ?????

2009-11-17 Thread g...@iec
Hi all, I have came across an issue related to xml parsing. Here is code for parsing xml with namespace : var data = {xml content}; $(data).find('{namespace}\\:nodename').each(function() { { Code to perform something.} }); This code works fine in IE and FF and xml got parsed as expected. Bu

[jQuery] Re: BlockUi - blue ring?

2009-11-17 Thread Mike Alsup
If you don't want a wait cursor then just set the css cursor prop: $.blockUI({ css: { cursor: 'default' } }); Mike On Nov 17, 4:05 am, "Jonathan Vanherpe (T & T NV)" wrote: > I don't see a busy cursor in Ubuntu, but I do see it in Win 7 and win XP > (on pretty much any browser). The exampl

[jQuery] OK newb question... what is jQuery

2009-11-17 Thread MeltingDog
Before any one says so, yes I am jumping the gun posting here but I have been looking around and i cant find anything that answers the simple question: What is jQuery - my best guess is that its a library of javascript coding that developers download and sit in their site structure and link HTML c

[jQuery] Integration between different domains.

2009-11-17 Thread m.ugues
Hallo all. I got this problem My web site has this architetcture. The homepage defines a sidebar and a header menu: then is defined an iframe where is loaded the dynamic content. The homepage defines some utility functions that are called from the iframe with this style: parent.myFunction(); Thi

[jQuery] Integration between different domains.

2009-11-17 Thread m.ugues
Hallo all. I got this problem My web site has this architetcture. The homepage defines a sidebar and a header menu: then is defined an iframe where is loaded the dynamic content. The homepage defines some utility functions that are called from the iframe with this style: parent.myFunction(); Thi

Re: [jQuery] Re: XML Writing

2009-11-17 Thread mufti ali
Nice idea, if this can implemented On Tue, Nov 17, 2009 at 4:41 PM, Peter wrote: > > $(function(){ >        $('settings').find('type').text("b"); > }); > > > >     a > > > You mean that? > > where is your xml? > get by ajax? > inpage? > > On Nov 16, 3:39 pm, Shane wrote: >> Hey guys, >> >> I

[jQuery] Re: Problem adding values in select box ()

2009-11-17 Thread Dave Methvin
> but this line $('#state').add(option); is not adding value to the > select box "state" The .add() method only adds the option element to the jQuery object, it doesn't modify the document. You probably wanted this: $('#state').append(option);

[jQuery] Re: simeple drop down menu

2009-11-17 Thread runrunforest
YEah i works right on! Thank you, Michel, for helping me debug that stuff.

[jQuery] Re: Document Click triggered onSubmit

2009-11-17 Thread Dave Methvin
> I'm having a bit of trouble understanding why a click event attached > to the document is being triggered when submitting a form through the > enter key. When you press Enter, Firefox (looks like this wasn't tested in IE) triggers the click event on the default submit button. That bubbles up to

[jQuery] Re: newbie plugin question

2009-11-17 Thread Peter
$(document).ready() { should be $(document).ready(function(){ On Nov 17, 8:06 am, echobase wrote: > Hi- > > I'm just getting into jQuery plugins and I wanted to do a sort of > 'hello world' exercise with a barebones plugin template. My template > code is below but I can't get the console.log st

[jQuery] Re: XML Writing

2009-11-17 Thread Peter
$(function(){ $('settings').find('type').text("b"); }); a You mean that? where is your xml? get by ajax? inpage? On Nov 16, 3:39 pm, Shane wrote: > Hey guys, > > Is it possible to use jQuery to write to XML nodes for example I have: > >      a > > > I want to do something li

[jQuery] Autocomplete plugin not working with $.ajax?

2009-11-17 Thread Teddy Hong
here the code // if I type like below code, auto complete it's show.. $('#edit-submitted-order-no').autocomplete(["one","two","three"]); // but if I type like below code, auto complete not showing... why? anybody can help?... thanks $.ajax({ type: "POST", url: "test.php",

[jQuery] fadeOut("slow") not working

2009-11-17 Thread jitubaba10
In this code I want to disappear container div slowly but fade out is not working html> jdk $(document).ready(function(){ $("#close").click(function () { $(".container").fadeOut("normal"); }); }); U

[jQuery] Problem adding values in select box ()

2009-11-17 Thread arsenic
I am using this code: $(function(){ $('#country').change(function(){ $.getJSON('dropdown.php',{cmd:'states',country:$('#country').val ()},function(data){ $.each(data,function(index,val){ var option = new Option(val,va

[jQuery] Drag scroll

2009-11-17 Thread pookeyblow
Hi! I working on a portfolio site: http://bit.ly/297LCa and I want to add a google maps drag navigation to it. I found 2 plugins that can do this: dragscroll: http://plugins.jquery.com/project/dragscroll scrolldrag: http://plugins.jquery.com/project/scrolldrag but since I'm a total javascript

  1   2   >