[jQuery] Re: Picasa & getJSON not working properly

2009-02-19 Thread Derek Perkins
I figured out my problem. I found the Google API reference page (http://code.google.com/apis/picasaweb/reference.html) and realized that they won't serve up any images larger than 800px. I changed my code from pic.media$group.media$content[0].url to pic.media$group.media$content[0].url + "?

[jQuery] Re: .css('line-height', 'auto') doesnt work

2009-02-19 Thread Anjanesh
Oh...Thanks Is there a way to get the normal line-height value ? I have set the line-height to normal but I dont want it normal if the normal value is less than the current value. On Feb 20, 12:04 pm, Klaus Hartl wrote: > There is no "auto" value for line-height. That's "normal". > > http://www.

[jQuery] Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-02-19 Thread Derek Perkins
I'm trying to center my slides in the slide container, but I'm having issues. I have 'a' links as my slides, each containing a single image. What I want is for the link and the img to be the same size, based on the width of the image, and then centered inside of the slide container. I've includ

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread mkmanning
You could also do this: $('h2').after('').each(function(){ var _this = $(this); _this.nextAll(':not(div.someclass)').each(function(){ var _that = $(this); if(!_that.is('h2')){_that.appendTo(_this.next());}else{return false;} }); }); I wrote

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-19 Thread Nicolas R
Your welcome, glad you find it useful. To not display a new column, the onItemSelect callback must return false. So in that callback you check if the selected item was a pdf, and if yes, return false. If you dont return false, Finder will fetch the link via ajax, and display the contents in a ne

[jQuery] Re: Cycle Plugin Doesn't Acc

2009-02-19 Thread Derek Perkins
That works great. Thanks! On Feb 19, 4:39 pm, Mike Alsup wrote: > > I'm trying to load the Cycle plugin with a JSON feed from Picasa. > > Everything is pulling in from Picasa just fine.  I can copy the exact > > HTML that it generates and paste it into my code and reload, and it > > works fine,

[jQuery] Re: .css('line-height', 'auto') doesnt work

2009-02-19 Thread Klaus Hartl
There is no "auto" value for line-height. That's "normal". http://www.w3.org/TR/CSS21/visudet.html#propdef-line-height --Klaus On 20 Feb., 07:33, Anjanesh wrote: > $('.div > p').css('line-height', '25px'); works but $('.div > p').css > ('line-height', 'auto'); doesnt. > Is there anyway to se

[jQuery] Re: Using jQuery to Parse XML in AIR

2009-02-19 Thread s.ross
Thanks for the reply. Here are a few results from the callback function: data => [object Document] data.find('category') => TypeError: Value undefined does not allow function calls. $(data).find('category') => [object Object] $(data).find('category').length => 0 $(data).text() => [text of whole

[jQuery] .css('line-height', 'auto') doesnt work

2009-02-19 Thread Anjanesh
$('.div > p').css('line-height', '25px'); works but $('.div > p').css ('line-height', 'auto'); doesnt. Is there anyway to set to auto ?

[jQuery] Re: Using jQuery to Parse XML in AIR

2009-02-19 Thread mkmanning
I suspect it's the dance you're having to do. Quickly testing in a browser, If you use xmlObjectTree = $(data) then you can iterate through the animal tags. Doing the dance in a browser yields an unrecognized expression syntax exception. How did you come to use $($(data).text()); and what happen

[jQuery] testing

2009-02-19 Thread bruce
sorry for the test guys!!

[jQuery] Re: Superfish - sfHover question

2009-02-19 Thread Steve Piercy
On Feb 18, 3:53 pm, GileS wrote: > We have superfish working well with image replacement for the top > level menu items.  We use different images for each item based on > normal, active, hover.   The active states and normal states are > working properly. The only problem is with ie6 since it see

[jQuery] Re: Striping Sometimes Doesn't Work

2009-02-19 Thread MauiMan2
Okay, I'm not a total jQuery newbie but, yeah, I've gotta get this $ and jQuery stuff straight. Part of the problem is the stuff that was already there with the WordPress template I'm using. From what I do know about it I'm not sure that they should've put the noConflict thing at the end of the jQ

[jQuery] Re: Counting Lists inside of Lists

2009-02-19 Thread Tim
This worked. Thank you! On Feb 19, 5:27 pm, James wrote: > Try: > $('li', this).length; > > On Feb 19, 3:14 pm, Tim wrote: > > > So I have a main list of states in an unordered list and then a > > unordered list of cities within each of those. So I wanted to count > > the number of cities per s

[jQuery] Using jQuery to Parse XML in AIR

2009-02-19 Thread s.ross
I'm trying to get Adobe(TM)(R) AIR to work with jQuery kinda friendly- like. I'm sending off an xml-rpc request as follows: this.packageRequest = function(method, secure, params, callback) { var msg = new XMLRPCMessage(metho

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-19 Thread ricardobeat
dang. accidentally pressed "send" while writing, please ignore my last message. No idea about the performance drop, but you can improve your main function. $(this)[0] is unnecessary, you're creating a new jQuery object and throwing it away. // MAIN function getMenuItems(menu) { var menuItems =

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-19 Thread ricardobeat
No idea about the performance drop, but you can improve your main function: // MAIN function getMenuItems(menu) { var menuItems = []; $(menu).find('.MenuItem').each(function(){ var t = $(this), item = false; if (t.hasClass('processMenuItem')) item = getProcessMenuItem (this);

[jQuery] Re: iterate through form elements, wait for post to finish and continue

2009-02-19 Thread ricardobeat
You could use a recursive function: var intervals = $('.interval'), n = 0; var setDates = function(){ intervals.eq(n).doStuff(); //intervals.eq(n) is the current element in the loop n++; $.post(..., function(){ //... if (intervals[n]) setDates(); //re-run the function with t

[jQuery] Re: Counting Lists inside of Lists

2009-02-19 Thread ricardobeat
$(this+ '> li') 'this' is an HTML Element (each LI) and you're trying to concatenate it with a string. That should be $(this).find('li').length or $('li', this).length Note that the list items are not direct children of "this" (the parent LI), so don't use the '>'. cheers, - ricardo On Feb 19,

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread ricardobeat
Yeah, the browser will try to fix the mark-up you insert. You can't just treat HTML as text unless you are actually building a string for inserting via html/append. cheers, - ricardo On Feb 19, 10:16 pm, Charlie Griefer wrote: > Ricardo - thanks for clarifying on the insertion. > So... when i t

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-19 Thread John Resig
Do you have some sample markup? It's kind of hard to determine from just the code. --John On Thu, Feb 19, 2009 at 2:18 PM, Sjoland wrote: > > Hi!, > > When switching between 1.3.1 and 1.2.6 i get a serious drop in speed > when collection a JSON object from static HTML content. > > 1.2.6 > FF:

[jQuery] Re: Finding values (text,numbers, regexps) in objects (arrays or key/value pairs)

2009-02-19 Thread RobG
On Feb 20, 2:44 am, Nicolas R wrote: > I know that this is not the place to post my question but here it is. > If someone knows a better place please do inform. The best place to ask questions related to javascript is comp.lang.javascript. Since you are using Google Groups and comp.lang.javas

[jQuery] Re: Form Plugin Issue in IE (resolved, sort of)

2009-02-19 Thread James
Yeah, these are nasty alright. I had a hell of a time on someone's code where the input submit button's name was 'submit'. On Feb 19, 1:43 pm, Mike Alsup wrote: > > After spending literally hours tracking down the problem, I found it. > > One of the form's input name and id is set to 'length' in

[jQuery] Re: can jQuery support drawing items on a CANVAS? (e.g. web-based UML tool)

2009-02-19 Thread mkmanning
Short answer: yes & no. I wrote something similar to mochaui in mootools (check it out, it will give you a good idea of what you're in for). You can create canvas tags using jQuery (e.g. var ctx = ($ ('').attr({'width':'500','height':'300'}).css ({'position':'absolute','top':'0','left':'0'}).prepe

[jQuery] Re: Striping Sometimes Doesn't Work

2009-02-19 Thread James
It's defined in the CSS. It's only the $ and jQuery issue. The code: jQuery('OL.codeSample LI:even').addClass("even"); works fine. On Feb 19, 4:00 pm, Dave Methvin wrote: > Did you define the .even class? I don't see it in Firebug.

[jQuery] Re: Checkbox checked attribute no set when trigger using click()

2009-02-19 Thread Dave Methvin
> However, in the click handler when I get the event.target.checked is > ALWAYS false for the above call.  All is as expected when the handler > is called based on a real UI click. The click event is a little strange. When a "real" click happens you see the effect of the click in the handler, suc

[jQuery] Re: [validate] submitHandler prevents cancel value from being included in POST

2009-02-19 Thread posh beck
On Fri, Feb 20 , 2009 at 2:45 AM, Ted < tberger...@gmail.com> wrote: > > I have a simple form with submit and cancel buttons. Standalone > everything works great. With the basic validator added, it also works > great, cancel is recognized and validation is sk

[jQuery] Re: Striping Sometimes Doesn't Work

2009-02-19 Thread Dave Methvin
Did you define the .even class? I don't see it in Firebug.

[jQuery] Client Side Date Validations Using Query

2009-02-19 Thread FreezeOut
What I'm trying to do seems like it should be really simple but roadblocks keep coming up so any help would be appreciated. Basically what I want to do is a check to ensure the date the user entered is less then the current date. Below is some mock code of how it should work. $.validator.addMe

[jQuery] Re: Validation with example plugin

2009-02-19 Thread marc0047
Bump. I'm having the same issue as well. Anyone one with any good hints or links? On Jan 27, 5:22 am, iDan wrote: > Hi, > > I'm using the validation plugin which is really cool but I'm also > using it along side theexampleplugin (http://mucur.name/system/ > jquery_example/). > > My form validat

[jQuery] JQUERY Client Side Date Validation

2009-02-19 Thread FreezeOut
All I would like to do is write a simple validation routine to ensure the date entered by the user is less then the current date. Below is some puesdo code of what would be nice if it worked. But it doesn't . . . . $.validator.addMethod("ValidDate", function(value, element) { var cu

[jQuery] Re: Striping Sometimes Doesn't Work

2009-02-19 Thread James
I found the noConflict() call at the very end of this file: http://developer.cmzmedia.com/wp-includes/js/jquery/jquery.js?ver=1.2.6 On Feb 19, 3:46 pm, MorningZ wrote: > > The site where it's not working is here: > > >http://developer.cmzmedia.com/?p=115 > > > Any ideas? > > Pulling up Firebug's

[jQuery] Re: can jQuery support drawing items on a CANVAS? (e.g. web-based UML tool)

2009-02-19 Thread seasoup
flash is the defacto method, but javascript can increasingly do anything flash can do. John Resig ported the processing language to javascript, though it isn't jQuery. http://ejohn.org/blog/processingjs/ On Feb 19, 5:11 pm, greghauptmann wrote: > On Feb 20, 11:05 am, mumbojumbo wrote: > > >

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-19 Thread mkmanning
You could modify the subject variable being put into the array to make it an object: subject = {} then add the option's value and text to it: subject.value = $('#Subject option:selected').val(); subject.text = $('#Subject option:selected').text(); or in one line to replace what's there now: subj

[jQuery] Re: Striping Sometimes Doesn't Work

2009-02-19 Thread MorningZ
> The site where it's not working is here: > > http://developer.cmzmedia.com/?p=115 > > Any ideas? Pulling up Firebug's console and typing jQuery('OL.codeSample LI:even').addClass("even") stripped the middle box just fine Not sure why you are mixing "jQuery" and "$", but if you look in the con

[jQuery] Re: Striping Sometimes Doesn't Work

2009-02-19 Thread Charlie Griefer
On Thu, Feb 19, 2009 at 5:29 PM, MauiMan2 wrote: > > The following code snippet: > > $('OL.codeSample LI:even').addClass('even'); > > is working on one of my sites to zebra striping to list items but is > not working on another one even though both have jQuery 1.2.6 in > place. The site where it'

[jQuery] Striping Sometimes Doesn't Work

2009-02-19 Thread MauiMan2
The following code snippet: $('OL.codeSample LI:even').addClass('even'); is working on one of my sites to zebra striping to list items but is not working on another one even though both have jQuery 1.2.6 in place. The site where it's not working is here: http://developer.cmzmedia.com/?p=115 An

[jQuery] Re: Counting Lists inside of Lists

2009-02-19 Thread James
Try: $('li', this).length; On Feb 19, 3:14 pm, Tim wrote: > So I have a main list of states in an unordered list and then a > unordered list of cities within each of those. So I wanted to count > the number of cities per state. > > >         Alabama >         >             http://www.google.

[jQuery] Re: Checkbox checked attribute no set when trigger using click()

2009-02-19 Thread James
Instead of using click() which will fire the event, try setting the checkbox attribute directly: $(checkbox).attr('checked', 'checked'); On Feb 19, 1:37 pm, Chuck wrote: > Hi, > > I'm rewriting some old code to use jQuery now, and I can figure out > why this isn't working and would love some hel

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread Charlie Griefer
Ricardo - thanks for clarifying on the insertion. So... when i tried to do $(element).after(''); ... was it automagically closing the element? I added $(element).after('bar'); and saw the text "bar" appear... so even tho it was invalid HTML, it still inserted something. Just curious about what wa

[jQuery] Counting Lists inside of Lists

2009-02-19 Thread Tim
So I have a main list of states in an unordered list and then a unordered list of cities within each of those. So I wanted to count the number of cities per state. Alabama http://www.google.com";>Alabama State http://www.google.com";>Alabama State

[jQuery] Re: can jQuery support drawing items on a CANVAS? (e.g. web-based UML tool)

2009-02-19 Thread greghauptmann
On Feb 20, 11:05 am, mumbojumbo wrote: > Well, > > IE doesn't support Canvas for IE support you'd have to use iecanvas.js > or something similar. Oh, overall what is the best/easiest approach to support multiple browsers including IE then? Would it be in fact to avoid javascript and go to flash

[jQuery] Re: can jQuery support drawing items on a CANVAS? (e.g. web-based UML tool)

2009-02-19 Thread mumbojumbo
Well, IE doesn't support Canvas for IE support you'd have to use iecanvas.js or something similar. On Feb 19, 6:38 pm, greghauptmann wrote: > Hi, > > Question 1 - Can jQuery support drawing items on a CANVAS?  I have a > project where I would like to have a web-based means of displaying a > sim

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread Ricardo Tomasi
You can't insert invalid HTML into the DOM. Use the nextUntil plugin by John Resig (I'm starting to think this belongs in the core): $.fn.nextUntil = function(expr) { var match = []; this.each(function(){ for( var i = this.nextSibling; i; i = i.nextSibling ) { if ( i.node

[jQuery] Re: Anchor HREF update and delayed navigation

2009-02-19 Thread xavier.bouho...@gmail.com
Maybe something like that: $('a').one('click',function() { var tag= $(this), link = tag.attr('href'), json={href:'http:// jquery.com'} ; setTimeout( function( /*link, tag, json*/ ) { /*tag .attr('href',json.href) .click( func

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-19 Thread shapper
Hi Michaell, Sorry for the delay but when I started using JQuery 1.3 I solved this problem but I got a few others on my application. Anyway, there is just something else that I am not able to solve. When I add a theme I need to: 1. For the Select (Subject), add the selected value to hidden inp

[jQuery] Re: the jquery form plugin and the accents !

2009-02-19 Thread Dave Methvin
It sounds like the problem may be related to this bug report: http://dev.jquery.com/ticket/3611

[jQuery] Re: [validate] submitHandler prevents cancel value from being included in POST

2009-02-19 Thread Jörn Zaefferer
To fix this, you have to bind a click-handler to the submit-button and manually add it's name-value-pair to the ajaxSubmit, as data or by creating a hidden input. I'm looking into covering this inside the validation plugin, so you don't have to worry about it, but it's not trivial to cover all th

[jQuery] can jQuery support drawing items on a CANVAS? (e.g. web-based UML tool)

2009-02-19 Thread greghauptmann
Hi, Question 1 - Can jQuery support drawing items on a CANVAS? I have a project where I would like to have a web-based means of displaying a simple topology diagram (image a simple UML diagram if you like). The ability to display it + ability to have right hand mean to trigger a call to a "add_

[jQuery] Checkbox checked attribute no set when trigger using click()

2009-02-19 Thread Chuck
Hi, I'm rewriting some old code to use jQuery now, and I can figure out why this isn't working and would love some help. I used to create a checkbox DOM element and assign a function object to the onlick handler: var theElement = document.createElement( 'input' ); theElement.t

[jQuery] Re: Form Plugin Issue in IE (resolved, sort of)

2009-02-19 Thread Mike Alsup
> After spending literally hours tracking down the problem, I found it. > One of the form's input name and id is set to 'length' in the HTML. > Once I changed it to something different, it worked fine. > > Has anybody seen this issue before? Ooh, that's nasty. You must have had fun with that one

[jQuery] Re: Cycle Plugin Doesn't Acc

2009-02-19 Thread Mike Alsup
> I'm trying to load the Cycle plugin with a JSON feed from Picasa. > Everything is pulling in from Picasa just fine.  I can copy the exact > HTML that it generates and paste it into my code and reload, and it > works fine, but not when it is dynamically added via Javascript. > > http://derekperki

[jQuery] Re: iterate through form elements, wait for post to finish and continue

2009-02-19 Thread Mark Steudel
Actually sorry the values should be: 2009-01-04 2009-01-07 2009-01-10

[jQuery] iterate through form elements, wait for post to finish and continue

2009-02-19 Thread Mark Steudel
I have the following inputs The idea is that I have a php script that calculates the date by building upon the values that are passed into it. So in the (a|b|c)_preview span the expected values would be something like: 2009-01-04 2009-01-05 2009-01-06 I then tried to

[jQuery] Re: Help with Multiple File uploading

2009-02-19 Thread Simon
The receiving script actually reads: I have checked for spelling errors ;-) 2009/2/19 Simon > Hello, > > I am desperately trying to implement the Multiple File Upload Plugin > into a script. However, I seem to be having no end of problems simply > getting it to pass the files through. > > I h

[jQuery] Help with Multiple File uploading

2009-02-19 Thread Simon
Hello, I am desperately trying to implement the Multiple File Upload Plugin into a script. However, I seem to be having no end of problems simply getting it to pass the files through. I have set up a simple two-page script. The front-end is simply a form with the jQuery plugin, and the receiving

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-02-19 Thread TiGeRWooD
Hi Nicolas, Is there a way, when it's a file link (like a pdf for example), to open the file and not display the new column ? Actually, if I put a link to a pdf in href attribute, the finder create a new column and display many special caracters Thanks for your reply and plugin !! p.s: sor

[jQuery] Form Plugin Issue in IE (resolved, sort of)

2009-02-19 Thread jonstjohn
I'm new to the discussion board, and I posted a message about 20 minutes ago. I haven't seen it come up yet on the board, so I'm not sure if I mis-submitted or there is a delay. Apologies in advance if that one comes up, too. I've worked with the Form Plugin quite a bit and really like it. A c

[jQuery] Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-19 Thread Sjoland
Hi!, When switching between 1.3.1 and 1.2.6 i get a serious drop in speed when collection a JSON object from static HTML content. 1.2.6 FF: 325ms Safari: 75ms IE7: 450ms 1.3.1 FF: 1205ms Safari: 415ms IE7: 1550 ms The javascript collects data into a JSON object with a few methods like this: /

[jQuery] [validate] submitHandler prevents cancel value from being included in POST

2009-02-19 Thread Ted
I have a simple form with submit and cancel buttons. Standalone everything works great. With the basic validator added, it also works great, cancel is recognized and validation is skipped. When the submitHandler is added validation works, but all the data EXCEPT for the cancel (_cancel=Cancel)

[jQuery] Error in IE 7 with Form Plugin

2009-02-19 Thread jonstjohn
I've worked quite a bit with the Form Plugin. A couple times I have had somewhat strange problems with it not submitting any data in the ajax request. It came up again today and I've isolated the issue. - It only occurs in IE 7. - The problem seems to happen in the Form Plugin's formToArray()

[jQuery] Synchronous jQuery.getScript call failing randomly in Firefox 3

2009-02-19 Thread Nick
I seem to have run into a rather odd issue someone might have encountered. Any suggestions would be appreciated. I created a script used to load jQuery plugins. The meat and potatoes are as follows: $.ajaxSetup({async: false}); for(var i in list){ var plugin = path + "jquery." + list[i] + ".js

[jQuery] Superfish Joomla drop down issue

2009-02-19 Thread cheriana
I successfully installed Superfish on Joomla and edited the CSS to replace the top tier menu links with images, however now the drop downs appear with not only the correct textured background (applied to the ul) but also the top tier image repeated on top. Anyone know how I can fix this? http://pr

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread Charlie Griefer
No answer yet. I've tried playing around with using:$('h2').after(''); $('h2:not(:first)').before(''); but that doesn't seem to be working (and is also problematic because it leaves an open after the last h2). it seems that the after() and before() methods each want to insert a full element (op

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread cchun...@gmail.com
Ok i have tried $('.tabs h2').next().wrapAll(''); but it does not want to wrap all the paragraphs/tables/html in the one div. Any ideas? Thanks for the help! On Feb 19, 12:21 pm, Charlie Griefer wrote: > actually i should clarify... not "change", but wrap the elements following > h2 elements

[jQuery] how to search/replace text nodes?

2009-02-19 Thread David
I want to iterate over all text content in my document in order to replace certain text with other. It isn't safe for me to just work with the $().html() if the entire document because I might accidentally match and replace some of the non-textual content, eg values of attributes. I've been unab

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread cchun...@gmail.com
this is working pretty good but i noticed one problem. It only surrounds the first html attribute. My content would be more like this... some dummy text Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam malesuada suscipit pede. Nullam ipsum lacus, varius vel, nonumm

[jQuery] Re: [tooltip] Is there a way to make tooltip recognize modified title attributes?

2009-02-19 Thread Jörn Zaefferer
You could try to use the bodyHandler-callback-option. Put the updated title into a custom attribute, and return that value in the bodyHandler. Jörn On Thu, Feb 19, 2009 at 6:00 PM, little brittle wrote: > > I am trying to change the tooltip message based on user interaction, > but it doesn't lo

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread cchun...@gmail.com
OMG! thank you s much! you are the best! On Feb 19, 12:21 pm, Charlie Griefer wrote: > actually i should clarify... not "change", but wrap the elements following > h2 elements with the specified HTML. > > On Thu, Feb 19, 2009 at 10:00 AM, Charlie Griefer > > > > > > wrote: > > On Thu, F

[jQuery] Re: A question for John Resig

2009-02-19 Thread tres
Thanks for clearing that up John. -Trey On Feb 19, 10:07 am, John Resig wrote: > > Why implement jQuery.isFunction when you can also just go typeof > > variable == 'function'? > > You can see some of the cases that we handle that normal typeof can't, > here:http://dev.jquery.com/browser/trun

[jQuery] Cycle Plugin Doesn't Acc

2009-02-19 Thread Derek Perkins
I'm trying to load the Cycle plugin with a JSON feed from Picasa. Everything is pulling in from Picasa just fine. I can copy the exact HTML that it generates and paste it into my code and reload, and it works fine, but not when it is dynamically added via Javascript. http://derekperkins.com/seat

[jQuery] Re: How to debug when upgrading Jquery...

2009-02-19 Thread rolfsf
I'm just starting the same process, and so far the most common error I've been hitting has been the discontinued attribute selector syntax [...@name=foo], which is an easy one to fix- just get rid of the @. Most of those errors were in my own scripts, not the plugins. In a couple cases that error

[jQuery] Re: Access remote page using jQuery.ajax

2009-02-19 Thread James
It's a cross-domain request issue. You cannot do it. A work-around to request something from another domain is using something called JSONP. Read this jQuery page to get started: http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback On Feb 19, 6:05 am, Chris Trygstad wrote: > According to

[jQuery] Re: Validation problem with versions 1.3 and 1.3.1

2009-02-19 Thread James
Validation has a submitHandler option that you can define to callback when the form is valid. You should put your window.open in there. And then change the 'target' of your form to point to the name of that opened window. That way when the form does not validate, the window will not open. On Feb

[jQuery] Re: How do I enable a submit button only after all fields are valid?

2009-02-19 Thread D.Kreft
Another brute force approach I've tried follows: var checkForm = function() { if ( validator.checkForm() ) { // disable button } else { // enable button } return true; }; $('#myForm').keyup(che

[jQuery] Re: How to debug when upgrading Jquery...

2009-02-19 Thread James
Latest versions of Suckerfish and BlockUI both works for me on jQuery 1.3.1. Not sure about the Form Plugin. On Feb 19, 10:30 am, webdev_help wrote: > Another Note: > > FORM PLUGIN - AjaxForm(); no longer works and I have downloaded the > latest version. > SUCKERFISH PLUGIN - doesnt work and I h

[jQuery] Re: How to debug when upgrading Jquery...

2009-02-19 Thread webdev_help
Another Note: FORM PLUGIN - AjaxForm(); no longer works and I have downloaded the latest version. SUCKERFISH PLUGIN - doesnt work and I have the latest as well. BLOCKUI - doesnt work with latest version On Feb 19, 2:57 pm, webdev_help wrote: > I have a number of plugins that aren't working

[jQuery] Re: autocomplete and json

2009-02-19 Thread zendog74
FYI, I got this to work. Here is the code that I ended up with. Perhaps it will help others who run across the same problem: jQuery("#pocEmail").autocomplete("../screen/PersonLookup", { width: 275, minChars: 1, cacheLength: 25, selectFirst: false,

[jQuery] Re: How to debug when upgrading Jquery...

2009-02-19 Thread MorningZ
"BLOCKUI - doesnt work with latest version " Perhaps for you... works perfectly fine for me (version 1.3.1 of jQuery) On Feb 19, 3:30 pm, webdev_help wrote: > Another Note: > > FORM PLUGIN - AjaxForm(); no longer works and I have downloaded the > latest version. > SUCKERFISH PLUGIN - doesnt w

[jQuery] Re: Validation problem with versions 1.3 and 1.3.1

2009-02-19 Thread James
Validation has a submitHandler option that you can define to callback when the form is valid. You should put your window.open in there. And then change the 'target' of your form to point to the name of that opened window. That way when the form does not validate, the window will not open. On Feb

[jQuery] Time select/text boxes like Google Calendar

2009-02-19 Thread zendog74
Does anyone know how to mimic the Google Calendar time select/text input using jQuery? I have autocomplete working on a different field in my form and thought that it may work for hour and minute selection on a text input, but I cannot get the values to show up unless the user clears the field en

[jQuery] How to debug when upgrading Jquery...

2009-02-19 Thread webdev_help
I have a number of plugins that aren't working when I upgraded the site from 1.2.3 to 1.3+. I am assuming this is based partially on the plugin although updated them to the latest as well...How can I begin to troubleshoot these changes? I am thinking it could be something with the selectors - core

[jQuery] Re: Validation problem with versions 1.3 and 1.3.1

2009-02-19 Thread winstonc
When it validates successfully it opens a small window and displays "Saved" if the SAVE button is selected. I also open the small window and make it larger to preview the page. The actual form never goes to a next page, it's used to update, preview and email a newsletter. It works correctly with t

[jQuery] [validate] How do I enable a submit button only after all fields are valid?

2009-02-19 Thread D.Kreft
I'm terribly sorry to post this question yet again, as it seems to come up quite frequently, but the answers I've seen have all been unsatisfactory to suit my use case. The solution usually involves the recommendation to do something like this: $(...).validate({ ..., submitHan

[jQuery] Re: Can’t set CSS using variable

2009-02-19 Thread Frederik Ring
I just tried your approach and everything worked just the way it should. Can you post the rest of your code? How do you handle the event that changes the CSS? On Feb 19, 6:41 pm, davis wrote: > I am trying to dynamically set css with variables I retrieve from what > a user types into a textfield

[jQuery] Re: Bad Syntax? $('body').append(''); breaks script

2009-02-19 Thread Frederik Ring
Well, since your jQuery seems to be ok, the problem should be the variable you're trying to read. Can you access it with a simple console.log('multipliedweight') or will this also return 'undefined'? On Feb 19, 8:10 pm, Zaliek wrote: > A test page is located http://www.procycle.us/ > test.html">

[jQuery] Bad Syntax? $('body').append(''); breaks script

2009-02-19 Thread Zaliek
A test page is located http://www.procycle.us/ test.html">here. I'm attempting to insert an extra hidden input field with the extra weight whenever an item in our shopping cart page has a quantity of 2 or more. Problem is this specific part of the code: $('body').append(''); causes an externall

[jQuery] Strange problem in firefox (I think)

2009-02-19 Thread fatslags2...@gmail.com
Hi, I am doing so performance testing with javascript and jquery and came across a strange issue. The following code works fine in IE 7, I can refresh multiple times. When I load the page the first time in firefox 3.0.6 everything is fine, but when I do a refresh firefox locks for about 2 minutes

[jQuery] Re: Validation problem with versions 1.3 and 1.3.1

2009-02-19 Thread James
I think you should remove that onsubmit attribute on the form. What is that suppose to be used for? When you submit a form, and it validates successfully, it'll open a new window and display the next page on there? On Feb 19, 8:54 am, winstonc wrote: > Thanks James that fixed it. > > Next probl

[jQuery] Re: Validation problem with versions 1.3 and 1.3.1

2009-02-19 Thread winstonc
Thanks James that fixed it. Next problem that the latest version of the plugin executes the onsubmit when the validation fails. When the validation fails I get an empty window with: Version 1.4 of the validation plugin works correctly. Thanks, Winston On Feb 19, 1:20 pm, James wrote: > Mak

[jQuery] Can’t set CSS using variable

2009-02-19 Thread davis
I am trying to dynamically set css with variables I retrieve from what a user types into a textfield. This is the line of code: $(get_elem_hierarchy()).css($(this).data('theCss').theProp, $ (this).data('theCss').theVal); Everything works fine. Both the css property and the css value trace to th

[jQuery] Cannot Modify Dynamic Content

2009-02-19 Thread imaged
Basically, I'm trying to create a Form using jQuery. The user selects what kind of field to add and it adds the fields needed, dynamically giving each new field a new name/class by changing each field attribute from _q1 to _q2, etc. Here is the basics of my script: var q = 0; function nameup(r

[jQuery] Re: Adding methods to Plugins

2009-02-19 Thread djl
What I meant by the last question can probably be better explained by looking at this plugin code: http://www.gimiti.com/kltan/demo/jTree/jquery.jtree.1.0.js Take line 55 for example; $(container).find("li").bind("mouseover", getInitial); and then lines 134-140; var getInitial = function(e

[jQuery] Re: How to surround All content after a specified HTML attribute H2?

2009-02-19 Thread Charlie Griefer
actually i should clarify... not "change", but wrap the elements following h2 elements with the specified HTML. On Thu, Feb 19, 2009 at 10:00 AM, Charlie Griefer wrote: > On Thu, Feb 19, 2009 at 9:27 AM, cchun...@gmail.com wrote: > >> >> I am trying to look through content in a div and if i find

[jQuery] Re: Validation problem with versions 1.3 and 1.3.1

2009-02-19 Thread James
Make sure you have the latest version of the validation plug-in also (1.5.1 as of this time). On Feb 19, 6:22 am, winstonc wrote: > Hi, > > Trying to upgrade from Version 1.2.6 to  1.3/1.3.1, but my validation > stopped working. > > Here's my working code: > >   >   script> >