[jQuery] (validate) Using metadata attr type with validate plugin

2009-11-10 Thread Iwan Vosloo
Hi there, We managed to get the validation plugin to work with metadata inside a class attribute, but we would like to move it to its own HTML5 data- xxx attribute. Our current efforts look like this: $.metadata.setType( attr, data ); $(#commentForm).validate({meta: data}); with the HTML:

[jQuery] Re: (validate) Using metadata attr type with validate plugin

2009-11-10 Thread Iwan Vosloo
On Nov 10, 11:29 am, Iwan Vosloo i...@reahl.org wrote: (The following does work:) input id=cname name=name maxlength=5 minlength=2 required=*           class={messages:{required:'Enter this!',minlength:'Too short!'}}/ Oops, that should have read: input id=cname name=name maxlength=5

[jQuery] Load image with an ajax preloader?

2009-11-10 Thread 123gotoandplay
How do i make this work? $(#color_update).change(function(){ var src = $(option:selected, this).val() ; var src2 = $(#quantity_update option:selected).text(); $('#imagePreview').html('pdiv id=ajaxLoader align=center img

Re: [jQuery] Load image with an ajax preloader?

2009-11-10 Thread Michel Belleville
http://docs.jquery.com/Ajax/loadApparently you're confusing .load()http://docs.jquery.com/Ajax/loadand .html() http://docs.jquery.com/Attributes/html. The first is used to make an AJAX call, bring back an html document, possibly hack a part, and fill a portion of your page with the content

[jQuery] build menu on a 'event' location ?

2009-11-10 Thread neandr
I would like to build a popup menu at/above the location of an img .. element. Using $(img).hover could start it, but I'm not sure if JQ has to ability to build a whole popup menu at that place the img .. is located. Any ideas/pointers?

[jQuery] JQuery validation plugin - error highlight problem

2009-11-10 Thread narasimhagm
I have a form with two input textboxes, and I have included JQuery validation rules for both: script src=../../Scripts/jquery-validate/jquery.validate.js type=text/javascript/script script type=text/javascript $(document).ready(function() {

[jQuery] Refreshing Problem

2009-11-10 Thread Dominik Kohlstruck
Does noone have a solution to this...? Hey guys, I'm working on a status-Updater. It works, there is just one problem, after sending a Status I have to manual reload the page to let the script work again. Do you can help me please? Here's the code: script language=javascript

[jQuery] superfish menu not working with plugins that use jquery

2009-11-10 Thread nivosh
Hello. I have installed a theme that uses superfish jquery dropdown menu. all worked well but when enabling the plugins: mailpress or wp-news- ticker, the superfish menu broke. I think it might be a relative small problem but I don't know anything about scripts. here is the site with the

[jQuery] Selection logic

2009-11-10 Thread Savageman
Hello, I'm using jQuery but am not really used to it (Mootools' user here...). I was trying to add a class to the first parent div of an element. Here is how I proceeded in the first place : - $(el).parent('div'); // Doesn't return anything: why? My second attempt was better (intermediate steps

[jQuery] Retrieving the URL used in a getJSON call in an error function?

2009-11-10 Thread paul s
Hi folks, Is it possible to retrieve the URL used in a getJSON call in a generic ajax error handler? I do the following: jQuery.ajaxSetup({ error: showAjaxError }); with the function being: function showAjaxError(XMLHttpRequest, textStatus, errorThrown) {} ...and all our calls use getJSON

[jQuery] (validate) Change Framework to Select from Classes attached to Table Elements

2009-11-10 Thread Oldschool
I have a special application that I am trying to get the jQuery Validation Plugin to work. All the elements on my page are encased inside of a table, and I don't have the ability to apply classes directly to the validated elements (input, etc). The classes must come on the table elements: table

[jQuery] $ is not a function

2009-11-10 Thread tvidal
Dear all, I'm trying to use Jquery with Website baker. In this CMS I added two modules (portfolio and magnify) that use jquery, and then it seems that they are in conflict. With firebug I have $ is not a function I already tried to add jQuery.noConflict(); in all the js loaded. But the same. I'm

Re: [jQuery] $ is not a function

2009-11-10 Thread waseem sabjee
try something like this var $myvar = jQuery.noConflict(); $myvar(function() { $myvar(body).animate({ opacity:0}, 500); }); On Tue, Nov 10, 2009 at 12:40 PM, tvidal vidal.tho...@gmail.com wrote: Dear all, I'm trying to use Jquery with Website baker. In this CMS I added two modules

Re: [jQuery] Refreshing Problem

2009-11-10 Thread Michel Belleville
You can : 1. wrap the submit callback in a method and give it to eat to the form each time you receive it again 2. put the form somewhere else so it's not changed by the ajax call when you reload and the submit stays attached 3. use .livequery()

Re: [jQuery] Selection logic

2009-11-10 Thread waseem sabjee
var parent_element = $(.child).parents('div'); On Tue, Nov 10, 2009 at 12:16 PM, Savageman savagema...@gmail.com wrote: Hello, I'm using jQuery but am not really used to it (Mootools' user here...). I was trying to add a class to the first parent div of an element. Here is how I proceeded

Re: [jQuery] build menu on a 'event' location ?

2009-11-10 Thread Michel Belleville
Yes it probably can, depending on what exactly you'd like to do with it. Could you be a little bit more specific please ? Michel Belleville 2009/11/10 neandr gnea...@googlemail.com I would like to build a popup menu at/above the location of an img .. element. Using $(img).hover could start

Re: [jQuery] build menu on a 'event' location ?

2009-11-10 Thread Michel Belleville
As for locating the element, you can use .offset()http://docs.jquery.com/CSS/offsetto get its coordinates in the document and .position() http://docs.jquery.com/CSS/position for its position relative to the offset parent (which can be accessed by

Re: [jQuery] Selection logic

2009-11-10 Thread Michel Belleville
- $(el).parent('div'); // didn't work because .parent()http://docs.jquery.com/Traversing/parent(only matches the direct parent, not any ancestors) is not the same as .parents() http://docs.jquery.com/Traversing/parents (matches all ancestors) - $(el).parents('div'); // returning all

Re: [jQuery] Retrieving the URL used in a getJSON call in an error function?

2009-11-10 Thread Michel Belleville
I didn't have to do that for now, but if I had to I'd use Firebug to inspect XMLHttpRequest in the dom view and see if there's an url, target, or location property or method that returns something looking like said url. Once you've installed Firebug (which is a great tool to debug JavaScript

RE: [jQuery] build menu on a 'event' location ?

2009-11-10 Thread Rick Faircloth
I wasn’t familiar with .offsetParent()…good stuff to know, Michel! Rick From: Michel Belleville [mailto:michel.bellevi...@gmail.com] Sent: Tuesday, November 10, 2009 7:46 AM To: jquery-en@googlegroups.com Subject: Re: [jQuery] build menu on a 'event' location ? As for locating the

[jQuery] Share link in ajax.

2009-11-10 Thread Rupak
Hi all, I have a Share(share this) link in a page . If I call this page using ajax then share link was missing. But if i run this page directly, It works perfectly. Can any body tell me why this happen. Thanks in advance

Re: [jQuery] Share link in ajax.

2009-11-10 Thread Michel Belleville
Without any code nor indication on how your Share link was added to your page that's a really tricky one, so here's my shot in the dark : Your Share link was added to your page using a script that was loaded through a script tag in the head of your document. When you're loading your page through

[jQuery] Re: $ is not a function

2009-11-10 Thread tvidal
Dear sabjee I tried : var $toto = jQuery.noConflict(); $toto(function() { $toto(body).animate({ opacity:0}, 500); }) And I have the same error and one more : $toto(function () {$toto (body).animate({opacity: 0}, 500);}) is not a function Do I need to put the function into the main fancy

Re: [jQuery] Re: $ is not a function

2009-11-10 Thread waseem sabjee
I have just cheked your error page and my script worked out as expected. within 0.5 seconds all the html fades out. this is on firefox 3.5 however i did note 2 errors which are as you stated I also noted you are using quite a lot of scripts on your page. and your scripts are not defined in your

[jQuery] AJAX requests in progress

2009-11-10 Thread alunharford
In prototype, I can find out how many AJAX requests have been made to the server but no response has yet been received by looking at: Ajax.activeRequestCount Is there a similar feature in jQuery? I realise I could make something myself by listening for the Ajax beforeSend and complete events,

[jQuery] SOAP Web Services

2009-11-10 Thread cdouglas
I am relatively new to jquery. I am looking to learn how to consume SOAP Java web services with Javascript, using jQuery. I may also need to consume JSON Java web services. Can anyone provide some good sample applications I can look at it to learn how to do this? I have read information about

[jQuery] Ajax Load, CSS Insert on Loading Gif and Fade Out

2009-11-10 Thread artesianwells
Hello, I would like to add css through jquery to make a loading gif appear. Say in the css stylesheet itself, #vv is set without a width, so I was hoping to put a width on the css loading gif background image in jquery to make it appear. If this is not possible to do in jquery, then a style:non

[jQuery] Re: $ is not a function

2009-11-10 Thread tvidal
SO MANY THANKS !!! I just remove noConflict in magnify script (original one) and everything works !! So many thanks again ! I don't know since how many hours/days I'm working on !! All the best Thomas On 10 nov, 14:31, waseem sabjee waseemsab...@gmail.com wrote: I have just cheked your error

[jQuery] Re: Selection logic

2009-11-10 Thread Savageman
@waseem sabjee: Don't know what to think of your answer... I already figured to use .parents() without you... :) @Michel Belleville: Wow, thank you for that wonderful answer! ;) About .get(0), Firebug keeps telling me: $(el).parents(div).get (0).addClass is not a function I still find strange

Re: [jQuery] Re: $ is not a function

2009-11-10 Thread waseem sabjee
Yeah - it takes many days of headaches to make the rest of the days a little easier :) On Tue, Nov 10, 2009 at 3:45 PM, tvidal vidal.tho...@gmail.com wrote: SO MANY THANKS !!! I just remove noConflict in magnify script (original one) and everything works !! So many thanks again ! I don't

Re: [jQuery] Selection logic

2009-11-10 Thread Karl Swedberg
On Nov 10, 2009, at 7:58 AM, Michel Belleville wrote: $(el).parents('div').get(0).addClass('myClass'); // should work, may be a testing error (just tested it, worked for me) Interesting that this one worked for you. I wouldn't expect it to, since the .get() method is supposed to return a DOM

[jQuery] Re: Retrieving the URL used in a getJSON call in an error function?

2009-11-10 Thread paul s
Cheers Michel, never thought of using Firebug to see what was available. I did try and decipher the W3Cs specifications but Firebug would be easier :) Paul. On Nov 10, 1:04 pm, Michel Belleville michel.bellevi...@gmail.com wrote: I didn't have to do that for now, but if I had to I'd use Firebug

Re: [jQuery] Re: Selection logic

2009-11-10 Thread Michel Belleville
2009/11/10 Savageman savagema...@gmail.com About .get(0), Firebug keeps telling me: $(el).parents(div).get (0).addClass is not a function Sorry, I tested with .eq(0) instead of .get(0) which returns the pure DOM element instead of a jQuery magic-array wrapping the element. I still find

Re: [jQuery] Selection logic

2009-11-10 Thread Michel Belleville
2009/11/10 Karl Swedberg k...@englishrules.com On Nov 10, 2009, at 7:58 AM, Michel Belleville wrote: - $(el).parents('div').get(0).addClass('myClass'); // should work, may be a testing error (just tested it, worked for me) Interesting that this one worked for you. I wouldn't expect

[jQuery] Re: Selection logic

2009-11-10 Thread Savageman
Maybe $($(el).parents('div').get(0)).addClass() ? :d (ahah, what ugly syntax :d) Anyway thanks, topic solved! ;) On 10 nov, 15:04, Michel Belleville michel.bellevi...@gmail.com wrote: 2009/11/10 Savageman savagema...@gmail.com About .get(0), Firebug keeps telling me: $(el).parents(div).get

