[jQuery] Re: How to link myFunction(this) to a div

2008-12-16 Thread brian
On Mon, Dec 15, 2008 at 5:07 PM, WebGrunt bievie...@gmail.com wrote: Hi I'm new to jQuery and here's one thing that doesn't make sense. How do I link an existing function with this as argument to a div? The function to be called is really simple: function test(e) { alert(e.id);

[jQuery] Re: How to link myFunction(this) to a div

2008-12-16 Thread brian
sorry about the wrap. $(document).ready(function() { $(div.someClass).click(function() { /* note: no $() so you pass the element, * not the jQuery object */ elementTest(this); }); });

[jQuery] Re: [validate] Naming rules by class

2008-12-16 Thread Jörn Zaefferer
Take a look at this: http://docs.jquery.com/Plugins/Validation/Validator/addClassRules#namerules Though you should use classes that aren't already referring to existing methods, eg. date is taken. Jörn On Mon, Dec 15, 2008 at 9:26 PM, ycuentocorto olivares.rodr...@gmail.com wrote: Can I name

[jQuery] Re: validation plugin: don't insert error element

2008-12-16 Thread Jörn Zaefferer
Try this: showErrors: function() {} Jörn On Tue, Dec 16, 2008 at 5:45 AM, Sean Allen s...@monkeysnatchbanana.com wrote: Is there a way to instruct the validation plugin to not insert any error element?

[jQuery] Re: jQuery.data() identifier not working

2008-12-16 Thread ricardoe
Well, solved issue: Don't trust jQuery.data(element) if you're pretending to use gQuery (element).data('only-data-element','something') When you use gQuery(element).removeData('only-data-element') the jQuery.cache for that element will be deleted. This leads that when you do again

[jQuery] Re: Optimized Code

2008-12-16 Thread Gordon
Don't run functions that return the same result multiple times, run them once and store the results in a variable. Example: $(document).ready () { var checkedVal = $('input:checked').val(); if (checkedVal = 'city') { // } } If you need to run more than 1 operation

[jQuery] Re: validate : dependency based expression to check for a filled field

2008-12-16 Thread Jörn Zaefferer
That isn't a valid selector. Try this: phone3:{required: #phone1:filled, rangelength:[3,3], digits:true}, (http://docs.jquery.com/Plugins/Validation/filled) or: phone3:{required: function() { return $(#phone1).val().length 1; }, rangelength:[3,3], digits:true}, Jörn On Tue, Dec 16, 2008 at

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread Olivier Percebois-Garve
You should have a look at event delegation, currently you are attaching 2 event on each row. So if you have a lot of rows, its memory/cpu heavy. On Tue, Dec 16, 2008 at 11:52 AM, stephen barto...@gmail.com wrote: Hi, I have a table of data made from divs, and the mouse roll-over

[jQuery] Re: Trying to assign onClick to a link

2008-12-16 Thread Mike Alsup
$(document).ready(function(){         $('a#link').click(                 $('div#bugDiv').slideToggle('slow')                 ); }); Right now, the way it works, the bugdiv slides to hidden on load, as though it's just executing the code as opposed to associating it as the onclick

[jQuery] Re: How to link myFunction(this) to a div

2008-12-16 Thread WebGrunt
Thanks, this seems to do the trick. Test() was only as an example, I use different names in my scripts. Seems like I'll have to read up on the different scpes of this. Thanks all, and sorry for the noob question. :) On 16 déc, 09:22, brian bally.z...@gmail.com wrote: On Mon, Dec 15, 2008 at

[jQuery] Re: [autocomplete] Problem with Scrolling IE 7

