[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread Richard D. Worth
I didn't have the same issue. Anyway, here are the direct links, for download: Minified: http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js Uncompressed: http://jqueryjs.googlecode.com/files/jquery-1.3.2.js - Richard On Tue, Aug 11, 2009 at 3:32 PM, mrbutler mrbut...@4state.com wrote:

[jQuery] Re: Forms and Dialog UI

2009-08-12 Thread Richard D. Worth
Here are a couple things you might try: 1. make sure your form is completely contained within your #dialog element 2. call .ajaxForm after the dialog is opened, like so: $(#dialog).dialog({ bgiframe: true, autoOpen: false, width: 620, modal: true, open: function(event, ui) {

[jQuery] Re: How to get Drop Down List Item's length??

2009-08-12 Thread Richard D. Worth
Change $(#DropDownList1 options) to $(#DropDownList1 option) - Richard On Tue, Aug 11, 2009 at 11:43 PM, Ming mcpm...@gmail.com wrote: I have a DropDownList (id: DropDownList1), i want to get the items length by Jquery, but it not work, always return 0. My temporary solution is using

[jQuery] Re: Detect special Alt characters inside a keypress()?

2009-08-12 Thread Richard D. Worth
Check event.charCode. If the value matches a value you don't like, return false. - Richard On Sat, Aug 8, 2009 at 8:47 PM, Shedokan shedo...@yahoo.com wrote: How can I detect special alt characters like ♥♦♣♠ inside a keypress() event, so if spotten will return false? thanks.

[jQuery] toggle and logic confusion

2009-08-12 Thread Bruce MacKay
Hi folks, I have a set of 3 divs with a class element of hideme. Through the code that follows (it's not mine; it works!), I can click a dedicated a.tag for each div to toggle the visibility (or not) of the contents of the associated div. What I'd like to be able to achieve is that if

[jQuery] Re: toggle and logic confusion

2009-08-12 Thread sak
Hi Bruce are trying to do something like an accordion. http://jqueryui.com/demos/accordion/ I tried to do what you described a few days ago and then found the jquery UI at the above link. On Aug 12, 10:00 am, Bruce MacKay b.mac...@massey.ac.nz wrote: Hi folks, I have a set of 3

[jQuery] Re: How to get Drop Down List Item's length??

2009-08-12 Thread Ming
Thank you!

[jQuery] Re: toggle and logic confusion

2009-08-12 Thread Bruce MacKay
Yes, you are right - what I described was like an accordion, but I left out the description of the actual links on which the div's are opened/closed. The links exist as 3 buttons in a horizontal list that remains stationery while the divs open/close beneath them. This UI makes what I'm

[jQuery] Re: toggle and logic confusion

2009-08-12 Thread Liam Potter
when you click on a button, run a function to close all the divs, and run a function to open the specified div. Bruce MacKay wrote: Yes, you are right - what I described was like an accordion, but I left out the description of the actual links on which the div's are opened/closed. The

[jQuery] JSON how to transform an object into an array?

2009-08-12 Thread Mark
Hi all. I got an php page who picks up data out of my data base and puts it in a multidimensinal array. That array is being encoded to Json $event = json_encode($super_array); Then i made an javasript get funtion to get that array to my main page. function get(){

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Dhruva Sagar
I think this is what you are looking for data = eval ( '(' + data + ')' ); Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you live every day of your life. On Wed, Aug 12, 2009 at 3:18 PM, Mark johanns.m...@gmail.com wrote:

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Liam Potter
Shouldn't you be using $.getJSON instead? Mark wrote: Hi all. I got an php page who picks up data out of my data base and puts it in a multidimensinal array. That array is being encoded to Json $event = json_encode($super_array); Then i made an javasript get funtion to get that array to my

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Mark
yeah that i was thinking to but the problem is that you get. [object Object] if you alert out data again. On Aug 12, 11:53 am, Dhruva Sagar dhruva.sa...@gmail.com wrote: I think this is what you are looking for data = eval ( '(' + data + ')' ); Thanks Regards, Dhruva Sagar. Jonathan

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Dhruva Sagar
Well because it is an object.If you using firefox you should try alert(data.toSource()); after you've done the eval. But also to keep in mind like Liam Potter suggested you should use $.getJSON and you wont have to do the eval. Thanks Regards, Dhruva Sagar. Samuel

[jQuery] Re: $ajax() question

2009-08-12 Thread Stephan Beal
On Aug 12, 12:03 am, yi falconh...@gmail.com wrote: OK I will try object of key/value pairs. You mean i should use data:{Arg:args2} . is it right? Right :)

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Dhruva Sagar
Also to note, after you have eval 'ed it, you can then access the data in this manner as per your data structure : data[0].id, so on Thanks Regards, Dhruva Sagar. Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Stephan Beal
On Aug 12, 11:48 am, Mark johanns.m...@gmail.com wrote: $event = json_encode($super_array); How about simply: $event = '['.$event.']'; on the server side, i personally recommend using the json2.js API (i.e. JSON.parse() and JSON.stringify()) over $.getJSON(). getJSON uses an HTTP GET, which

[jQuery] Menu and sub Menu

2009-08-12 Thread bharani kumar
Hi All. Am looking very simple menu and sub menu jquery plugin , I looked some plugins , that are lot of JS include files are used , So i dont want lot js includes , thanks

[jQuery] Re: toggle and logic confusion

2009-08-12 Thread Richard D. Worth
On Wed, Aug 12, 2009 at 5:40 AM, Bruce MacKay b.mac...@massey.ac.nz wrote: Yes, you are right - what I described was like an accordion, but I left out the description of the actual links on which the div's are opened/closed. The links exist as 3 buttons in a horizontal list that remains

[jQuery] FLV Gallery problems with IE

2009-08-12 Thread nazzman
I am wrestling with the FLV Video Gallery -- a WordPress plug-in. Basically it allows you to stack thumbnails on a dedicated page, and when the viewer selects one you get the JS gallery treatment where the page goes dark and the video plays in the FLV Gallery player. (Link below) It uses Simple

[jQuery] Re: ANNOUNCE: new revs of listnav and listmenu plugins

2009-08-12 Thread Alexsandro_xpt
Very good! ;) On 11 ago, 13:48, Jack Killpatrick j...@ihwy.com wrote: Hi All, New versions of the jquery listnav and listmenu plugins are now available: http://www.ihwy.com/labs/jquery-listnav-plugin.aspxhttp://www.ihwy.com/labs/jquery-listmenu-plugin.aspx What's new: -- ListNav plugin

[jQuery] Need E-Book

2009-08-12 Thread naresh karankal
Sir, I beginner of J query, so I need complete e_book of j query. Thank You -- Naresh Karankal Life is the art of drawing sufficient conclusions from insufficient premises

[jQuery] How can we stop the animate function?

2009-08-12 Thread sundowatch
I wonna stop an animate function which hasn't been completed yet. For example; script type=text/javascript src=jquery.js/script script type=text/javascript $(document).ready(function(){ $(div#button1).click(function(){ $(#box).animate({ margin-left : 150px }); });

[jQuery] live() or click

2009-08-12 Thread pete
hi on document load i have to attach the click event to certain elements. performance wise whats better to use? LIVE() $(#container ul li).live('click', function(e) {} EVENT DELEGATION $('#container ul li').click(function(e) { if ($(e.target).is('li')) {...} }); thanks pete

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread mrbutler
Still the same error when I run from either of the links. On Aug 12, 2:29 am, Richard D. Worth rdwo...@gmail.com wrote: I didn't have the same issue. Anyway, here are the direct links, for download: Minified:http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js

[jQuery] Re: How can we stop the animate function?

2009-08-12 Thread Liam Potter
use .stop() $(document).ready(function(){ $(div#button1).click(function(){ $(#box).stop().animate({ margin-left : 150px }); }); $(div#button2).click(function(){ $(#box).stop().animate({

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread Richard D. Worth
Can you share some more details, and maybe a sample page? What browser(s) are you using? Could you put together the code you're trying on jsbin.com, so we can see what you're seeing: http://jsbin.com/ - Richard On Wed, Aug 12, 2009 at 9:00 AM, mrbutler mrbut...@4state.com wrote: Still the

[jQuery] jQuery Scrollable PlugIn Questions

2009-08-12 Thread tfat
Hi, I am using this plugin with one pane been shown at a time and I have those little circles on top to navigate through each pane. If I have three panes within my carousel, so therefore against each of these little circle buttons, it assigns 0, 1 and 2 as href values, how can I get access to

[jQuery] Malsup FormPlugin - doesn't Ajax!

2009-08-12 Thread Anxiro
Hi there! I'm using the Form Plugin by Malsup (http://malsup.com/jquery/form/). I'm using this a lot, so I'm used to all the configs and settings. That's not a problem. My problem is, that my DIV (where the FORM is in) has the style: 'display:none'. This is causing the plugin to NOT ajaxForm()

[jQuery] How do I compare two form fields using the form validation plugin?

2009-08-12 Thread Matt Wilson
I have a form with two radio button lists. Each list has the same set of choices. I want to make sure that something is checked in both lists and that the value in the first list is not the value in the second list. I know I could write my own submit handler to do this, but I'd like to work

[jQuery] jQuery validation error message to specific span id

2009-08-12 Thread nouky
I am using jQuery validation plugin and I want that the error message to be displayed in a specific span with id=test. How do I do this?

[jQuery] Re: Regular Expression validation

2009-08-12 Thread nouky
Thank you I resolved my issue.. On Aug 10, 2:47 pm, Eduardo Pinzon edcpin...@gmail.com wrote: jQuery.validator.addMethod(notNumber, function(value, element, param) {                        var reg = /[0-9]/;                        if(reg.test(value)){                              return

[jQuery] jquery password compare....URGENT HELP!!

2009-08-12 Thread PictureMan
Can anyone see what's wrong with this: The behavior that is happening is that it does validate and compare..but DOESN'T CHECK FOR LENGTH. Password: {required: true, minlength: 6}, retypePassword: { equalTo: #Password

[jQuery] Re: Malsup FormPlugin - doesn't Ajax!

2009-08-12 Thread Liam Potter
can you not set the form to display:none through the javascript? Anxiro wrote: Hi there! I'm using the Form Plugin by Malsup (http://malsup.com/jquery/form/). I'm using this a lot, so I'm used to all the configs and settings. That's not a problem. My problem is, that my DIV (where the FORM

[jQuery] Re: Need E-Book

2009-08-12 Thread sammahoney
These tutorials are a great way to get started: http://www.youtube.com/watch?v=Hk5oXFtYLwEfeature=related http://www.youtube.com/watch?v=J64Pmi_jEiQfeature=related On Aug 12, 1:50 pm, naresh karankal nkaran...@gmail.com wrote: Sir, I beginner of J query, so I need complete e_book of j query.

[jQuery] Re: How to access the member of $.each() when Key has space?

2009-08-12 Thread RobG
On Aug 12, 2:23 pm, Ming mcpm...@gmail.com wrote: [...] For example: $.each(eval(response),function(key, item) {     alert(item.Account); //Work     alert(item.Amount); //Work     alert(item.Reference Date); //Fail }); I have try alert(item('Reference Date')); alert(item['Reference

[jQuery] Re: Malsup FormPlugin - doesn't Ajax!

2009-08-12 Thread Anxiro
No, I also tried that. I've just found a solution to the problem; http://freecss.info/free-css-tutorials/jquery-ajax-contact-form-in-facebox/ It shows how to fix/mod the FaceBox to get it to work with the Form Plugin. Thanks for your suggestion, Liam. I appreciate! On 12 aug, 15:54, Liam

[jQuery] Re: toggle and logic confusion

2009-08-12 Thread Anoop kumar V
Where are you capturing the click event? You may want to do something like this: $(function(){ $('parent of div#1, div#2 div#3').click(function(event){ $('.hideme').hide(); $(this).find('a.showme').show() } } If you post your actual html and your click event code if you have one,

[jQuery] How to POST using jQuery?

2009-08-12 Thread Mark Smith
Hi, I know you can use jquery to post data from a json object ajaxly. However I want to redirect the browser to the new page (like submitting a form) only passing the values explicitly from javascript rather than actually submitting a form. Is this possible using jquery? Thanks

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Liam Potter
well, on the post callback, forward the browser to the page? window.location=/page.php Mark Smith wrote: Hi, I know you can use jquery to post data from a json object ajaxly. However I want to redirect the browser to the new page (like submitting a form) only passing the values explicitly

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Mark Smith
But then the page that gets served to the user with have no parameters posted to it. On Aug 12, 3:50 pm, Liam Potter radioactiv...@gmail.com wrote: well, on the post callback, forward the browser to the page? window.location=/page.php Mark Smith wrote: Hi, I know you can use jquery to

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Michael Price
Is there any particular reason you HAVE to use Javascript to handle the form submission? If you want to redirect the user to another page after the form submission you may as well submit the form the normal way and use a server side redirect to send them on to the next page. Failing that, you

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Liam Potter
He's not using a form at all in this, I don't know why. Michael Price wrote: Is there any particular reason you HAVE to use Javascript to handle the form submission? If you want to redirect the user to another page after the form submission you may as well submit the form the normal way and

[jQuery] Re: validation - multiple errorPlacements

2009-08-12 Thread nouky
I did not understand this Jörn Zaefferer wrote: seedy schrieb: Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie. $('#testForm').validate({ rules:{ firstname:{required:true},

[jQuery] add class and remove class from perspective element

2009-08-12 Thread runrunforest
Hi, I have 3 image, in turn called img1, img2, img3. I need a code snippet that will add a border to the image when it is clicked, and if I click the other image, the border will disappear, the newly clicked image will have a border. For short, only image has border at a time and only the

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread mrbutler
IE7 version 7.0.5730.11 Open and run jquery-1.3.2.min.js Error pops up: --- Windows Script Host --- Script: C:\Documents and Settings\it.mjb\Local Settings\Temporary Internet Files\Content.IE5\F59KSW92\jquery-1.3.2.min[1].js Line: 12 Char:

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread Liam Potter
you don't open and run jquery...what are you attempting here? mrbutler wrote: IE7 version 7.0.5730.11 Open and run jquery-1.3.2.min.js Error pops up: --- Windows Script Host --- Script: C:\Documents and Settings\it.mjb\Local

[jQuery] Re: add class and remove class from perspective element

2009-08-12 Thread Liam Potter
img class=images img class=images img class=images $(function(){ $(img.images).click(function(){ $(img.images).css({border:'none'}); $(this).css({border:'1px solid #f00'}); }); }); runrunforest wrote: Hi, I have 3 image, in turn called img1,

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Mark Smith
Thanks for the ideas. Looks like it's not supported, which might be a symptom of bad design on my part. I just have lots of different actions, having a form for each one seemed messy. Maybe a suitable workaround would be to have a hidden form on the page, attach input elements to it as I need

[jQuery] Bind window events to iframes problem/bug

2009-08-12 Thread Henrik Tengelin
Hi! First post here and I am sorry if it's a bit long... I am using jQuery 1.3.2 and for some reason I am trying to add event listeners to windows/documents in iframes from the parent window and I have run into some problems... Does anyone know why it's possible to bind a listener to the click

[jQuery] form plugin not working

2009-08-12 Thread sunny
fieldset legendNew Organization Building Floor/legend script type=text/javascript //wait for the DOM to be loaded $(document).ready(function() { // bind 'myForm' and provide a simple callback function $('#orgbuildfloor').ajaxForm(function() { alert(Organization Building

[jQuery] html in xml tag

2009-08-12 Thread Seth
Hi guys, I have an XML file like this ?xml version=1.0 encoding=utf-8? data item nameLorem ipsum/name descriptionLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim

[jQuery] Re: html in xml tag

2009-08-12 Thread Michael Lawson
Try wrapping your html text in a CDATA section so that the xml parser doesn't strip them out cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and whether one believes in rebirth or

[jQuery] Old cookie data sent in AJAX request?

2009-08-12 Thread Michael Price
Hi all, Having a bit of a strange problem and I'm not altogether sure whether it's jQuery related or something to do with the awful, awful code it's part of, but I thought I'd post up here to see if I could get some help figuring that out J I've got a webpage which has three cookies on it,

[jQuery] Re: Dropdown menu Issue

2009-08-12 Thread Xenongasman
Any ideas? On Aug 8, 2:18 pm, Xenongasman xenongas...@gmail.com wrote: Yes it does work fine, except that the animations will repeat themselves if you move on and off again quickly. So to remedy that I changed the script to: script language=JavaScript         $(function(){                

[jQuery] Re: Citation for jQuery

2009-08-12 Thread Jörn Zaefferer
Hi Nathaniel, what exactly do you want to cite? Its not clear from your question. Regards Jörn On Tue, Aug 11, 2009 at 9:15 PM, Nathanielnathaniel.t...@gmail.com wrote: Hello Devs: I'm preparing an academic paper in which I want to cite jQuery and jQuery UI.  Is there a specific

[jQuery] Post variable array

2009-08-12 Thread cz231
Hi, I'm using AJAX to submit a form. I'm using the POST method. Example: $.post(action, postThis); Both action and postThis are actions. Action is the URL and postThis is the data to be submitted. Right now, this isn't working. I know I can pass the action variable because that has always been

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread mrbutler
Sorry, shouldn't have said 'run'. After I save jquery-1.3.2.min.js, I right click on it, select open, then the error pops up. On Aug 12, 10:23 am, Liam Potter radioactiv...@gmail.com wrote: you don't open and run jquery...what are you attempting here? mrbutler wrote: IE7  version

[jQuery] Re: Old cookie data sent in AJAX request?

2009-08-12 Thread Stephan Beal
On Aug 12, 5:41 pm, Michael Price m...@edwardrobertson.co.uk wrote: If, however, I submit an AJAX post request to add a product to the shopping cart on this site, it doesn't work. Investigating the AJAX behind this shows that two copies of every cookie named above is being sent - the first

[jQuery] Re: form plugin not working

2009-08-12 Thread Scott Grizzard
- Scott Grizzard sc...@scottgrizzard.com http://www.scottgrizzard.com/ -Original Message- From: sunny asim...@gmail.com Date: Wed, 12 Aug 2009 07:04:01 To: jQuery (English)jquery-en@googlegroups.com Subject: [jQuery] form plugin not working fieldset legendNew Organization Building

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread Brett Ritter
On Wed, Aug 12, 2009 at 1:43 PM, mrbutlermrbut...@4state.com wrote: Sorry, shouldn't have said 'run'.  After I save jquery-1.3.2.min.js, I right click on it, select open, then the error pops up. That's running :) Jquery is a javascript library, meaning that it's a plain text file that can't

[jQuery] Re: Post variable array

2009-08-12 Thread Jörn Zaefferer
What values do the variables action and postThis contain? You describe them as actions, isn't telling me anything. Jörn On Wed, Aug 12, 2009 at 7:40 PM, cz231cz2...@gmail.com wrote: Hi, I'm using AJAX to submit a form. I'm using the POST method. Example: $.post(action, postThis); Both

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Michael Geary
You don't need to eval the JSON data. Let jQuery do it for you. Simply change $.get to $.getJSON. Or, if you prefer, use $.ajax with dataType:'json' for more flexibility (such as the ability to have an error callback). Regarding the array vs. object coming from the server, that would be a

[jQuery] Re: FadeOut - Pause - FadeIn (Force jQuery to wait for fade event to complete before continuing)

2009-08-12 Thread Karl Swedberg
If you're acting on the same element, you can just chain the effects: jQuery(t).fadeOut(2000).fadeIn(1000); That should fade out the element(s) represented by variable t and then fade them back in. If you need to pause in between the fadeOut and the fadeIn, a cheesy but effective way to

[jQuery] Bind Validate to button click event

2009-08-12 Thread Rockinelle
I am walking into an existing form that uses a custom ajax request to display search results at the button of the page. This is triggered by clicking a form button. I want to trigger the validation on this same click event rather than a submit event. I am just using basic validation at the

[jQuery] jCarousel - Accordian clash

2009-08-12 Thread andy marshall
Hi there. Hoping this is the right place to be asking this. I'm developing a website using an accordian and a carousel (http:// sorgalla.com/projects/jcarousel/). The accordian has 2-4 items in it, one of which is a vertically carouselled list of comments. If I've set the accordian to start on

[jQuery] IE8 Selector Bug?

2009-08-12 Thread gentry
Anybody know why this doesn't work in IE8 with jQuery version 1.2.6? It works in the latest jQuery version but I can't move to it yet because of some other issues. I'm trying to clear all the textboxes in a table row but only the 1st textbox gets cleared in IE8. $('#Row_1

[jQuery] Problem with js redirect when using getJSON

2009-08-12 Thread Grimori
Hi everyone, The problem I'm facing is as follows. I'm using a JSON call to check some data before doing a JS redirect to a different page. The redirect works but it's impossible to get back to the initial page using the browser's back button. The initial location is not being stored in the

[jQuery] Hooking up click() callbacks in IE with an 'each' loop

2009-08-12 Thread Greg Johnston
Hi all, I've been working on a project using jQuery that runs just fine in FF, Safari, Chrome, Opera...you know the deal. IE is patchy at best. One of my central problems is this bit of code: $(.item).each(function() { $(this).find(.openlink).click(bodyCallback); }); As you can

[jQuery] Trigger validate on button click event

2009-08-12 Thread Rockinelle
I am trying to trigger validation on a form that is using custom ajax request that is processed when a button is clicked. I have scoured the docs and I'm not clear how I can trigger validation on this click. The form is using basic validation at the moment. $(document).ready(function(){

[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread Jeffrey Kretz
My guess is its related to a problem I ran into with the Sizzle child selectors in 1.3.x I opened a ticket about a month ago http://dev.jquery.com/ticket/4917 But it hasn't been reviewed yet. JK -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Michael Geary
From: Mark $event = json_encode($super_array); From: Stephan Beal How about simply: $event = '['.$event.']'; If $event contains the JSON encoded object from the previous message, then this code would not convert that object into a JSON array. It would simply create an array of one

[jQuery] Re: AJAX and JSON

2009-08-12 Thread Michael Geary
From: Michael Geary Just use $.getJSON() or $.ajax() with the 'json' or 'jsonp' dataType as needed. From: Stephan Beal Speaking of: i recommend AGAINST using getJSON() because it muddles up my Apache logs horribly (the JSON gets encoded in the request, which gets logged as

[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread amuhlou
Not confirming or disconfirming that it is a bug, but using the attr() method worked for me $('#Row_1 input[type=text]').each(function() { $(this).attr('value',''); }); On Aug 12, 1:25 pm, gentry gent...@gmail.com wrote: Anybody know why this doesn't work in IE8 with jQuery version

[jQuery] Re: Bind Validate to button click event

2009-08-12 Thread Jörn Zaefferer
Try this: $('#searchButton').click(function(){ if ($('#testBlog').valid()) formDoAjaxSubmit(); }); Jörn On Wed, Aug 12, 2009 at 8:04 PM, Rockinelleericbles...@gmail.com wrote: I am walking into an existing form that uses a custom ajax request to display

[jQuery] Re: Bind Validate to button click event

2009-08-12 Thread Rockinelle
That did the trick, thank you. -Eric On Aug 12, 11:31 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this:  $('#searchButton').click(function(){           if ($('#testBlog').valid())                formDoAjaxSubmit();        }); Jörn On Wed, Aug 12, 2009 at 8:04 PM,

[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread John Resig
It looks similar to the one above, but different. I'll try and check in to them both. gentry - can you file a bug for the issue you found, preferably with a full test case? --John On Wed, Aug 12, 2009 at 2:21 PM, Jeffrey Kretz jeffkr...@hotmail.comwrote: My guess is its related to a problem

[jQuery] Re: Post variable array

2009-08-12 Thread cz231
Oops. I'm sorry. action is the url to be posted to, and postThis is equal to: Name: Jimmy, Username: Something, Password: something, Email: someth...@someplace.com On Aug 12, 12:51 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: What values do the variables action  and postThis

[jQuery] Re: AJAX and JSON

2009-08-12 Thread Joey Derrico
Actually I am sending data to the server from a form so post is needed. But I do agree that normally get is teh better method if you don't need to send data to a server. Joey On Wed, Aug 12, 2009 at 2:27 PM, Michael Geary m...@mg.to wrote: From: Michael Geary Just use $.getJSON() or

[jQuery] Re: Post variable array

2009-08-12 Thread James
I don't see the problem... Something like this should work: var action = 'somepage.php'; var postThis = {Name:Jimmy, Username:Something, Password:something, Email:someth...@someplace.com}; $.post(action, postThis, function(data) { alert('done'); }); Otherwise, post your real code for us to

[jQuery] Re: FadeOut - Pause - FadeIn (Force jQuery to wait for fade event to complete before continuing)

2009-08-12 Thread webhead81
Cheesy or not, that's a really clever solution, and I like it! Unfortunately, since I'm not acting on the same element, but rather, a different element that changes over time, I modified your (excellently cheesy) example: // The below function repeatedly gets called, to do the rotating function

[jQuery] Can I select col and/or colgroup?

2009-08-12 Thread rolfsf
I've got a table in which I've set up some column groups. colgroup class=location col/col /colgroup colgroup class=year col class=this/col col class=that/col col class=that/col col class=that/col /colgroup colgroup class=year col class=this/col col class=that/col

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Stephan Beal
On Aug 12, 8:22 pm, Michael Geary m...@mg.to wrote: on the server side, i personally recommend using the json2.js API (i.e. JSON.parse() and JSON.stringify()) over $.getJSON(). getJSON uses an HTTP GET, which is very rude vis-a-vis Apache logs (because all your JSON gets logged there in

[jQuery] Re: Post variable array

2009-08-12 Thread cz231
I think I know the problem...My postThis variable ends up being just one big string. How do I convert it to the correct type? (I'm not even sure what type is correct) On Aug 12, 2:00 pm, James james.gp@gmail.com wrote: I don't see the problem... Something like this should work: var

[jQuery] Re: html in xml tag

2009-08-12 Thread Seth
Thank you Michael for your reply however wrapping the data intro ! [CDATA[]] don't work ... i have try that before i just did not mention it, if anybody has other ideas or some suggestions i will appreciate it, i'm sure somebody has done this before i just hope he is here on forum :D Thanks! On

[jQuery] Re: html in xml tag

2009-08-12 Thread Michael Lawson
It looks like you're using an RSS feed given the xml format, so you probably want to use the CDATA sections anyways so that RSS readers don't get confused by the HTML tags. Now, maybe I just don't understand exactly what you're trying to accomplish? Are you saying you want to just read the

[jQuery] Re: html in xml tag

2009-08-12 Thread Michael Lawson
Scratch that, my bad. On closer look its not RSS :) (its the first thing that comes to mind when i see item followed by description) My previous question still stands though, are you just wanting to read the contents of the description field? cheers Michael Lawson Development Lead, Global

[jQuery] Transforming input as it's typed

2009-08-12 Thread Brett Ritter
My workplace has a lot of people doing manual entry. I'm looking to provide some friendly automatic formatting of data as they type it. I have working code (thus far) but I want to ensure I'm doing things in a sane way (there's a surprising amount you can do insanely that still works :) ).

[jQuery] Re: html in xml tag

2009-08-12 Thread Seth
sorry you are right :) not knowing everything is not very helpful, well i'm playing a bit with jquery and i made 1 page and 1 file with xml data .. the xml you have seen it above now i try to read the data from xml and insert it in to the html page, i will have a name witch will be the title of

[jQuery] Re: html in xml tag

2009-08-12 Thread Seth
yes basicaly i want to read the content of description but to keep the formatting elements from html b br p etc On Aug 12, 11:03 pm, Michael Lawson mjlaw...@us.ibm.com wrote: Scratch that, my bad.  On closer look its not RSS :)  (its the first thing that comes to mind when i see item followed

[jQuery] Re: Transforming input as it's typed

2009-08-12 Thread Richard D. Worth
You might take a look at the mask plugin by Andrew Powell in the jQuery UI Labs http://wiki.jqueryui.com/mask Demo: http://wiki.jqueryui.com/mask http://jquery-ui.googlecode.com/svn/branches/labs/mask/demos/mask/default.html Source:

[jQuery] Re: html in xml tag

2009-08-12 Thread Michael Lawson
Just leave the html in there as it is have you tried the contents() function yet? cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and whether one believes in rebirth or not, there

[jQuery] Re: Transforming input as it's typed

2009-08-12 Thread Brett Ritter
On Wed, Aug 12, 2009 at 4:14 PM, Richard D. Worthrdwo...@gmail.com wrote: You might take a look at the mask plugin by Andrew Powell in the jQuery UI Labs http://wiki.jqueryui.com/mask Indeed I might! This looks very interesting. The only feature that calls to me that I don't see supported

[jQuery] Re: html in xml tag

2009-08-12 Thread Seth
no and i did not see it on jquery docs .. i will search on it now :) On Aug 12, 11:18 pm, Michael Lawson mjlaw...@us.ibm.com wrote: Just leave the html in there as it is have you tried the contents() function yet? cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone:  

[jQuery] Re: Post variable array

2009-08-12 Thread James
The type you want is JSON (an object). Include this Javascript file here: http://www.json.org/json2.js Then use the JSON.parse() function which will convert a String to a JSON object. The String has to have a format like a JSON object for it to work properly. var postData =

[jQuery] Re: live() or click

2009-08-12 Thread jlcox
Use live if you have to bind events to elements that don't necessarily exist at the completion of document.load, e.g., you're loading ajax content and want to bind to elements that are dynamically added to your document. If the elements exist at the completion of document.load, then just use

[jQuery] Re: Transforming input as it's typed

2009-08-12 Thread Richard D. Worth
jQuery UI widgets have built-in support for the metadata plugin. It part of the jQuery UI Core and just works :). That said, I haven't tested this with this plugin. - Richard On Wed, Aug 12, 2009 at 4:25 PM, Brett Ritter swift...@swiftone.org wrote: On Wed, Aug 12, 2009 at 4:14 PM, Richard D.

[jQuery] Re: Dropdown menu Issue

2009-08-12 Thread amuhlou
perhaps something like unbinding the hover would work http://docs.jquery.com/Events/unbind On Aug 12, 12:29 pm, Xenongasman xenongas...@gmail.com wrote: Any ideas? On Aug 8, 2:18 pm, Xenongasman xenongas...@gmail.com wrote: Yes it does work fine, except that the animations will repeat

[jQuery] jQuery.ready after document has loaded

2009-08-12 Thread ujamu
I have developed a FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get

[jQuery] Re: IE8 Selector Bug?

2009-08-12 Thread gentry
I got it to work by changing to this: $('#Row_1tdinput[type=text]').each(function() { $(this).val(''); }); John - Still want a bug filed for this? Thanks, Shane On Aug 12, 11:50 am, John Resig jere...@gmail.com wrote: It looks similar to the one above, but different. I'll try and

  1   2   >