[jQuery] Re: AJAX requests in progress

2009-11-10 Thread alunharford
I found the answer in the source. $.active tells you how many requests are pending (just like Ajax.activeRequestCount in prototype). Thanks all, Alun Harford

[jQuery] Re: Create PDF from js

2009-11-10 Thread m.ugues
Wow, marvellous project :) I'm trying to use I think that is the solution to my problem. Kind regards :) Massimo On 9 Nov, 21:11, Scott Sauyet scott.sau...@gmail.com wrote: On Nov 9, 12:30 pm, m.ugues m.ug...@gmail.com wrote: The problem using server side option is that I have a web site

[jQuery] Figured it Out

2009-11-10 Thread wesley.bunton
I think I figured it out in a weird way. So I had recently bought a new Dell Mini 10v Netbook and installed Ubuntu Netbook Remix on it to do coding/web work while I was traveling. I zipped the files on my netbook in linux and transfered them through a share I have to my windows 7 desktop. This

Re: [jQuery] Figured it Out

2009-11-10 Thread Michel Belleville
Glad you've got it working. Kudos for using Ubuntu on your netbook too b^^d Michel Belleville 2009/11/10 wesley.bunton wesley.bun...@gmail.com I think I figured it out in a weird way. So I had recently bought a new Dell Mini 10v Netbook and installed Ubuntu Netbook Remix on it to do