2008-12-16 Thread Code Daemon
Looks like it is because I left out !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; I have no idea why it mattered but IE7 was the only browser it affected. Any thoughts? On Nov 30, 10:14 am, Jeffrey Kretz jeffkr...@hotmail.com wrote: Not sure what's

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread stephen
Hi, Actually this did work!! I did the same for the mouseout: $('div.datarows').mouseout(function(event) { var $thisRow, $tgt = $(event.target); if ($tgt.is('div.row')) { $thisCell = $tgt; } else if ($tgt.parents('div.row').length) {

[jQuery] Re: ClueTip Custom Close Button

2008-12-16 Thread Karl Swedberg
No, there is no way to remove the close button. However, you could do something like this in your stylesheet: #cluetip-close { display: none; } that should take care of it. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 16, 2008, at 2:41 AM,

[jQuery] Re: Using the not() filter

2008-12-16 Thread WhoButSB
I gave this a try: $(input:not(#addNewAddress:input, #addNewContactDetail:input)).focus (); And the function would still run :-/ . Maybe I should use the input selector then add a class to the ones i don't want to grab and use the hasClass method to return a false for the ones not supposed to

[jQuery] Re: Opening a popup question

2008-12-16 Thread Eric Hobo Garside
I'd suggest using a lightbox instead of a popup window for this kind of functionality. jQuery has a number of very good lightbox plugins, and lightboxing is a far superior solution to opening a popup, which many browsers will block. http://leandrovieira.com/projects/jquery/lightbox/ handles

[jQuery] Re: Problem on jquery 1.2.6 with ie6

2008-12-16 Thread m.ugues
For more detail see this post http://codylindley.com/thickboxforum/comments.php?DiscussionID=1435page=1#Item_12 Kind regards. Max On Dec 16, 11:23 am, m.ugues m.ug...@gmail.com wrote: Hallo all. I'm using domWindow with jQuery 1.2.6.min and I have a big problem on core library. When I

[jQuery] jQuery tips and tricks article

2008-12-16 Thread jonhobbs
Hi guys, I hope nobody minds me posting this on here but I've just written an article about improving your jquery for our blog. It's the first big article I've written and it took a fair while to write so I hope it helps a few people out.

[jQuery] Advance Cycle synchronize image thumnail pager

2008-12-16 Thread Chian
Hi!! Mike, I was trying to create an advance thumbnail pager with synchronize transition with content slide show. Objectives: a.When the next ( ) is pressed, it should highlight the next (first) item in the next batch in the pager and show the content slide show. b.When the previous

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread Ricardo Tomasi
btw, hovers should be done with CSS unless there is some (necessary) special efffect involved. Certainly would give you better performance. On Dec 16, 11:57 am, stephen barto...@gmail.com wrote: Hi, Actually this did work!! I did the same for the mouseout:        

[jQuery] History Plug-In

2008-12-16 Thread russellneufeld
Hi all, This question has been asked before but there weren't too many good answers. I'm looking for a decent history plugin for jQuery. I have a page which has a table which gets updated asynchronously, and I'd like the browser to think of each update as a new page so the back button works.

[jQuery] $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
I'm using a $.get call to get the contents for a dialog box and I'm trying to run the $(document).ready on the ajax return like so: parentPage.html: $.get('desiredContent.html',function(data){ $(#dialogBoxDiv).html(data); $(#dialogBoxDiv).dialog('open'); } desiredContent.html:

[jQuery] Re: Selecting Similar Elements Until Reach The End of Loop

2008-12-16 Thread Ricardo Tomasi
All .tabContent elements are siblings of .tabnav, regardless if they there is another .tabnav in between. Try the nextUntil plugin by John Resig: $.fn.nextUntil = function(expr) { var match = []; // We need to figure out which elements to push onto the array this.each(function(){ // Traverse

[jQuery] Re: jQuery tips and tricks article

2008-12-16 Thread Eric Martin
Nice article Jon - thanks for sharing! On Dec 16, 7:51 am, jonhobbs jon.hobbs.sm...@gmail.com wrote: Hi guys, I hope nobody minds me posting this on here but I've just written an article about improving your jquery for our blog. It's the first big article I've written and it took a fair

[jQuery] Re: jQuery.data() identifier not working

2008-12-16 Thread Ricardo Tomasi
You can keep your own unique identifier anywhere you want, for data() the identifier is the element itself. If you care to explain a bit more of what you're trying to achieve someone might come up with an useful suggestion. What did 'elem' refer to in your original script for example? A DOM

[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread rernens
There is no need to run $(document).ready when loading a page with ajax using jQuery. The scripts contained in the loaded content are automatically evaluated after the load has been successfull. You should insert at the end of the document you are loading script type=text/javascript alert(content

[jQuery] Re: Why won't this work?

2008-12-16 Thread Charlie Griefer
rick: have you tried putting the: $(document).ready(function(){ $('#emailError').hide(); }); on the index.cfm page? i believe i just read something that indicated that the ajax page load will be part of the document that it is loading within. On Mon, Dec 15, 2008 at 9:07 PM, Charlie Griefer

[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
sorry, I may have oversimplified my example above, replace alert (content Loaded); with this: $(#childInput).change(function() { alert(input changed!); }); so I want to add an event to a DOM element in the loaded page so the DOM has to be ready before I can execute the code. The method you

[jQuery] Licensing Question

2008-12-16 Thread Eric Hobo Garside
I've got a quick question for all the licensing gurus who happen to be on or about the list. I'm developing a plugin for jQuery for a company, and want to release it as open source with a non-competition stipulation. Is it possible to release the code under something like a Creative Commons

[jQuery] Re: Naming rules by class

2008-12-16 Thread ycuentocorto
Well, the restriction is add field validators without knowing the id (I'm working with C# and I'm adding fields dinamically to the form), my option was try to add validator without add a lot of code in tags (for example utilizing the title for every error message because are used for usability

[jQuery] Re: [validate] Naming rules by class

2008-12-16 Thread ycuentocorto
yeah, Jorn. I saw this method, but I have a problem. How can I personalize the messages for the new class validators? Thanks a lot. On 16 dic, 05:26, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Take a look at

[jQuery] Re: ClueTip Custom Close Button

2008-12-16 Thread braveknave
What if I wanted to completely remove the close button? Right now, sticky: true and mouseOutClose: true. Since the box closes when the user mouses out, is there any way to remove the close button? If this option is in the documentation and I just missed it, I apologize! Thanks!

[jQuery] validate : dependency based expression to check for a filled field

2008-12-16 Thread IlyaE
I'm trying to use the dependency to make a field required only if a field is filled. I tried phone3:{required: #phone1.val().length 1, rangelength:[3,3], digits:true}, but this did not seem to work. Any ideas? thanks --~--~-~--~~~---~--~~ You received this

[jQuery] Re: Options

2008-12-16 Thread Samuel Santos
I posted an example at http://www.samaxes.com/2008/12/16/stripes-and-jquery-autocomplete/. I hope this can be usefull to others. Feedback is welcome. On Dec 16, 3:23 am, Samuel Santos sama...@gmail.com wrote: Yes, I'm using Jorn's plugin. I totally missed it. In Jorn's blog the

[jQuery] event fires exponentially

2008-12-16 Thread Jan Limpens
Hi guys, I have this piece of innocent looking code: script $(document).ready(function(){ $form = $('#filter-form'); $form.ajaxForm({ //dataType: 'json', success: function(){ alert(peng); },

[jQuery] Re: event fires exponentially

2008-12-16 Thread Eric Hobo Garside
Do you have a live environment where this is hosted, or at least the code for the page to test it locally? Looks like it should be working fine, at face value. On Dec 16, 11:55 am, Jan Limpens jan.limp...@gmail.com wrote: Hi guys, I have this piece of innocent looking code: script

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
No, unfortunately... but I may be able to put something up... On Tue, Dec 16, 2008 at 3:05 PM, Eric Hobo Garside gars...@gmail.com wrote: Do you have a live environment where this is hosted, or at least the code for the page to test it locally? Looks like it should be working fine, at face

[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
I'd like to add that I can't even access the new DOM elements in IE in the $.get() callback function, but I can in firefox. it's like IE doesn't insert the new HTML into the dom until after the callback is executed. that sucks! ;P On Dec 16, 9:42 am, davidgregan davidgre...@gmail.com wrote:

[jQuery] Suckerfish z-index issues in IE

2008-12-16 Thread Timid
Hi, i'm struggling with IE6 and IE7 z-index issues on the suckerfish flyout menu. The flyout menus fall behind all content even if I make sure the menu is the last html item in the page. You can see the problem here http://point-online.org/tests-resources-books/sftest/submenu3.html

[jQuery] Re: Trying to assign onClick to a link

2008-12-16 Thread Mike Alsup
Hi Matt I think the click handler will need wrapping in a function as well: $('a#link').click(function() {         $('div#bugDiv').slideToggle('slow');         return false; }); Ah! Good catch, Michael!

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-16 Thread rernens
Hmm, i'll have to investigate that, but i am rather busy atm. I can live without the post of additional parms, I changed my backend code to handle query string instead of form-data. Anyway if there is something I can do to help, let me know. What flash version are you using? Did you try to

[jQuery] Star Ratings - update value from callback

2008-12-16 Thread robgallen
Using the most excellent Star Ratings from fyneworks.com (v2.5) - I'd like to be able to set the current value of a ratings object from an external function. We use a callback to post the rating value to an ajax handler, which then returns the new average rating for that item. E.g. 4 users have

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread Mike Alsup
You should have a look at event delegation, currently you are attaching 2 event on each row. So if you have a lot of rows, its memory/cpu heavy. I agree with Olivier. Here's a resource to get you started: http://www.learningjquery.com/2008/03/working-with-events-part-1

[jQuery] Trying to assign onClick to a link

2008-12-16 Thread Matt
Hi everyone, I'm very new to jQuery and am trying to have a div toggle between hidden and shown using the slideToggle function. This is my code that I have in the head of my html: $(document).ready(function(){ $('a#link').click( $('div#bugDiv').slideToggle('slow')

[jQuery] Re: mod'ing pseudo-classes...possible?

2008-12-16 Thread D A
Thanks, Dave. I'll give it a shot! Worse case, I used the same image, but two different spans and swap them out. -Darrel On Sat, Dec 13, 2008 at 1:42 PM, Dave Methvin dave.meth...@gmail.com wrote: $(.detailsPaneToggle).children(a).css('background-position','0px -35px');

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
Must be some bug in ajaxForm, I guess. if I change $('input', $form).change(function(){ $form.submit(); }); to $('input', $form).change(function(){ alert('peng'); }); it fires once only, otherwise I get the exponential behavior. My

[jQuery] Re: jQuery and PHP form problem

2008-12-16 Thread Mike Alsup
I GOT IT.  How to explain what the problem was?!...I've done a bit of tweaking, but one thing is I was returning false from my form submit handler WHICH IS WHY I WASN'T HITTING MY PHP $_POST BRANCH. Whenever I would submit I was getting my default search page again. Made the search field

[jQuery] Re: [TUTORIAL] Creating an OS Web Interface in jQuery (Part I)

2008-12-16 Thread Liam Potter
good for a beginner to start learning from, but what does this offer?, really it is some pretty graphics and a click and drag script and some mouse clicks ? Rick Faircloth wrote: Great idea, Adrian! Good work! Rick -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
And this does work: $(document).ready(function(){ $form = $('#filter-form'); $('input', $form).change(function(){ $form.ajaxSubmit({ dataType: 'json', success: function(){}, target:

[jQuery] Re: Licensing Question

2008-12-16 Thread Michael Geary
You can license your plugin in any way you want. You don't have to use the same licenses as jQuery itself. For jQuery, just ignore the GPL license and use the MIT license instead. Read the license - it really doesn't restrict you at all. It essentially just says Keep the copyright and license

[jQuery] Smart image resizing Idea

2008-12-16 Thread Yousef
Smart image resizing Idea Dears, I am new to JQuery.I have an idea I want to share with you and i hope one of the programmer write the code for it. the idea is to resize an image to a custom width and keeping the relation between the width and height ,for example: * if the width less than

[jQuery] superfish - font colors

2008-12-16 Thread rick
Is there a way to have one color font for the main nav. link and a different color font for the links in the drop downs? (This is my first time working with Superfish.) A demo/draft page with my progress is at... http://www.gofullsail.com/1-base-l2b.html I would prefer that the drop down text

[jQuery] Is there a way to call scroll from outside jQuery.?

2008-12-16 Thread Jigga
Thank for this great plugin. I have one problem. I have created two carousels fetching images with Ajax, on the same page. First carousel displays and scrolls only one image each scroll. The second carousel displays and scrolls 4 images each scroll. This carousel is supposed to be a thumbnail

[jQuery] using cycle for website navigation, choppy in firefox

2008-12-16 Thread Mike Dodge
I am creating a website for my company. I am using the cycle plugin to navigate horizontally between pages. The plugin is awesome. However the site is starting to get pretty full and I've just added something that has made the cycle navigation choppy, just in firefox. The site is not public so

[jQuery] Re: ajax error handling troubles

2008-12-16 Thread Luca Barbato
On Dec 15, 3:06 am, MareceK ma...@tutoky.com wrote: Solution: error: function (xhr, ajaxOptions, thrownError) { if(xhr.status == 404) { // 404 error } jQuery.ajax({ type: 'GET', url: http://picasaweb.google.com/data/feed/base/user/

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread stephen
Thanks guys for the pointer. I had never actually heard of event delegation before. Every day is a school day. So, I read the article and I was keen to implement it to try and solve my problem. But I think I have a couple of conceptual leaps I need help with. For my row highlighting to work, I

[jQuery] jQuery becomes Unresponsive

2008-12-16 Thread stephen
Hi, I have a table of data made from divs, and the mouse roll-over highlighting is done using jQuery. But now I have added real data, the data table (about a thousand rows) is a lot bigger. The problem is, jQuery becomes unresponsive and Firefox throws the error: A script on this page may be

[jQuery] Re: Licensing Question

2008-12-16 Thread Eric Hobo Garside
Much thanks. My concerns over licensing have always been pretty moot. I usually just throw a GPL on there and call it a day. This commercially supported open source is new to me. :) On Dec 16, 12:34 pm, Michael Geary m...@mg.to wrote: You can license your plugin in any way you want. You don't

[jQuery] Product Category Browser

2008-12-16 Thread alextait
I am attempting to make a product category browser within jquery and I am trying to find a good starting point. The trees I have looked at so far are 1. treeview 2. simpletree 3. dynatree Dyna tree is the one I am most interested in since it focuses on the dynamic loading of nodes/sub

[jQuery] Re: Using the not() filter

2008-12-16 Thread Eric Hobo Garside
This may just be an end run around the problem to a solution, but why not just replace the input type=button/ with a buttonTag/ button? On Dec 16, 9:29 am, WhoButSB whobu...@gmail.com wrote: I gave this a try: $(input:not(#addNewAddress:input, #addNewContactDetail:input)).focus (); And the

[jQuery] Re: Smart image resizing Idea

2008-12-16 Thread Eric Hobo Garside
Yousef, I've actually been working on a plugin that has this kind of functionality. I'll throw up a modified version of the scaling library on snipplr with some documentation for it. On Dec 16, 8:43 am, Yousef alba...@gmail.com wrote: Smart image resizing Idea Dears, I am new to JQuery.I

[jQuery] Re: SimpleModal v1.2 released

2008-12-16 Thread Eric Martin
I just released 1.2.2 which fixed all of the IE6 related positioning bugs. Thanks to Deepak Mehta, Bill Beckelman, James Taylor and others for your help finding these issues. On Dec 4, 11:34 am, Eric Martin emarti...@gmail.com wrote: A new version ofSimpleModalhas been released. It contains

[jQuery] Re: using cycle for website navigation, choppy in firefox

2008-12-16 Thread Mike Alsup
I am creating a website for my company.  I am using the cycle plugin to navigate horizontally between pages.  The plugin is awesome.  However the site is starting to get pretty full and I've just added something that has made the cycle navigation choppy, just in firefox.  The site is not

[jQuery] Re: Using the not() filter

2008-12-16 Thread WhoButSB
I gave this a try: $(input:not(#addNewAddress:input, #addNewContactDetail:input)).focus (); And the function would still run :-/ . Maybe I should use the input selector then add a class to the ones i don't want to grab and use the hasClass method to return a false for the ones not supposed to

[jQuery] One click spreadsheet from table

2008-12-16 Thread GasGiant
Thinking out loud I want to create a one-click solution that turns any table into a CSV file and opens the CSV file with whatever app is the default for .csv files. I know that I can turn any result set into a CSV file with PHP, but that involves writing a file to disk and then prompting the

[jQuery] Problem on jquery 1.2.6 with ie6

2008-12-16 Thread m.ugues
Hallo all. I'm using domWindow with jQuery 1.2.6.min and I have a big problem on core library. When I open a domWindow on Firefox i receive this error, but the domWindow works anyway. Error: jQuery.easing[this.options.easing || (jQuery.easing.swing ? swing : linear)] is not a function Source

[jQuery] More About jQuery's Web Browser Compatibility

2008-12-16 Thread tallvanilla
Hey All, The jQuery website states clearly that jQuery is compatible with the following web browsers: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+ Unfortunately, that's the only info I could find in the docs about browser compatibility. I know jQuery is compatible with Camino as well (which is

[jQuery] Re: Using the not() filter

2008-12-16 Thread Ricardo Tomasi
Try this: var unwanted = $('#addNewAdress,#addNewContactDetail'); $('input').not(unwanted).click(function(){ console.log(this.id); }); This is exactly the same as your first posted code, I just tested and it works. What does your HTML look like? On Dec 16, 1:26 pm, WhoButSB

[jQuery] Re: Smart image resizing Idea

2008-12-16 Thread Eric Hobo Garside
The scaling plugin is located here: http://snipplr.com/view/10532/jquery-scaling-plugin/ It allows you to call the scale method on any object, providing it a target to scale to. More is explained in the snipplr comments, but feel free to ask. On Dec 16, 12:40 pm, Eric \Hobo\ Garside

[jQuery] Re: jQuery and PHP form problem

2008-12-16 Thread Cam Spiers
Just as a side note.. if(isset($_POST['search_button'])){ echo $_POST['search_field']; } You should use an isset()

[jQuery] Re: open-closed divs

2008-12-16 Thread hasan tayyar beşik
padding my dear. padding is important. look your new plain code (plain of padding only) : http://www.shortText.com/xgmuesd On 15 Aralık, 13:34, mephisto yasemenkara...@gmail.com wrote: Hi; This is my open-closed divs: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

[jQuery] Re: Using the not() filter

2008-12-16 Thread Ricardo Tomasi
by the way: Is #addNewAdress the input itself? Maybe what you're looking for is #addNewAdress :input. Again, seeing the relevant HTML would help. On Dec 16, 1:26 pm, WhoButSB whobu...@gmail.com wrote: I gave this a try: $(input:not(#addNewAddress:input, #addNewContactDetail:input)).focus ();

[jQuery] Re: [TUTORIAL] Creating an OS Web Interface in jQuery (Part I)

2008-12-16 Thread Rick Faircloth
Great idea, Adrian! Good work! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of AdrianMG Sent: Tuesday, December 16, 2008 7:57 AM To: jQuery (English) Subject: [jQuery] [TUTORIAL] Creating an OS Web Interface in jQuery

[jQuery] Re: One click spreadsheet from table

2008-12-16 Thread tlphipps
You'll definitely have to use something server-side to accomplish this. But if I follow what you're after, you don't actually have to write the data into a file. You could pass the data to the PHP script via a GET or POST request, then have PHP send the correct headers for a file download

[jQuery] Re: Opening a popup question

2008-12-16 Thread heohni
$(document).ready(function(){ $(.imageLink).click(function(){ $(#hidden).attr(src,$(this).attr('href')); var href = $(this).attr('href'); window.open('popup.php?img=' + href + '', 'packpilot',

[jQuery] Re: my test passes the first time, but fails the second time

2008-12-16 Thread nachocab
Thanks a lot for your interest Michael, You've taught me a great lesson about pasting incomplete code. It won't happen again :) http://pastie.org/340326 After investigating for a few hours I found out that the problem was pretty much related with what QuadCom was saying —even though I wasn't

[jQuery] question about remove()

2008-12-16 Thread jack
Hi, all I used a lot of remove to replace all td except the fist one of a table's row with user interactive. such as followings: $.ajax({ url: the_url, success: function(xreturn_val){ if(check_ajax_resp(xreturn_val) === true){

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-16 Thread Gilles (Webunity)
I turned around the redirect issue by making sure that I return data to the plugin and use the severData callback to invoke an ajax reload of the div containing the uploaded picture. Oke ;) The format for passing additional parameters is a simple object in the form of { name: value, name:

[jQuery] Re: Using the not() filter

2008-12-16 Thread WhoButSB
Thanks Ricardo after lunch I will give that a try. No the Id is not the input itself it a actually the parent div and there are a collection of inputs in the div. I would post my HTML but there is so much php looping and conditions that it would just Mqke this thread more confusing. On Dec 16,

[jQuery] Re: resizing slow with a fluid height

2008-12-16 Thread Jonathan
Has anyone had the chance to check this out? I'd really appreciate it. On Dec 12, 4:24 pm, Jonathan jondme...@gmail.com wrote: Hey, I'm using the jCarousel to fill a page vertically, while the remains fixed. In order to do this I wrote a function that gets the height of the browser window

[jQuery] Re: More About jQuery's Web Browser Compatibility

2008-12-16 Thread Eric Martin
I know that Safari for Windows is supported. I believe IE for MAC falls under the 5.x line, which is not supported. Unsure about Camino. On Dec 16, 9:59 am, tallvanilla tallvani...@gmail.com wrote: Hey All, The jQuery website states clearly that jQuery is compatible with the following web

[jQuery] Re: Advance Cycle synchronize image thumnail pager

2008-12-16 Thread Mike Alsup
I was trying to create an advance thumbnail pager with synchronize transition with content slide show. Objectives: a.    When the next ( ) is pressed, it should highlight the next (first) item in the next batch in the pager and show the content slide show. b.    When the previous () is

[jQuery] Re: Trying to assign onClick to a link

2008-12-16 Thread Michael Price
Matt wrote: Hi everyone, I'm very new to jQuery and am trying to have a div toggle between hidden and shown using the slideToggle function. This is my code that I have in the head of my html: $(document).ready(function(){ $('a#link').click(

[jQuery] Re: Optimized Code

2008-12-16 Thread Kean
It's interesting to know that $.map and $.grep can be used to a more generalized approach to this problem. Issya, you should look at Scott's code as it is extensible for future use. Definitely learned something new today. On Dec 15, 8:14 pm, Scott Sauyet li...@sauyet.com wrote: issya wrote: I

[jQuery] Re: Trying to assign onClick to a link

2008-12-16 Thread Matt
Worked perfectly. Thanks Michael and Mike!! On Dec 16, 6:43 am, Michael Price m...@edwardrobertson.co.uk wrote: Matt wrote: Hi everyone, I'm very new to jQuery and am trying to have a div toggle between hidden and shown using the slideToggle function. This is my code that I have in the

[jQuery] Is this syntax correct?

2008-12-16 Thread Rick Faircloth
I get no errors, but no response, either. I tried just using $('#emailaddress').blur... without the input, but then I got a val undefined error. script $(document).ready(function() { $('input #emailaddress').blur(function() {

[jQuery] Re: Why won't this work?

2008-12-16 Thread Rick Faircloth
I got the #emailError message to hide, but now I'm trying to figure out how to get it to display onblur of the input. I sent another message to the list for that concern. Thanks, Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie

[jQuery] Re: Is this syntax correct?

2008-12-16 Thread MorningZ
It looks like there is a space between input and #emailaddress and that makes no sense as that will say: give me the control with id #emailaddress that is a descendant of input and input controls do not have descendants On Dec 16, 1:27 pm, Rick Faircloth r...@whitestonemedia.com wrote: I

[jQuery] Re: [TUTORIAL] Creating an OS Web Interface in jQuery (Part I)

2008-12-16 Thread Rick Faircloth
what does this offer? You are so encouraging, Liam! Two things you should make note of in Adrian's remarks: 1) First Part of this series of tutorials 2) OS Web Interface i.e., it's the first steps in a potentially useful interface and as an OS Web Interface it's purpose is to provide

[jQuery] Re: ajax error handling troubles

2008-12-16 Thread Mike Alsup
jQuery.ajax({         type: 'GET',         url: http://picasaweb.google.com/data/feed/base/user/ picasa_non_esistent_user?kind=albumalt=json,         dataType: 'jsonp',         error: function (xhr, ajaxOptions, thrownError) {             alert(error triggered);             if(xhr.status

[jQuery] Re: Optimized Code

2008-12-16 Thread Ricardo Tomasi
I'd write it like this: $(document).ready(function(){ function hideOthers(){ var sel = $('div.'+ $(what).val() || 'city' ); $('div').not(sel).hide(); sel.show(); }; hideOthers('input:checked'); $('input').click(function(){ hideOthers(this);

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread Liam Potter
use a tables it's ridiculous to use divs to replace a table, when you are showing a table. tableless designs doesn't mean not using tables at all, just not using it to structure the site layout. If you have tabular data, use a table. thousands of divs is going to slowdown any browser and

[jQuery] Re: jQuery and PHP form problem

2008-12-16 Thread Alexandre Plennevaux
especially with available tools like jsbin ! http://jsbin.com/ if the google group app would allow it, i would include an invitation to use it in my signature but that 's not possible or is it? On Tue, Dec 16, 2008 at 12:29 PM, Mike Alsup mal...@gmail.com wrote: I GOT IT. How to explain

[jQuery] Re: Suckerfish z-index issues in IE

2008-12-16 Thread Karl Swedberg
Hi there, give #valuechain position: relative and z-index: 2 if that doesn't solve the problem, give #col-2 z-index: 1 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 16, 2008, at 2:31 AM, Timid wrote: Hi, i'm struggling with IE6 and IE7 z-index

[jQuery] [Selector] Selecting Similar Elements Until Reach The End of Loop

2008-12-16 Thread Didik Wicaksono
Hello, I'm new to jQuery and found this as my first problem that I can't solve so far. I have a case of selecting an element to perform specific event to each of them. For quick explanation please see this: ul class=tabnav lia href=#content1Click to Show Content 1/a/li lia href=#content2Click to

[jQuery] Re: Is this syntax correct?

2008-12-16 Thread Rick Faircloth
Thanks for the reply, MorningZ... When I write it like this $('input#emailaddress') I get a this.val undefined error... How should it be? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Tuesday, December 16, 2008

[jQuery] Re: History Plug-In

2008-12-16 Thread Olivier Percebois-Garve
http://stilbuero.de/jquery/history/ What you want to do is ok, you'll just need to change the window.location.* hash* in the callback of your ajax request. On Tue, Dec 16, 2008 at 5:12 PM, russellneufeld russellneuf...@gmail.comwrote: Hi all, This question has been asked before but there

[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
okay, I've figured this out. the problem I was having was a combination of 1) ie's $(element).change() event doesn't fire until after the element looses focus (i use click() instead) and 2) refreshing ie doesn't always refresh the page, there's some funky caching going on so the changes I had

[jQuery] Re: Is this syntax correct?

2008-12-16 Thread Mike Alsup
When I write it like this $('input#emailaddress') I get a this.val undefined error... That's because 'val' is not a property on a that element. You want 'value'.

[jQuery] Re: Using the not() filter

2008-12-16 Thread Ricardo Tomasi
Right, so that explains all. Nobody paid any attention to the nested in certain DIVs part, including me: $('input').filter(function(){ return !$(this).parent().is('#addNewAdress,#addNewContactDetail'); }).click(function(){ console.log(this.id); }); read on about the filter function at

[jQuery] Re: Smart image resizing Idea

2008-12-16 Thread donb
Are you aware of the CSS height:auto (and width:auto) properties? Set the width to whatever value you want and the height will maintain the relation between the width and height automatically (maintains aspect ratio). Or are you talking about dynamically stretching the image, not knowing the

  1   2   >