[jQuery] how can I treat a string as JSON?

2009-09-08 Thread Alex Weber
I use $.getJSON for all my ajax stuff and it works beautifully but there is one particular situation where I use an iframe hack to do an ajax file upload and even though the returned value is a json object (created with PHP), jQuery treats it like a string. I'm using json2.js right now and it

[jQuery] get values from a select menu then assign them to an array variable

2009-09-08 Thread runrunforest
Hi, I have a menu like this: select size=8 class=cat2 option value=com1vaio/option option value=com2thinkpad/option option value=mob1nokia/option option value=mob2samsung/option /select Can I get all the values com1, com2, mob1 and mob2 then assign them

[jQuery] Re: how can I treat a string as JSON?

2009-09-08 Thread Shawn
instead of using $.getJSON(), maybe use $.ajax() directly? Something like this: $.ajax({ url: 'some/url.php', data: 'id=' + $(#id).val(), type: 'post', dataType: 'json', success: function (results) { console.log(results); } }); The magic here is the dataType option. It tells

[jQuery] Re: Autocomplete plugin - Hide completion list on Enter

2009-09-08 Thread janid1967
Found solution myself. I'm using onkeypress=return checkEnter(this,event); on the autocompletion input field. The checkEnter function is taken from http://jennifermadden.com/javascript/stringEnterKeyDetector.html Inside checkEnter, I'm running this code to hide any autocompletion div's:

[jQuery] Re: Shift+End doesn't works in input field - .filterToolbar()

2009-09-08 Thread Massimiliano Marini
Hi Tony, The problem is fixed in 3.5.3 release, which is published yesterday. Please upgrade to this release. Done, now works like a charm, great work! :) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ It's easier to invent the future than to predict it. -- Alan Kay

[jQuery] put the value of an xml file in an array

2009-09-08 Thread Benn
my goal is to put a bunch of SKUs contained in an xml file into an array, but the value is not being set so that it can be used later in the jQuery.get. I have html like this: select id=select option val=foobar selected=selectedFoo Bar/option option val=barBar/option option val=fooFoo/option

[jQuery] Re: How can I get current Index?

2009-09-08 Thread Ricardo
See the eq() and index() methods: http://docs.jquery.com/Selectors/eq#index http://docs.jquery.com/Core/index#subject $('#xxx tr').each(function(){ var items = $(this).children(), title = items.eq(1).text(); items.each(function(){ $(this).find('a').attr('href', title + '_' +

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
:) you're right about the first thing, my mistake! ok, lets only focus on the second (I've modified it a little bit!!) $.ajax({ type: GET, url: 'myxml.xml', dataType: 'xml', success: function(xml){ alert( $(body, xml).html() ) ; //

[jQuery] get image size?

2009-09-08 Thread heohni
I haveing an issue with this: $(#ver_bildname).change(function () { var width = $(this).width(); alert(width); }); returns always 272? Whatever picture I try, the answer is alsway 272. $(this).val(); returns me the correct name, var ext =

[jQuery] Re: get values from a select menu then assign them to an array variable

2009-09-08 Thread Benn
var laArray = new Array(); $(document).ready(function(){ $(.cat2 option).each(function(i){ laArray[i] = $(this).val(); }) alert(laArray) }) On Sep 7, 11:20 pm, runrunforest craigco...@gmail.com wrote: Hi, I have a menu like this:     select size=8

[jQuery] Re: how can I treat a string as JSON?

2009-09-08 Thread Michael Geary
Why do you not want to use eval()? That's what jQuery 1.3.2 does in $.getJSON and $.ajax: // Get the JavaScript object, if JSON is used. if ( type == json ) data = window[eval](( + data + )); Or better, you can use this code from jQuery 1.3.3:

[jQuery] Re: get values from a select menu then assign them to an array variable

2009-09-08 Thread runrunforest
Owsome Benn. But i don't understand why i is used there ?

[jQuery] Re: remove() and empy() not work for xml

2009-09-08 Thread g...@iec
thanks for your suggestion On Sep 8, 7:37 am, RobG robg...@gmail.com wrote: On Sep 7, 3:42 pm, g...@iec abhi.pur...@gmail.com wrote: Hi.can anybody  help me out to come out of this You many need to use getElementsByTagNameNS('*',tagName). To remove nodes try:  

[jQuery] Re: Use the validation outside the form.

2009-09-08 Thread Jozef A. Habdank
Well - I am combining the ASP and JQuery. In ASP usually the whole page is inside a form, and you can not have nested forms. On other hand - why would you like to allow it only in the form? Since you can do the 'post' action on AJAX there is absolutely no need to have the form tag (you do not

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca lca...@gmail.com wrote: :) you're right about the first thing, my mistake! ok, lets only focus on the second (I've modified it a little bit!!)   $.ajax({      

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca lca...@gmail.com wrote: :) you're right about the first thing, my mistake! ok, lets only focus on the second (I've modified it a little bit!!)   $.ajax({      

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca lca...@gmail.com wrote: :) you're right about the first thing, my mistake! ok, lets only focus on the second (I've modified it a little bit!!)   $.ajax({      

[jQuery] Re: improve/extend the selectors

2009-09-08 Thread jeanluca
I've created a page demonstrating my problem/question (hope it helps!) http://www.ajaxify.org/jquery/ On Sep 8, 9:49 am, jeanluca lca...@gmail.com wrote: :) you're right about the first thing, my mistake! ok, lets only focus on the second (I've modified it a little bit!!)   $.ajax({      

[jQuery] Re: Anything wrong with this ajax syntax?

2009-09-08 Thread Nick Fitzsimons
2009/9/8 Rick Faircloth r...@whitestonemedia.com: Is there something missing that would keep it from functioning? No, but there's something _extra_ that will keep it from functioning ;-) $.ajax = ({ cache: false, That equals sign means that you are assigning a new value to $.ajax

[jQuery] Iframe - adding and removing hidden form elements

2009-09-08 Thread Benster
Hi, I have a page that opens up an iframe for the user to be able to select photos. Each photo has a checkbox, and on select I add a hidden form element to the parent frame form. This all seems to work fine, but im now stuck on how to remove the form element when the checkbox is un-checked.

[jQuery] Can't get attributes from ajax response...

2009-09-08 Thread DesignFellow
Hi , I'm making a ajax call using $.ajax my code is $.ajax({ type: POST, url: sample.php, dataType:html, data: name=+$('#name').val(), success: function(msg){ $('#result').append(msg); } }); And the response is a href=# id=1123 class=user-linkUser1/a When i try to get

[jQuery] Problem with fade-effects and IE8

2009-09-08 Thread Boolace
Hi, I've a problem with the fadeIn() and fadeOut()-commands of jQuery using Internet Explorer 8. Firefox, Opera, Safari and IE up to version 7 works fine. I'm not getting an error or something from the console, the effect is simply not executed. The elemtent is staying fixed and doesn't hide and

[jQuery] Validate: Focus on first invalid field after validation

2009-09-08 Thread Geoffrey
I've been building up my validation using the jquery validation plugin but I can't work out how to get a failed validation to default the focus to the first invalid input rather than to the last selected input. If there is no input field selected, when I submit then a failed validation will

[jQuery] [autocomplete] problem when using inside a popup

2009-09-08 Thread Kevin
Hello, When I use jquery.autocomplete.js on a field that lives inside a jquery modal popup, the autocomplete list doesn't stick to the textbox when scrolling with the scrollwheel of the mouse. Anyone knows if this is a bug, or a configuration issue? best regards! Kevin

[jQuery] [treeview] + sortable?

2009-09-08 Thread switch
Hi there, I was wondering if anyone has any knowledge of combining the bassistance treeview plugin with jquery ui's sortable plugin? I need to know this especially within the context of being able to drag and drop from a nested ul (or node) to it's parent. If this is not really a feasible

[jQuery] Auto Slide show with 3 images (a couple of problems) -- Need Some Assistance

2009-09-08 Thread Joe Kinslow
Hi Folks: I have jquery code on my index.html found here: http://joeyworldfamous.com/ I need to modify the code to include the following: 1. only show the slide show once (remove the repeat). 2. auto direct to another page after the slide show completes once. 3. understand how to delay my

[jQuery] fadeOut() not working

2009-09-08 Thread Littlened
I've created a script to fade out 2 DIV's and then fade in 2 new DIV's. The script works perfectly in IE, but Chrome and Firefox won't do the fadeout. I know there isn't a problem with my code, because if I replace the fadeout with hide, then the elements are hidden by the browser and everything

[jQuery] Re: Ajax not working in Firefox

2009-09-08 Thread Karl Hungus
Yes - me. Exactly the same problem as you. FF3.x not liking an Ajax form post. It works if I change the POST to a GET, but that is a bit pants to be honest. I suspect its a FF3 issue, but don't know what. Did you get to the bottom of it ? Rgds, KH. On 4 Sep, 17:20, RPrager

[jQuery] Moving, sliding and fading text...

2009-09-08 Thread Barton
Hello, I'm a newbie to jQuery and wanted to know if the following could be replicated using jQuery instead of Flash? www.cocoonurbanspa.gr - click your language, and you will then see the element I would like to recreate Thanks again, Barton.

[jQuery] [Autocomplete] Detect when autocomplete list is visible

2009-09-08 Thread CharlesW
Hello, I'm detecting Enter/Return keyup requests, what's a good way to ignore them when the autocomplete list is visible? I tried using $('.ac_results').css('display'), but that doesn't work reliably (it's always none in the keyup handler). Any ideas appreciated! -- Charles

[jQuery] Re: jquery validate and datepicker.

2009-09-08 Thread Williamk
Oh, I put the demo page for the remember the milk with the datepicker on a site, so you can see what I am talking about. No porn or viagra or Nigerian cons or anything else dubious. If you are interested: http://avianflew.com/milk/ On Sep 7, 9:48 pm, Williamk bkopl...@gmail.com wrote: For some

[jQuery] Fade-in problem in IE7(urgent)

2009-09-08 Thread Rupak
Hi all Please help me out. I am using fadeIn in a transparent(background) div. I works fine in FF but transparency will disappear in IE. first test in FF and then in IE, and see the difference. http://jsbin.com/icatu css js code style type=text/css media=screen .div1 {

[jQuery] Re: AJAX-queries in Internet Explorer

2009-09-08 Thread nubcake
I switched the $.post to $.get and it worked much much better! On 7 Sep, 15:31, nubcake unniw...@gmail.com wrote: Heya! The In IE I need to wait 5-6 seconds means that in IE I need to wait 5-6 seconds after I have made my first selection in the drop-down menu, if I change too quick it

[jQuery] Re: Ajax not working in Firefox

2009-09-08 Thread Nick Fitzsimons
2009/9/4 RPrager ryan.pra...@gmail.com: Here is the only difference I found in the Request Headers: FF2: Content-Type    application/x-www-form-urlencoded FF3: Content-Type    application/x-www-form-urlencoded; charset=UTF-8 Any ideas? One definite possibility is that the server-side

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread Nick Fitzsimons
2009/9/8 Rupak rupakn...@gmail.com: http://jsbin.com/icatu It doesn't help that your HTML is wrong: div class=div1div You aren't closing the div: you need div class=div1/div Don't know if this will fix your original problem, but it can't hurt to try :-) Regards, Nick. -- Nick Fitzsimons

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread rupak mandal
hi nick, Thanks for quick reply. That's not the problem. Here is the full code. html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

[jQuery] WP-Cumulus

2009-09-08 Thread ykb
Is it possible to create an animated tag cloud like WP-Cumulus using javascript? Does anyone know of any plug-in that can emulate WP-Cumulus? [ See: http://www.bloggerbuster.com/2008/08/blogumus-flash-animated-label-cloud-for.html and http://wordpress.org/extend/plugins/wp-cumulus/ ] Thanks.

[jQuery] HI all

2009-09-08 Thread mota
I need something similar to what has been done here (http:// www.ted.com/ ) using JS or Jquery. It would be great if u could share your thoughts and experiences with me. Any pointers to solve this issue will be highly appreciated :) Thanks in advance Sunil

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread Nick Fitzsimons
2009/9/8 rupak mandal rupakn...@gmail.com: hi nick, Thanks for quick reply. That's not the problem. Here is the full code. It looks like jQuery's fadeIn is setting the opacity to the empty string (on IE only) at the end of the animation. You could try using fadeTo instead

[jQuery] Re: get image size?

2009-09-08 Thread MorningZ
Whatever picture I try, the answer is alsway 272 You realize of course that your selector is always choosing the same DOM object and are you calling .change on an img tag? I don't think that's a supported event handler on that kind of tag Maybe if you show the actual HTML it will be clearer

[jQuery] How to subscribe to only discussions you've created or posted to

2009-09-08 Thread W. Young
This is similar to how forums work. I can't seem to find a way to do this so it's probably not available. Just thought I'd ask anyway. Thanks

[jQuery] Re: Anything wrong with this ajax syntax?

2009-09-08 Thread Rick Faircloth
Thanks, Shawn Nick for the replies. Making those changes got it working. Can't believe I didn't catch the = in the $.ajax line...to used to starting with values = for my ajax routines. This one doesn't have values to be passed along. Thanks, again! Rick -Original Message- From:

[jQuery] .bind problem in IE

2009-09-08 Thread Joshlo
Hi. I have 2 functions, and when you click on a div, the first one is called. it modifies an area, and the gives the div another click handler. it works perfect in FF or Chrome, but in IE, it automaticly clicks the div again, and runs the other function. my script: function

[jQuery] Re: Newbie: Cannot get .text() to work with IE7

2009-09-08 Thread Knight, Doug
Hi all, I've posted this issue a few times now, and received no response aside from a comment on a typo I had already caught. Is there anything else I need to provide so that someone might take an interest in this issue? I would post a web site where I have the scripts, but where I work I don't

[jQuery] Re: How to subscribe to only discussions you've created or posted to

2009-09-08 Thread MorningZ
On any post there is a link in the top right of the main content text aptly named Options clicking that gives you the option Email updates to me, that's the feature you are looking for... and there is no automatic way to have that happen, it's a Google Groups thing On Sep 8, 9:24 am, W. Young

[jQuery] Re: Proper way to detect webkit-based browsers?

2009-09-08 Thread D A
You can still use jQuery.browser.safari.  That property is true when the userAgent string contains webkit. Is that a no-no? It's listed as deprecated, so would prefer to avoid it, but perhaps that's still the only valid way until we have more features to detect? -Darrel

[jQuery] Page items shifting during load

2009-09-08 Thread Dan B.
Hi All, I'm assuming everyone here has noticed that when using various jQuery widgets that after the the page shifts as the animation initialization code executes. Usually this is imperfection is perceived when $ (document).ready fires and the handler that kicks off some widget fires. IE. you

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread Charlie
the fade functions use animate() I believe. Try animate function and animate your opacity rupak mandal wrote: Initially div display property is set to none. FadeIn will handle display property but fadeTo will not. Any other suggestion Thanks Rupak On Tue, Sep 8, 2009 at 5:55

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread rupak mandal
Initially div display property is set to none. FadeIn will handle display property but fadeTo will not. Any other suggestion Thanks Rupak On Tue, Sep 8, 2009 at 5:55 PM, Nick Fitzsimons n...@nickfitz.co.uk wrote: 2009/9/8 rupak mandal rupakn...@gmail.com: hi nick, Thanks for quick

[jQuery] Re: get values from a select menu then assign them to an array variable

2009-09-08 Thread Benn
i is the count for the each statement making a key for the array: for example the first dropdown option would have an array key/value pairing of '0','com1' On Sep 8, 2:06 am, runrunforest craigco...@gmail.com wrote: Owsome Benn. But i don't understand why i is used there ?

[jQuery] Re: Ajax not working in Firefox

2009-09-08 Thread RPrager
Mine won't even work in FF3 if I use the GET method. I'm currently working with the developer to get to the bottom of this. I will post if I find a solution. In the meantime, keep the suggestions coming if you have them. Thanks! On Sep 8, 5:19 am, Karl Hungus coldnebraskab...@googlemail.com

[jQuery] Re: Limiting character input, also displaying input fields contetns

2009-09-08 Thread Scott Haneda
Sorry to bump this one. I seem to have a problem with chosing complex things as a first try learning experience. Due to the time sensitive nature of the project I am working on, if I can not solve this here, where is a suggested freelance forum that advanced JQ folks hang out in? --

[jQuery] My simple fading div test isn't working, firebug says anchor tag is null?

2009-09-08 Thread mikethevike
I'm doing some simple tests and I can't get this to work on a wordpress site. Basically I'm trying to fadeOut a div with id of box when a link is clicked. I mentioned Wordpress because the head code is loaded dynamically into the page template, as well as the body content. I wasn't sure i this

[jQuery] Having Problems with my tooltip script. any help?

2009-09-08 Thread nick
This is a tooltip script that I'm creating for the website i'm making, i'm having some trouble and don't know how to get past the three problems listed below. I've also uploaded the single page with the code and script on it(it's a small script). Any help would be really appreciated, It should be

[jQuery] click a button returned by ajax

2009-09-08 Thread Carlos Santos
I have a button that do appear on my page through a post with jquery: $.post( 'more_item.php',{ NumItem: NumeroItem, Str : $(#form-itens).serialize() },

[jQuery] Re: Having Problems with my tooltip script. any help?

2009-09-08 Thread nickthedestroyer
Sorry i should have posted a link and not the code, here's a link to the test page http://thedeeperlife.org/testing/tooltip_001.html

[jQuery] JQuery Cycle Plugin Random Timeout

2009-09-08 Thread mattjp18
Hey, does anyone know how I can have the timeout change randomly for every slide? Thanks,

[jQuery] Superfish Double Vision Problem

2009-09-08 Thread Slowryd
Hello, I'm using the Superfish jQuery module on Joomla for my menu. Great little program, but it creates two submenus for some reason. If you visit http://www.alleytreemedia.com and hover over services, you'll see what I mean. I've been driving myself mad with the CSS on this and have yet to

[jQuery] Superfish delay issues

2009-09-08 Thread John
Quick troubleshooting question: For the nav at mobilityidaho.org The delay is not, for lack of a better word, delaying. I have it set to 1 second, but it's not cooperating. Any advice?

[jQuery] Re: Ajax not working in Firefox

2009-09-08 Thread Mike McNally
For what it's worth, I have a whole application that works just fine with AJAX form posts from FF3, and I didn't have to do anything at all to make it work. It'd be interesting to learn what back-end software is involved (Java/Stripes in my case). On Tue, Sep 8, 2009 at 12:03 PM,

[jQuery] IE issues

2009-09-08 Thread Phil
I'm having problems with my jquery slide show in IE. It works fine in other browsers such as firefox and safari. Basically when the page opens the other elements, background and title are there but the space for the slideshow is just empty, no errors or a blank boxes. I could include my js but

[jQuery] Re: click a button returned by ajax

2009-09-08 Thread MorningZ
There's no reason why this shouldn't work... remember you cannot wire an event to something that isn't on the DOM unless you: (1) use the .live() functionality of jQuery (http://docs.jquery.com/ Events/live#typefn) or (2) do it after it is in the DOM, which my code shows below $.post(

[jQuery] Re: click a button returned by ajax

2009-09-08 Thread rupak mandal
Hi carlos try to use http://docs.jquery.com/Events/live thanks Rupak On Tue, Sep 8, 2009 at 8:54 PM, Carlos Santos carloeasan...@gmail.comwrote: I have a button that do appear on my page through a post with jquery: $.post( 'more_item.php',{

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread rupak mandal
Thanks all ti work's. On Tue, Sep 8, 2009 at 7:44 PM, Charlie charlie...@gmail.com wrote: the fade functions use animate() I believe. Try animate function and animate your opacity rupak mandal wrote: Initially div display property is set to none. FadeIn will handle display property but

[jQuery] Re: how to align right (not left) images with variable widths?

2009-09-08 Thread Luciano A. Ferrer
On Tue, Sep 8, 2009 at 4:39 PM, Mike Alsupmal...@gmail.com wrote: I was implementing thishttp://malsup.com/jquery/cycle/after.html here:http://relojurbano.com.ar/actual.html it works ok (you can see it clicking siguiente anterior at the left side menu/descriptions) but... I need the

[jQuery] Re: New Edit-in-Place Plugin with dynamic selects, datepicker

2009-09-08 Thread MorningZ
Planning on adding a demo page anytime soon? I'd like to check it out On Sep 8, 4:21 pm, Jacob jste...@gmail.com wrote: I've created a new edit-in-place plugin that is a modified version of Dave Hauenstein's.  It allows for selects that are generated at the point when the editor is created,

[jQuery] dropdown checklist

2009-09-08 Thread Mr. V
Hi, I am trying to uncheck all the checkboxes in the JQuery dropdownchecklist plugin through the code (server side or client side). Unfortunately, I am not able to get a handle to the checkbox array. Can some please provide some insight on it. I am trying something like var

[jQuery] Re: Ajax not working in Firefox

2009-09-08 Thread Karl Swedberg
I was having ajax problems with a certain combination of Firefox 3.5.x and Firebug. Can't remember which versions exactly, but I do recall that unchecking the Show XMLHttpRequests option in the Console tab made the problem go away. --Karl On Sep 8, 2009, at 2:41 PM, Mike McNally wrote:

[jQuery] New Edit-in-Place Plugin with dynamic selects, datepicker

2009-09-08 Thread Jacob
I've created a new edit-in-place plugin that is a modified version of Dave Hauenstein's. It allows for selects that are generated at the point when the editor is created, rather than on page load, as well as the option to switch the select to an input box for adding values not currently in the

[jQuery] how to align right (not left) images with variable widths?

2009-09-08 Thread Luciano A. Ferrer
Hi! I was implementing this http://malsup.com/jquery/cycle/after.html here: http://relojurbano.com.ar/actual.html it works ok (you can see it clicking siguiente anterior at the left side menu/descriptions) but... I need the images (that have variable widths) aligned to right, not left... I

[jQuery] not well-formed error when loading .js via jQuery

2009-09-08 Thread D A
I have a document that I'm using jQuery.load() on to grab some external XHTML. Within this XHTML, once loaded, I want to also load some .js files and execute some more jQuery. However, when I do that, the browser chokes on the comments in the .js file: == Error: not

[jQuery] Re: JQuery Cycle Plugin Random Timeout

2009-09-08 Thread Mike Alsup
Hey, does anyone know how I can have the timeout change randomly for every slide? These demos might get you going in the right direction: http://www.malsup.com/jquery/cycle/timeout.html http://www.malsup.com/jquery/cycle/timeout2.html

[jQuery] Re: Superfish delay issues

2009-09-08 Thread John
update... Delay works except for when my cms assigns the selected class to the li. Is there a way to tell superfish to apply the same delay for selected li's? On Sep 8, 11:48 am, John vernworldw...@gmail.com wrote: Quick troubleshooting question: For the nav at mobilityidaho.org The delay is

[jQuery] Re: how to align right (not left) images with variable widths?

2009-09-08 Thread Mike Alsup
I was implementing thishttp://malsup.com/jquery/cycle/after.html here:http://relojurbano.com.ar/actual.html it works ok (you can see it clicking siguiente anterior at the left side menu/descriptions) but... I need the images (that have variable widths) aligned to right, not left... I

[jQuery] Re: JQuery Cycle Plugin Random Timeout

2009-09-08 Thread mattjp18
Hey thanks Mike, I got the random timeouts working, however all the slideshows fade in at the same time on the first transition... is there any way around that? Here is my code: script type=text/javascript $(document).ready(function() { $('.slideshow').cycle({ fx: 'fade',

[jQuery] Re: having an issue with the blockUI plugin - the growl option

2009-09-08 Thread Jeremy Mikola
Not sure what is triggering the Javascript error you mentioned, but I'm doing the exact thing you're attempting with the following JS/CSS: /** * Generates a Growl-style overlay. * * @see jquery.blockUI.js * @param string title * @param string message * @param string

[jQuery] jQuery Sliders dissapaer 2nd time around

2009-09-08 Thread Luh Hooo Zer
I have a page: http://www.bcidaho.com/plans/individual/Which-Health-Plan.asp that i am having issues with... if you select the now find my plan button, a list of plans is displayed, and the sliders are hidden. then if you hit the start over link, the sliders are reset to their original values,

[jQuery] Re: Can't get attributes from ajax response...

2009-09-08 Thread James
When and where are you appending the click() code? If you're doing it before the AJAX call, then the click event is not assigned to any new elements. You'll need to use event delegation or the jquery live() function. Otherwise, you'd have to call the click binding again. Another thing to note is

[jQuery] Re: Ajax not working in Firefox

2009-09-08 Thread Anoop kumar V
Also try it from a different machine with FF3 but no firebug installed. I have noticed on occasion, that firebug hangs up and does not allow any ajax requests to go through. On 9/8/09, Karl Swedberg k...@englishrules.com wrote: I was having ajax problems with a certain combination of Firefox

[jQuery] Re: JQuery Cycle Plugin Random Timeout

2009-09-08 Thread Mike Alsup
Hey thanks Mike, I got the random timeouts working, however all the slideshows fade in at the same time on the first transition... is there any way around that? Here is my code: script type=text/javascript $(document).ready(function() { $('.slideshow').cycle({                 fx: 'fade',

[jQuery] CSS cursor: null causes MSIE to request null file from server (discovered in BlockUI's Growl CSS)

2009-09-08 Thread Jeremy Mikola
I noticed from my web server logs that MSIE browsers (versions 6 through 8) were yielding tons of 404 errors by requesting a null file in whatever directory the current request was being served out of. E.g. a homepage request would be followed by /null, and a blog request with /blog/null. I was

[jQuery] Page load question

2009-09-08 Thread the intern
What I have is a form where people will answer yes or no questions. What I need is, that when the page is loaded, a way to go though the questions and check to see which ones are marked as yes. The reason for this is, when yes is checked, there are additional questions that open up using .show().

[jQuery] problem xml with jquery IE 8

2009-09-08 Thread elisa
Hi! I'm learning JQuery, and I have a problem to solve. This script is working fine with google and firefox, but IE 8. It does nothing in IE... I don't know what I'm doing wrong, or what else I can change. I'm using a plugin to convert a string of XML to a DOM object with jQuery, it's from

[jQuery] Getting start

2009-09-08 Thread Farzan
Hi guys, I'm new to JQuery, I tried to make it to work but sounds nothing, I've already downloaded JQuery library (http://code.google.com/p/jqueryjs/ downloads/detail?name=jquery-1.3.2.js) and putted it in the appropriate folder and then I referenced to it, here's what I did: head script

[jQuery] Re: not well-formed error when loading .js via jQuery

2009-09-08 Thread D A
Is my logic sound (load an external .js file via jquery sent back via an ajax call?) Perhaps a better way to re-word the previous post: If I'd like to load content on a page via AJAX that, in turn, needs to load some unique jQuery .js that I'd rather not burden the initial page load with,

[jQuery] Re: problem xml with jquery IE 8

2009-09-08 Thread Steven Yang
sorry i may be wrongbut until someone has a real solution here's something you can try 1. make your dataType --dataType: xml 2. not sure if the problem still exists in IE8, but IE seems to have a problem determining an incoming data as XML, so make sure your server returns a header that tells

[jQuery] Re: Getting start

2009-09-08 Thread MorningZ
First off, if that super simple example did not work, then you are not property including the library correctly instead of script type=text/javascript src=../Scripts/jquery.js /script try this instead script type=text/javascript src=http://ajax.googleapis.com/ajax/

[jQuery] Conflict with jquery two scripts...

2009-09-08 Thread Erik R. Peterson
Hi everyone, I'm using two scripts that are conflicting with each other. You ask why I'm using wo scripts? One script is used for scrolling to the top of a long page from a bottom link. The other script is used for smooth scrolling to local anchors. I'm using a ajax to load external

[jQuery] Re: how can I treat a string as JSON?

2009-09-08 Thread Alex Weber
Thanks for that Michael! I guess I've heard so many eval() horror stories that I automatically decided against it... BTW what's this 1.3.3 talk? I thought it was supposed to be released last month? ;) Alex On Sep 8, 5:11 am, Michael Geary m...@mg.to wrote: Why do you not want to use eval()?

[jQuery] Re: WP-Cumulus

2009-09-08 Thread Alex Weber
Its definitely possible although it would probably not run so smooth on anything but the latest generation of browsers due to the heavy-ish JS required... I've never seen anything like it done but Dynacloud is a very good tag cloud plugin for jQuery, it could be a good starting point! On Sep 8,

[jQuery] [validate] All error messages are shown when using remote validation

2009-09-08 Thread Jean-Michel
I got a form with a few inputs. I'm using remote validation for 2 of them. For some reasons when I as an example enter something in a form that uses remote validation it gets validated after I click into the next input it just doesn't wait for the form to get submitted. Any other inputs which

[jQuery] Re: how can I treat a string as JSON?

2009-09-08 Thread Michael Geary
Glad to help, Alex. Some people say eval() is evil, but it isn't. Like any powerful tool, it has certain characteristics that can be good or bad, depending. The 1.3.3-style code is certainly better, using either JSON.parse if it's available or else the Function constructor. The Function

[jQuery] Selector bind help

2009-09-08 Thread Dave Maharaj :: WidePixels.com
I have a simple form field that runs a query. I have $('#Query').bind('keyup', function() { ...delay then search so after key up and delay it runs the search. Now when I click on the #query field the dropdown appears with my previous search text...if i select one it goes into the #query

[jQuery] Re: Getting start

2009-09-08 Thread Richard D. Worth
On Tue, Sep 8, 2009 at 9:16 PM, MorningZ morni...@gmail.com wrote: and the file needs to end in - vsdoc.js, not -vsdoc2.js which I have no idea where you got that link from The one with the correct filename ( http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2-vsdoc.js) is