[jQuery] selector performance

2009-11-10 Thread Adam Tistler
I am using jquery 1.3.2. I was wondering which is faster and why: $('#my-id .main table tr.my-class') or $('#my-id .main table tr.my-class') or $('#my-id tr.my-class')

Re: [jQuery] selector performance

2009-11-10 Thread Michel Belleville
As to the why I don't know, but as to the which the solution is quite easy : do a benchmark. Michel Belleville 2009/11/10 Adam Tistler atist...@gmail.com I am using jquery 1.3.2. I was wondering which is faster and why: $('#my-id .main table tr.my-class') or $('#my-id .main table

Re: [jQuery] Ajax Load, CSS Insert on Loading Gif and Fade Out

2009-11-10 Thread Nathan Bubna
Why not just use something like this: http://plugins.jquery.com/project/loading On Tue, Nov 10, 2009 at 5:37 AM, artesianwells joshua...@gmail.com wrote: Hello, I would like to add css through jquery to make a loading gif appear. Say in the css stylesheet itself, #vv is set without a width,

[jQuery] JavaScript switched off

2009-11-10 Thread factoringcompare.com
Hi, What’s the best way to redirect when a users browser has JavaScript switched off? I currently use something like the below in the head but it isn’t W3C compliant. noscript Javascript is disabled Redirecting meta http-equiv=Refresh content=0;URL=disabled.html / /noscript

Re: [jQuery] selector performance

2009-11-10 Thread waseem sabjee
i would the best thing to do regardless of your selection method is to store them in variables. like this var obj = $(.wrap); Now you have basically created an object reference point. you won't need to re-create in 99% of cases. so lets re-use our object reference. // get the width of your

Re: [jQuery] JavaScript switched off

2009-11-10 Thread waseem sabjee
Well. you could use a server side language like : php or asp.net if you have an apache server you can do a redirect in your .htaccess if you have an IIS server you can accomplish the same in your IIS Manager On Tue, Nov 10, 2009 at 5:53 PM, factoringcompare.com firstfacto...@googlemail.com

[jQuery] better way to access JSON than with $.getJSON on each button press

2009-11-10 Thread roryreiff
Hi, I have created a function that binds behavior to a set of links, the result of clicking being that the container div of the navigations gets a new background image, and eventually gets html injected into the div as well (currently that part is not coded)... Given the following function, it

[jQuery] jQuery Media Plugin w/ custom skin?

2009-11-10 Thread amuhlou
Hello, I'm having issues implementing a custom skin using the media plugin. I'm not sure if it's a syntax problem, or if i don't have the directory set up correctly. The video plays, but the custom skin is not loaded. Here's my code to initialize the plugin $('.media').media({ width:

[jQuery] tablesorter help - sort by date wont work!

2009-11-10 Thread sethwb
Hi I'm using www.tablesorter.com's implementation of a sort table, however it does not seem to recognize my client's preferred date format (10 November 2009). Day Month Year - 10 November 2009 [CODE] $(document).ready(function() { $(#oldArticles).tablesorter( {sortList:

[jQuery] Re: tablesorter help - sort by date wont work!

2009-11-10 Thread MorningZ
it does not seem to recognize my client's preferred date format were you expecting it to? this will need a custom parser i can whip up an example, but it'll be a little bit before i could get to that On Nov 10, 11:14 am, sethwb josepatt...@gmail.com wrote: Hi I'm

Re: [jQuery] tablesorter help - sort by date wont work!

2009-11-10 Thread sethwb
thank you very much MorningZ... Any kind of example would be great! -- View this message in context: http://old.nabble.com/tablesorter-help---sort-by-date-wont-work%21-tp26286016s27240p26286785.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Form values disappearing

2009-11-10 Thread zendog74
I am using the JQuery Address plug-in to bookmark state changes in an application. The application allows a user to run a search of a document set. When the user requests a search that has not been run before, the search is performed and then the search form and search results are cached using

[jQuery] Re: tablesorter help - sort by date wont work!

2009-11-10 Thread MorningZ
here you go: http://jsbin.com/enata/edit Keep one major thought in mind with this awesome plugin: it's not very smart (it tries, but in the end, it can only account for so much)... it can sort numbers and strings... anything more complicated than that it needs direction :-) On Nov 10, 11:43 

[jQuery] sliding previous/next content

2009-11-10 Thread Marco Barbosa
Hi all! So what I'm trying to do is so simple but it's not working.. All I want to do is to slide up/down to the next/previous content. Here's the code: id=calendar a href=# class=arrowUpPrevious/a h3Calendar/h3 ul class=events current liContent1/li liContent2/li

Re: [jQuery] tablesorter help - sort by date wont work!

2009-11-10 Thread sethwb
I've been trying to get this parser I've customized to work, but I'm not sure about the syntax... would this be easier to help me with/is this on the right track? ts.addParser({ id: shortDate, is: function(s) { return

[jQuery] Re: JavaScript switched off

2009-11-10 Thread Scott Sauyet
On Nov 10, 10:53 am, factoringcompare.com firstfacto...@googlemail.com wrote: What’s the best way to redirect when a users browser has JavaScript switched off? How about going the other way? document.location.href=enabled.html; Better still when possible is to unobtrusively enhance the

Re: [jQuery] sliding previous/next content

2009-11-10 Thread Michel Belleville
First try the examples for .slideUp()http://docs.jquery.com/Effects/slideUpand .slideDown() http://docs.jquery.com/Effects/slideDown. You'll notice slideUp() is a way to make an element disappear as if it was sliding up, and slideDown() is a way to make an element appear as if it was sliding down,

Re: [jQuery] tablesorter + AJAX

2009-11-10 Thread aquaone
try: $('#mainContent').html(data).find('#ratesTable').tablesorter(); On Mon, Nov 9, 2009 at 20:38, sumdog sum.not...@gmail.com wrote: Hey there, I've read through several AJAX+tablesorter posts and am still a little confuzzled on this. I am loading an entire table into a div like so:

[jQuery] Re: tablesorter help - sort by date wont work!

2009-11-10 Thread MorningZ
Got an example of each date the value could be? On Nov 10, 12:01 pm, sethwb josepatt...@gmail.com wrote: I've been trying to get this parser I've customized to work, but I'm not sure about the syntax... would this be easier to help me with/is this on the right track? ts.addParser({        

Re: [jQuery] Re: JavaScript switched off

2009-11-10 Thread waseem sabjee
the op wanted to redirect without javascript On Tue, Nov 10, 2009 at 7:02 PM, Scott Sauyet scott.sau...@gmail.comwrote: On Nov 10, 10:53 am, factoringcompare.com firstfacto...@googlemail.com wrote: What’s the best way to redirect when a users browser has JavaScript switched off? How

Re: [jQuery] sliding previous/next content

2009-11-10 Thread Michel Belleville
Sorry for previous mail, I misclicked on send before finishing it. So : First try the examples for .slideUp()http://docs.jquery.com/Effects/slideUpand .slideDown() http://docs.jquery.com/Effects/slideDown. You'll notice slideUp() is a way to make an element disappear as if it was sliding up, and

Re: [jQuery] Re: JavaScript switched off

2009-11-10 Thread Charlie Griefer
Scott's solution, as he mentioned, goes the other way, but still does what the OP wanted. If the user doesn't have JS enabled, the location.href won't fire, and the current page will still render fine. If the user does have JS enabled, the location.href call will redirect them to the JS-enhanced

[jQuery] Re: Load image with an ajax preloader?

2009-11-10 Thread 123gotoandplay
Hi michel, Tx for the explanation, i am trying your suggestion and it indeed works like a charm. At the moment i am updating div imagePreview depending on a combo of select menu options. As i understand it the ajax-loader.gif keeps on spinning in the background. Is there a way to check if the

Re: [jQuery] Re: Sound

2009-11-10 Thread Cesar Sanz
It is really impressive!!! - Original Message - From: shapper mdmo...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Saturday, November 07, 2009 8:35 AM Subject: [jQuery] Re: Sound On Nov 5, 11:14 pm, Erik Beeson erik.bee...@gmail.com wrote: No jQuery necessarily

Re: [jQuery] Re: Load image with an ajax preloader?

2009-11-10 Thread Michel Belleville
This is straight JS, I never used it before and I'm not sure how cross-browser it is but this should help : http://talideon.com/weblog/2005/02/detecting-broken-images-js.cfm Michel Belleville 2009/11/10 123gotoandplay wesweatyous...@gmail.com Hi michel, Tx for the explanation, i am trying

[jQuery] Submit Function Code Help

2009-11-10 Thread Dave Maharaj :: WidePixels.com
I have the same code one multiple pages and would like to clean that up. It is for submitting a form via Ajax. The only thing different in the form would be the form id , where its going and the validation rules. But all of that is taken care of thru standard naming convections thru-out the site.

[jQuery] CSS3 content attribute for page

2009-11-10 Thread m.ugues
Hallo all. I'm using CSS3 for pagination in print mode @page { @bottom-center { content: Page counter(page) of counter (pages); } } This works fine but I would like to extract the text content from the css and put it in a div in the html page: something like this: div id=footer

[jQuery] Re: better way to access JSON than with $.getJSON on each button press

2009-11-10 Thread Scott Sauyet
On Nov 10, 11:11 am, roryreiff roryre...@gmail.com wrote: Given the following function, it seems like there would be a better way to handle accessing the JSON file each time a link is pressed than doing a $.getJSON each time. Is there a prescribed way for storing that JSON after the first call

[jQuery] Re: better way to access JSON than with $.getJSON on each button press

2009-11-10 Thread Scott Sauyet
On Nov 10, 1:08 pm, Scott Sauyet scott.sau...@gmail.com wrote: There would be something to be said for making this a little more generic so that you would generate a similar function for each JSON url you want to use.  That's left as an exercise for the reader. Or for me! :-) This simply

[jQuery] Can FullCalendar Handle Multiple Google Calendars?

2009-11-10 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

[jQuery] Re: Benefit of extending jQuery with a function vs. a JavaScript function?

2009-11-10 Thread kalahari_kudu
I agree with the other respondents... rather create your own namespace and encapsulate your functions there. e.g. var myApp = { }; myApp.myTestFunction = function (param1) { alert(param1); } myApp.myTestFunction('my function!'); Actually, don't listen to me :) look at a few of

[jQuery] Re: CSS3 content attribute for page

2009-11-10 Thread Scott Sauyet
On Nov 10, 1:00 pm, m.ugues m.ug...@gmail.com wrote: I'm using CSS3 for pagination in print mode [ ... ] The before works fine but I cannot position the div id=footer the the top-center of the page. This doesn't seem to have anything to do with jQuery. Are you looking for a jQuery solution

[jQuery] Re: sliding previous/next content

2009-11-10 Thread Marco Barbosa
Hi Michel! Thanks for the reply! Not sure if there are plugins to simply slide up/down. I already tried with positioning instead of display:none , but using slideUp and slideDown. It almost worked but I couldn't figure it out what was missing. The last ul wouldn't show up. I'll give a try

Re: [jQuery] tablesorter help - sort by date wont work!

2009-11-10 Thread sethwb
thank you!!! For some reason now i cant get the click function to work on the headers - any ideas? MorningZ wrote: here you go: http://jsbin.com/enata/edit Keep one major thought in mind with this awesome plugin: it's not very smart (it tries, but in the end, it can only account

[jQuery] Error '$this' is undefined

2009-11-10 Thread Daybreak0
Hi all, I have the following html, of which I want to replace the text Cart with My Shopping Bag (The Veiw Cart text is near the end) Code: div class=cart-summaryspan id=catCartSummary quote=False vertical=Falsetable cellspacing=0 class=cartSummaryTabletrtd class=cartSummaryItem1 item(s), Total:

[jQuery] Validate not working in IE, but working in Firefox.

2009-11-10 Thread paulyoung1701
Hello there, I know this has come up before, but I've checked it through and I think I must be going blind as I can't see why it's not currently doing any validation. Firefox works fine, but IE doesn't do any validation and just goes straight to the form processor. The code I'm using is: script

[jQuery] Why does 'attr' work with 'divs' and not 'p's'?

2009-11-10 Thread dorich
Using the following code jquery var originalTitle=$(a.basic).attr(title); $(div.area1).text(originalTitle); html pThis is where the original title should go/p div class=area1/div I get the expected title attribute written into the 'div'. However, if I swap the 'div' for

[jQuery] Re: clueTip display inconsistently

2009-11-10 Thread Simone
Hey Wendy/Karl... can you share your findings?? I am having the same problem just using the default style. I am using the basic function with default style! and the results I get are a tip box with dark, 60% transparent background... very confused and have spent a couple of days on this...!! any

[jQuery] How to send Object Graphs to the server via AJAX?

2009-11-10 Thread cimodev
Hello i'm using jqGrid with the type clientSide and plan to send editted data back to the server. With a $.ajax-Request i receive an object with sub-objects as JSON from the server and can directly work with them in javascript, e.g. add the sub-objects to the grid, and display other properties

[jQuery] Jquery Lavalamp - prevent the hovering effect on a specific class/item

2009-11-10 Thread Falz
Hi guys, As the subject indicates, is it possible to prevent the lavalamp effert from moving to a specific li within the ul list? .. for instance if the li has a class li class=skip, once the user hovers over that li the hovering image remains on the currently selected item Any indications or

[jQuery] Re: Superfish

2009-11-10 Thread dimsum
I also experienced this. If the active class is on the third level the .sf-breadcrumb wont show up. But if the active class is on the second level it's okay. Only happens in Safari so far. Any ideas? On Oct 21, 11:33 am, Ron timd...@gmail.com wrote: I have setupsuperfishon my wp powered site,

[jQuery] jquery and json triggers no event.

2009-11-10 Thread s.soch
Hi, I'm attempting to build a list of items that are to be clickable to delete. - I am able to visually build the list and it is added to a div I want. My a.delete click event is never triggered when I click on a json built hyperlink. If I manually add the html like a class='delete'test/a then

[jQuery] Show Loading

2009-11-10 Thread Dave Maharaj :: WidePixels.com
Is there a way that when your loading content to display the loading div for a minimum amount of time? I am requesting Ajax grab some content for me and while its doing so I show the loading spinner but in some cases it just flashes for a millisecond and gone. Can it be set to show for a minimum

[jQuery] trying to get jQuery plugin to work with onclick IE6/7

2009-11-10 Thread Matthew
Okay, So my code works in FF, IE8 and Safari (I've only tested in the latest versions of all). But in IE6 and IE7 I get an error saying Object doesnt support this property or method. a onclick=javascript: $(this).curvesLeadForm({gymSource:'Curves Anaheim Hills, CA',address1Source:'6507 E.

[jQuery] Re: clueTip display inconsistently

2009-11-10 Thread Simone
Hello everyone... figured out what was wrong... I am using sharepoint and was trying to add the stylesheet to a content editor webpart as a link... it was not working... and funy thing is that some sort of style was being loaded... anyhow... thanks for the wonderful tool :) Cheers, Simone On Nov

Re: [jQuery] Error '$this' is undefined

2009-11-10 Thread Marcel Araujo
just do it Code: $('.cartSummaryLink').val( $*(*this*)*.val().replace('Cart','My Shopping Bag') ); 2009/11/10 Daybreak0 daybre...@gmail.com Hi all, I have the following html, of which I want to replace the text Cart with My Shopping Bag (The Veiw Cart text is near the end) Code: div

Re: [jQuery] Why does 'attr' work with 'divs' and not 'p's'?

2009-11-10 Thread D A
jquery var originalTitle=$(a.basic).attr(title);                        $(p.area1).text(originalTitle); html pThis is where the original title should go/p div class=area1/div Your selector is looking for a paragraph with a class of 'area1'. However, there is no paragraph with that class in

[jQuery] Re: trying to get jQuery plugin to work with onclick IE6/7

2009-11-10 Thread Scott Sauyet
On Nov 10, 2:22 pm, Matthew mvbo...@gmail.com wrote:    So my code works in FF, IE8 and Safari (I've only tested in the latest versions of all). But in IE6 and IE7 I get an error saying Object doesnt support this property or method. I know the site is not visible, but can you make a small test

Re: [jQuery] tablesorter help - sort by date wont work!

2009-11-10 Thread sethwb
Hey, I got the click to work - syntax error, however, it still doesn't seem to want to sort correctly on the Months Where in the script does it actually do the sorting? It actually doesn't seem to be sorting in any apparent order, kind of random like. Is this the right return format: mmdd?

[jQuery] Re: Error '$this' is undefined

2009-11-10 Thread Daybreak0
Thank you Code: $('.cartSummaryLink').val( $*(*this*)*.val().replace('Cart','My Shopping Bag') ); Unfortunately the above does not work New error in IE and FF is Message: Syntax error Char: 35

Re: [jQuery] tablesorter + AJAX

2009-11-10 Thread sumdog
Nevermind. My original approach worked. I had just forgotten to use th tags instead of td tags in the thead section of the table in my AJAX call. Silly mistake. aquaone wrote: try: $('#mainContent').html(data).find('#ratesTable').tablesorter(); On Mon, Nov 9, 2009 at 20:38, sumdog

[jQuery] fadeOut problem

2009-11-10 Thread Jakub Suder
Hi, I've found a minor issue with the fadeOut animation - I'm not sure if this can be fixed easily, or even if it is a bug at all... this appears in a case which I suppose is quite rare, when the element's height is 0, but the element is visible on the screen anyway. When fadeOut is called on

[jQuery] Re: trying to get jQuery plugin to work with onclick IE6/7

2009-11-10 Thread Matthew
Scott, thanks for your time, I have been banging my head on the desk for a while. I edited the code down and used JS Bin: http://jsbin.com/ehoxu The original jQuery plugin uses ajax to bring in a form from a php page and does some other things, but my watered down version on JS Bin seems to

Re: [jQuery] Show Loading

2009-11-10 Thread Nathan Bubna
I was working on adding this feature to the loading plugin a few weeks ago. I finished it today: http://jquery-values.googlecode.com/svn/other/loading/jquery.loading.js On Tue, Nov 10, 2009 at 11:17 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: Is there a way that when your

[jQuery] Re: Show Loading

2009-11-10 Thread Matthew
Nathan's plugin looks like the way to go, but before I saw his plugin I would always just show some loading div or paragraph before the ajax call, then hide it in your 'success:' function in the ajax call. $('#loader).fadeIn(500); do your ajax thing success: function(){

Re: [jQuery] Error '$this' is undefined

2009-11-10 Thread Joe Moore
$this should be $(this). Hth, Joe On Nov 10, 2009 2:12 PM, Daybreak0 daybre...@gmail.com wrote: Hi all, I have the following html, of which I want to replace the text Cart with My Shopping Bag (The Veiw Cart text is near the end) Code: div class=cart-summaryspan id=catCartSummary quote=False

[jQuery] Validate Plugin - addMethod with Custom Messages?

2009-11-10 Thread itsallgood
Hi guys, I've been trying to work this out for about 7 hours - no exaggeration. I just cannot seem to work it out :-( I have used the sample code from custom-methods-demo.html $.validator.addMethod(buga, function(value) { return value == buga; }, 'Please enter

[jQuery] JQuery/PHP/MySQL Best Practice Sample Application?

2009-11-10 Thread dvanatta
Can someone point me to a JQuery/PHP/MySQL application which has source code available which I can use to learn? Thanks.

[jQuery] Problem with drop down menu

2009-11-10 Thread Atkinson, Sarah
I'm just picking up javascript and Jquery. I'm trying to do a drop down menu. I've downloaded several and tried to use their code but they all seem to have issues with my menu. What is going on? My current problem is that when a person rollsover just the li that it then opens all of the

[jQuery] Re: Ajax Load, CSS Insert on Loading Gif and Fade Out

2009-11-10 Thread artesianwells
Thankyou Nathan, I am sure this plugin and the filement group loading plugin are great, but I wanted a really lightweight solution that uses the css. If anyone knows how to set it up properly the chaining the etc (if possible using .empty()). Please post. I am sure there are others who would like

[jQuery] events propagation once again

2009-11-10 Thread norbi
Hello everybody It is my first post here I guess. I must say - I love jQuery, thank you ! A few days ago I faced a problem that I cannot overcome and hope you can help me. In the group archive I saw similar problem, but solved in the way I have it solved, which is not sufficient for me right now.

  1   2   >