Re: [jQuery] Validation Question

2009-11-24 Thread Jörn Zaefferer
Only fields present in the form are validated. Rules not matching any element are ignored, so yes, you can just merge those. Jörn On Wed, Nov 25, 2009 at 12:24 AM, Dave Maharaj :: WidePixels.com < d...@widepixels.com> wrote: > I submit my form , check valid, valid then away it goes. > > I was wo

[jQuery] Hi

2009-11-24 Thread Raju
Hi All, I need a chat script to embed into my website, can anyone help me to find the script, Warm Regards, Mari Raj K,

Re: [jQuery] Create a function?

2009-11-24 Thread Michael Geary
Is setValidation in fact defined? What do you get if you enter setValidation (just the name) into the Firebug console or do a Watch on it? Does it show it being a function? Suggest you find a way to post a test page, otherwise we could be playing 20 questions for a while... :-) On Tue, Nov 24, 20

Re: [jQuery] Re: list bullet style

2009-11-24 Thread Karl Swedberg
Why not use an and wrap the text of each in a ? It's not pretty, but it works. List Item List Item List Item ol li {font-weight: bold; } ol li span {font-weight: normal; } If for some reason you can't put the spans in the actual markup, you could do $('ol li').wrapInner('') --K

Re: [jQuery] Cluetip - Sticky pulling inline content

2009-11-24 Thread Karl Swedberg
You can probably fix it by adding this to your CSS: #cluetip #hidden { display:block; } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 24, 2009, at 8:16 PM, christopherious wrote: I have a Cluetip that is pulling content from a hiddden div on the pag

[jQuery] Re: JQuery and ColdFusion

2009-11-24 Thread Westside
Hi, You're right, the problem was due to not passing the request through index.cfm. I am using Fusebox as you mentioned. Thanks! On Nov 20, 1:26 pm, Dave Evartt wrote: > I use ColdFusion and jQuery all the time with no problems. In fact, I > use it with mach-ii.  Looks like you're using fusebo

[jQuery] validation by ID?

2009-11-24 Thread pcoder
Hi, I have having problem on validating the dynamic form. Can I do the validation by element ID rather than element NAME? Can I generate the validation rules by taking the element ID? I need your help guys. Thanks

Re: [jQuery] Cancel Selected An Item of Selectable

2009-11-24 Thread Richard D. Worth
We'd be happy to help you over here: http://groups.google.com/group/jquery-ui Please post a live sample page showing the problem. If you don't have a way to host one, please create one on jsbin.com: http://jsbin.com/ - Richard On Tue, Nov 24, 2009 at 1

RE: [jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
Sorry its only local right now so I will try to add as much as I can here. Page with a form has: Normal html code with my #newAward form, then at the bottom of the page $(document).ready( function() { setValidation('#newAw

[jQuery] Re: toggleClass not working correctly in IE7

2009-11-24 Thread lukas
I fixed it by removing toggleClass and mark it up differently.

[jQuery] Re: Binding multiple markups to multiple markups?

2009-11-24 Thread Photonic
bah... so simple. If anyone else runs into this problem, just use the next function for jQuery: $(document).ready(function(){ $('.video').hide(); $('.videoLink').click(function(){ $(this).next(".video").toggle("slow,");

Re: [jQuery] is there a good way to open show an iframe in a jQuery dialog window?

2009-11-24 Thread Richard D. Worth
If by jquery dialog window you mean jQuery UI Dialog, please ask here: http://groups.google.com/group/jquery-ui If you mean another plugin, please specify which one. Thanks. - Richard On Tue, Nov 24, 2009 at 7:32 PM, thisisvlad wrote: > > i want to use a jquery dialog window to show an iframe

[jQuery] Re: Binding multiple markups to multiple markups?

2009-11-24 Thread Photonic
I have pretty much given up... I don't think it is possible. So instead I was going to use individual names... but thats not even working: var videoLinks = $('.videoLink') for(var X = 0; X < videoLinks.length; X++) { $('#videoLink' + X).bin

[jQuery] Using add/remove class vs. show hide for a swap out section?

2009-11-24 Thread rorourke
I'm mostly a CSS/HTML guy, so delving into jQuery is a bit more then my normal task list would contain, but I'm happy to suck up any knowledge that you may be able to impart. Here is my scenario: I have four div's each has a different class in additon to the .content class (which controls font a

Re: [jQuery] Create a function?

2009-11-24 Thread Michael Geary
Do you have a tag to load your external .js file? Post a link to a test page and I can tell you for sure what's wrong. -Mike On Tue, Nov 24, 2009 at 6:33 PM, Dave Maharaj :: WidePixels.com < d...@widepixels.com> wrote: > Sorry. I cant seem to get it to go. > > Maybe I did not clearly explain t

[jQuery] toggleClass not working correctly in IE7

2009-11-24 Thread lukas
I am using toggleClass and I am surprised that the according jumps in IE7 down a container height. When I hover over with my mouse it eventually jumps back into the correct position. Padding, margins are all set. It's a floating , width is specified. Can anybody give me a hint? Thank you!!

RE: [jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
Sorry. I cant seem to get it to go. Maybe I did not clearly explain the problem. I want to put the function like you have below in my external js, then on my html pages that have a form just set it up so all I have to do is include the setValidation( '#newAward', validate_awards ); on those pages

RE: [jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
Thank you very much. I will try it out. Dave -Original Message- From: Michael Geary [mailto:m...@mg.to] Sent: November-24-09 10:02 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Create a function? Your code could end up looking something like this: function setValidation( se

Re: [jQuery] Create a function?

2009-11-24 Thread Michael Geary
Your code could end up looking something like this: function setValidation( selector, validator ) { $(document).ready( function() { var $form = $(selector); $form.submit( function() { $form.validate( validator ); var valid = $(this).valid();

Re: [jQuery] Invalid argument jquery.min.1.3.2.js Code 0 IE7,IE8

2009-11-24 Thread Michael Geary
You found that this line is triggering the error: $(menu_node).css({"left":"-"+total_widths+"px"}); But you haven't told us what the value of the total_widths variable at this point in the code. The content of that variable will reveal the problem. Also, there are a few things you can do to opti

[jQuery] Cluetip - Sticky pulling inline content

2009-11-24 Thread christopherious
I have a Cluetip that is pulling content from a hiddden div on the page that is only, obviously, visible when the cluetip is invoked. Everything is working well except under IE, where the content does not show. I think this is probably just a simple CSS fix, but I'm stuck. Help! Here is what I'm

[jQuery] [validate] - errorPlacement help

2009-11-24 Thread Loony2nz
Hello, I'm having difficulty traversing the DOM with the validate plugin. I'm sure Jorn can figure this out quikcly :) I'm trying to target the error message to be placed in the tag. This tag can be any # of elements past the input or checkbox or whatever is being validated. Here's a sample:

[jQuery] Re: Invalid argument jquery.min.1.3.2.js Code 0 IE7,IE8

2009-11-24 Thread KevIsAZombie
I'm am currently struggling with the same issue right now. Looks like it might have to do with the way jquery pulls an elements width or height and IE's padding messes it up checkout: http://old.nabble.com/Invalid-Argument-Line-12-1.3.2-IE-7-and-8rc1-td22410753s27240.html Ouptput your total_width

[jQuery] Binding multiple markups to multiple markups?

2009-11-24 Thread Photonic
I am new to jQuery, and I attempted to search this forum, as well as go through most of the tutorials. I could not find out if this was possible. I am attempting to create a list of links that, when clicked, will show a div section below them. Now, I can do that individually. However, I would like

Re: [jQuery] Sumbit multiple checkboxes via ajax to php script using jQuery

2009-11-24 Thread Bryan Garaventa
I'd recommend serializing the array into a string, then reverse the serialization on the server side using PHP. This way, you can pass the array string within a url. Hope this helps, Bryan Garaventa - Original Message - From: "Bonji" To: "jQuery (English)" Sent: Tuesday, November 24

[jQuery] Debuging AJAX

2009-11-24 Thread Rockinelle
Hey everyone, I've been trying to make a .post work for me and I'm using firebug to attempt to debug my problems. I am trying to use ajax to process a form and from what I can tell in Firebug, I am not getting a response. Now I have removed the action in the form itself so it's just reloads the pa

[jQuery] is there a good way to open show an iframe in a jQuery dialog window?

2009-11-24 Thread thisisvlad
i want to use a jquery dialog window to show an iframe. i am running into all sorts of issues. first off, i want the dialog to only show when the iframe is loaded. i tried to create the iframe w/ visibility set to hidden, and then do a .dialog() on it, but apparent jquery appends the iframe t

[jQuery] Sumbit multiple checkboxes via ajax to php script using jQuery

2009-11-24 Thread Bonji
Hi, I am working on improvements for a web app. It currently submits checkboxes to a php script for processing by simply submitting the form naturally. However i require this action using a ajax post to save bandwidth etc. and im struggling to work out how to do this. Im familiar with normal ajax

[jQuery] Create a function?

2009-11-24 Thread Dave Maharaj :: WidePixels.com
I have the exact same code on every page where a form gets submitted. How can i turn that into a simple function? The only thing that changes is the $(this).validate(validate_awards) and the form ID; It would be so much easier if the function was in one place and called where needed but I cant f

Re: [jQuery] detecting load

2009-11-24 Thread Alan Gutierrez
sqwerl wrote: I need to detect when one of these loads like the load event of like $("#imageId").load(function(){ }); I have a background div with a spinner gif that shows until the image loads. The image button is mostly transparent except it shows a small image placeholder and some alt text

[jQuery] Validation Question

2009-11-24 Thread Dave Maharaj :: WidePixels.com
I submit my form , check valid, valid then away it goes. I was wondering 1 thing. I have $(this).validate(validate_awards); var valid = $(this).valid(); if (valid) { do my stuff } Now I have validate_awards which contains my rules for validation var validate_awards = { keyu

Re: [jQuery] $.getScript results in two requests!

2009-11-24 Thread Michael Geary
Can you post a link to a test page? Pretty hard to troubleshoot by just looking at the headers. Of course, someone will come along and troubleshoot it from the headers alone and prove me wrong! :-) -Mike On Tue, Nov 24, 2009 at 6:50 AM, Eric wrote: > Hey there, > > A $.getScript() call I am m

Re: [jQuery] (this[0].ownerDocument || this[0]).createDocumentFragment is not a function

2009-11-24 Thread Michael Geary
You have too much of "this". :-) Remember that every function you call may have a different "this". Just because you had a "this" in an outer function with the value you want, it doesn't mean that some other function you call will have the same "this" - even if it's nested inside that outer functi

Re: [jQuery] detecting load

2009-11-24 Thread Alan Gutierrez
sqwerl wrote: I need to detect when one of these loads like the load event of like $("#imageId").load(function(){ }); I have a background div with a spinner gif that shows until the image loads. The image button is mostly transparent except it shows a small image placeholder and some alt text

Re: [jQuery] (this[0].ownerDocument || this[0]).createDocumentFragment is not a function

2009-11-24 Thread Michel Belleville
If I were you I'd try to log what "this" is inside your second get's scope, and I bet you'll be surprised to notice it's not what it was outside the second get. That's why you should put your previous "this" in a variable so when "this" changes with the scope the other variable still holds who you'

Re: [jQuery] Re: Closure/scope

2009-11-24 Thread Michael Geary
That code will certainly do the trick. Because your anonymous function expression simply calls crossfade(), you're essentially doing the same as this: cInterval = window.setInterval( crossfade, 5000 ); Well, there is a subtle difference. Your code below doesn't evaluate the name "crossfade" u

[jQuery] Re: jQuery Ajax BlockUI Database

2009-11-24 Thread Mike Alsup
You can do this with blockUI if what you're planning to display is reasonably succinct. When you have the database results in your ajax callback, assuming it is HTML, you can do something like this: $.get(someUrl, function(data) { var html = '' + data + 'OK'; $.blockUI({ message: html });

[jQuery] (this[0].ownerDocument || this[0]).createDocumentFragment is not a function

2009-11-24 Thread coffeecup
Hello, iam experimenting a little bit with jquery and have encountered the following problem. my project is a calendar which can be browsed and is drawed with ajax and events can be added, when clicking a day of the current month a div pops up which contains the overview of the selected day and l

[jQuery] (TreeView) Slowdown into a tree with 600+ nodes

2009-11-24 Thread MarceloReborn
http : // img517 . imageshack . us /img517/ 3318/ alerta. jpg (it's in portuguese) It's a famous alert box saying that my JS script is slowing down the loading, asking if I wanna continue, or interrupt. I've tried so many things to speed up that part of script, but I was unsucessfull. I'll only de

[jQuery] Jquery carousel and accordian not playing nice together

2009-11-24 Thread rkrause
Hi, Need a bit of guidance. I have a web site page (www.awebgeek.com/ health) that has a few jquery components on it (ie. slider, carousel and accordian). My problem is specifically focused on the "meet our team" portion of the accordian. Currently, the default panel set to open is #3 (meet our

[jQuery] Please help to check the form...

2009-11-24 Thread Andre Polykanine
Hello everyone, I'm rather new to JQuery, so please don't be too strict). I'm checking user input in the form. The form is usual but there's rather many check-outs. I preferred to display them Div's if the fields are not completed or are completet incorrectly. What I'm trying to do is to keep the S

[jQuery] superfish- image based.

2009-11-24 Thread crippletoe
Hello, i am using superfish in Joomla and i am trying to create a menu that uses image links for the first level and simple text for the other levels (the sub-menus), i have been trying to figure out how to do this but so far no real success. does anyone has any idea about this? thanks.

[jQuery] detecting load

2009-11-24 Thread sqwerl
I need to detect when one of these loads like the load event of like $("#imageId").load(function(){ }); I have a background div with a spinner gif that shows until the image loads. The image button is mostly transparent except it shows a small image placeholder and some alt text until the image

[jQuery] Problems - editing the Superfish Menue

2009-11-24 Thread Der_Beni
Hi, im using the superfish-mod for joomla and everthing is working fine, but i can't figure out how to edit different hover styles for first- level and second level menue-items. They look always the same.i just want to have different states for first level/first level hover and second level/se

[jQuery] Re: Closure/scope

2009-11-24 Thread Magnificent
Hi Mike, Thanks much for your reply. I dropped in an anonymous function and that fixed it: cInterval = window.setInterval(function() { crossfade(); }, 5000); I tried calling crossfade() without quotes, but FF gave me a missing quotes error.

Re: [jQuery] Closure/scope

2009-11-24 Thread Michael Geary
message.replace( 'setTimeout', 'setInterval' ); :-) On Tue, Nov 24, 2009 at 10:30 AM, Michael Geary wrote: > The problem is in your setTimeout() call. > > When you pass a string argument to setTimeout(), that string is evaluated > *in the global context*. > > Instead, pass a function to setTime

Re: [jQuery] Closure/scope

2009-11-24 Thread Michael Geary
The problem is in your setTimeout() call. When you pass a string argument to setTimeout(), that string is evaluated *in the global context*. Instead, pass a function to setTimeout() and that function will be executed in the scope you expect. Since you're just calling a single function anyway, yo

Re: [jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread Michel Belleville
jQuery provides : jQuery(function() { // this is executed as soon as the page is fully loaded }); Michel Belleville 2009/11/24 Rockinelle > How do I make sure the external page is fully loaded before I try to > bind events to it? > > On Nov 24, 9:43 am, Michel Belleville > wrote: > > You can

[jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread Rockinelle
How do I make sure the external page is fully loaded before I try to bind events to it? On Nov 24, 9:43 am, Michel Belleville wrote: > You can use live as soon as your page can execute JavaScript as far as I'm > aware, though if you mix the approaches (live can't do everything bound > events can

Re: [jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread Michel Belleville
You can use live as soon as your page can execute JavaScript as far as I'm aware, though if you mix the approaches (live can't do everything bound events can do, for exemple catching a form submission as for now) you'd probably stay on the safer side doing everything once the page is fully loaded.

[jQuery] Re: Closure/scope

2009-11-24 Thread Magnificent
Looks like I didn't forget it, google appears to be stripping it out. Anyways, my anonymous function is closed and invoked with the jQuery object, I just can't include that here.

[jQuery] Re: Closure/scope

2009-11-24 Thread Magnificent
Looks like I forgot the end of the anon function, should look like: (function($) { //vars up here that internal functions can access //also using some jquery inside here, so using $ function crossfade() { //body here } //other functions

[jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread Rockinelle
Ok the live technique worked, thanks! I understand the idea of binding it after the documents is loaded. Is that more than a matter of binding it after the ajax call, or *must* I use .live so that it waits for the page to load before binding? On Nov 24, 6:17 am, bhu Boue vidya wrote: > i think it

[jQuery] Closure/scope

2009-11-24 Thread Magnificent
Hello all, I'm trying to group some exisiting top-level functions inside a closure (to avoid polluting the global namespace) but I'm not quite getting it to work. First, all the JS works outside my anonymous function, but once I put it in the anonymous function I get an error of "crossfade is not

[jQuery] Looking for suggestions on drop down

2009-11-24 Thread Atkinson, Sarah
I have 3 dropdowns and depending and when the value of one changes the value of the others has to change. What should be my best approach of attacking this problems? I was thinking of righting a function for each different possibility and then jut removing and adding the possible values but this

[jQuery] append iframe problem

2009-11-24 Thread MartinBorthiry
Hello: I'm trying to move content from div A to div B without execute the scripts inside A. Move it is the easy part: var d = $('#B')[0]; $('#A > *').each(function(){ if(this.tagName.toUpperCase()!=='SCRIPT'){ d.appendChild(this); }

Re: [jQuery] books to help indoctrinate java developers?

2009-11-24 Thread Charlie Griefer
On Tue, Nov 24, 2009 at 7:24 AM, mattkime wrote: > I recently convinced my company to go with jQuery. (yaaay!) and now > i've been tasked with spreading my knowledge around. i was curious if > anyone could recommend books to put in the hands of experienced > programmers who are new to javascript.

[jQuery] Not so smooth drop down

2009-11-24 Thread AdeOduye
Hi guys, if you go to this http://www.taylorsofstjames.co.uk site and rapiding go on and off the "seasoned charts" menu you will notice when you take your mouse away, the animation just keeps going. I don't know why it's so messy but I hope someone can help . The code is below :

[jQuery] Re: GET id value from url in jQuery

2009-11-24 Thread dziobacz
thx You all people :)) On 24 Lis, 16:28, MorningZ wrote: > Example: > > http://jsbin.com/ihehu/edit

Re: [jQuery] jquery help

2009-11-24 Thread Bjorn Symister
Sorry, the link came through with an extra ³ at the end. Below is the link. If that doesn¹t give enough information, I am open to Instant messaging. http://newyork.craigslist.org/que/cpg/1479652385.html On 11/24/09 9:25 AM, "Michel Belleville" wrote: > Hmm, seems like the url on craig's lis

[jQuery] Re: GET id value from url in jQuery

2009-11-24 Thread MorningZ
Example: http://jsbin.com/ihehu/edit

[jQuery] Re: GET id value from url in jQuery

2009-11-24 Thread KeeganWatkins
inside of the function that you pass to click(), the keyword "this" will point to the raw DOM element that dispatched the event. so, in your example, you need to add: $(document).ready( function () { $(".delete").click(function() {

[jQuery] books to help indoctrinate java developers?

2009-11-24 Thread mattkime
I recently convinced my company to go with jQuery. (yaaay!) and now i've been tasked with spreading my knowledge around. i was curious if anyone could recommend books to put in the hands of experienced programmers who are new to javascript. for the basics, I'd point them to JavaScript: The Good Par

Re: [jQuery] GET id value from url in jQuery

2009-11-24 Thread Michel Belleville
When someone .click(function() { ... }) on $(this), $(this) is very interesting, and I'm not saying that just because $(this).attr('href') is even more relevant to your interests. And $(this) is also interesting when you're running through .each(function() { ... }) elements of a $('#jquery .collec

[jQuery] Re: list bullet style

2009-11-24 Thread KeeganWatkins
i'm not sure i understand... hard-coded numbering? something like this (?) : HTML 1 List Item 2 List Item 3 List Item if you are looking for a numbered list, you should be using the tag, although the tag is going to have the same limitations... you can set a background image for the numbers,

[jQuery] GET id value from url in jQuery

2009-11-24 Thread dziobacz
How can I take value of ID clicked link in jQuery ?? I have links: delete delete delete . My jQuery script: $(document).ready( function () { $(".delete").click(function() { $.post("delet

Re: [jQuery] problem in slider effect

2009-11-24 Thread Michel Belleville
First of all a little advice, it's probably better to use jQuery's event management than placing onMouseOver or onMouseOut in your html. Here's how to do it : jQuery(function($) { $('.opener').mouseover( function() { $("#test").slideDown("slow"); } ); $('#test').mouseout( function() { $("#test").s

[jQuery] $.getScript results in two requests!

2009-11-24 Thread Eric
Hey there, A $.getScript() call I am making results in two seperate requests to the server. Any chance I can avoid that? Here are the headers: GET server.file?param1=param2 HTTP/1.1 Host: server User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20

Re: [jQuery] JQuery value set delay

2009-11-24 Thread Michel Belleville
I think I've had something similar once, I'm not sure how I got it to work properly but you can try something on lines of : setTimeout("$('#pm_form').submit();", 1); So you've returned and applied the changed before the form actually submits. Michel Belleville 2009/11/24 achmad dodi > Hello,

Re: [jQuery] jquery help

2009-11-24 Thread Michel Belleville
Hmm, seems like the url on craig's list is stale or something, but as soon as I get more details it's possible that I can point to the cause of your troubles. Regards. Michel Belleville 2009/11/24 Bjorn Symister > Thanks Michael, and I wont take it the wrong way, its business, nothing > pers

Re: [jQuery] jquery help

2009-11-24 Thread Bjorn Symister
Thanks Michael, and I wont take it the wrong way, its business, nothing personal :). For some reason I think I¹m just not explaining myself properly. I have written the code according to how I stated the problem and the data does not get transferred. I have placed the problem up on craigslist ye

[jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread bhu Boue vidya
i think its because you are binding the handler to a DOM element before it exists if you use the 'live' method you may get what you want ie $().ready(function() { $('#submit1').live('click', function() { alert('it works!'); }); }); alternately, bind the event handler *after* the

Re: [jQuery] image refresh problem due to browser cache

2009-11-24 Thread MentalCecil
Did you find a solution on this? Is exactly what i need! I try to make the same thing with a image on my website a long time and i can't make it... If you have a solution please post here! Thank you -- View this message in context: http://old.nabble.com/image-refresh-problem-due-to-browser-cache

[jQuery] Possible Scan (Attacks) with Java/1.6.0_16 --> /jQuery/){F.html(E?o(

2009-11-24 Thread Christopher
Hello, I analysed my logs and found some strange entrys. I only want to know if I can check myself like the attacker it tried with a automatic programm I think. Like this: Java/1.6.0_16 Ref: - [17:13:13] 404 /atlas/' [17:13:13] 404 /atlas/functions.php [17:13:13] /spielfeld/'+ [17:13:13

[jQuery] JQuery value set delay

2009-11-24 Thread achmad dodi
Hello, I have a problem with submitting a form using a link, multiple link here is an example link i'm gonna use: Mark as > Read Remove to Trash > the result I expect is when the link is clicked, a hidden input value replaced with `rel` attribute on the link and then submit the form, and here i

[jQuery] Re: update div with textarea length

2009-11-24 Thread [jQuery-Br] Ruan Carlos
http://web.djalmaaraujo.com.br/projects/jquery/jquerylimitinput/0.2.1/example.html maybe it's works. On 24 nov, 07:29, Michel Belleville wrote: > As long as it's working now kudos. > > Regards. > > Michel Belleville > > 2009/11/24 rjc > > > > > I'm sorry Michel, I edited my last reply because I

Re: [jQuery] Cannot get columns with rowspan to not be included in sorting (Tablesorter 2.0)

2009-11-24 Thread BStramke
I tried this with the latest version (2.0.3), which did not work, so i copied the Version 2.0 from your http://lovepeacenukes.com/tablesorter/2.0/docs/shows URL and used it successfully. Robert H.-2 wrote: > > I downloaded the source from there, does anyone use this feature with > the latest

[jQuery] problem in slider effect

2009-11-24 Thread swetha
Hi, I am new to jQuery and I have a doubt in slider effect. I just wanted to replace js with jQuery in my website. I have a dropdown link in my site, for that i am using slideDown, slideUp effects. I need slideDown for onMouseOver and slideUp for onMouseOut. I gave slideDown link to the text and

[jQuery] Cancel Selected An Item of Selectable

2009-11-24 Thread I'm Jack
I used jQuery ui selectable function on my web page. So long it works fine, but I find a problem that if we’ve already selected some items, and I want to cancel selected one item of them, how could we do? I try to bind a click function to the elements to remove the style of ui- selected, but it doe

[jQuery] What do you guys think about the idea of a JQuery Plugins Development book

2009-11-24 Thread Chaitanya Apte
Hi all, I am Chaitanya Apte, an Acquisition Editor with Packt Publishing. I am in the process of developing a book idea on jQuery Plugins Development, which would be targeting jQuery Beginners . Do you think this is a good idea? If so, what would you all like to see in such a book.

[jQuery] Cancel Selected An Item of Selectable

2009-11-24 Thread I'm Jack
I used jQuery ui selectable function on my web page. So long it works fine, but I find a problem that if we’ve already selected some items, and I want to cancel selected one item of them, how could we do? I try to bind a click function to the elements to remove the style of ui- selected, but it doe

[jQuery] Re: JQuery Won't Parse RSS?

2009-11-24 Thread siliconeagle
I am having this exact same problem, the title and descriptions come through fine. seem to be something to do with there being two link attributes. (link and atom:link) var base = $(data).children("channel"); feed.title=base.children("title").text( ); feed.description=base.children("description").

Re: [jQuery] Re: Selecting elements loaded from an AJAX call

2009-11-24 Thread Carlos De Oliveira
That is because you get dinamic data into html tag, and then need to redeclarate function (#foo) to parse html from new DOM. I suggest when you get the table though AJAX, try to get also the Jquery Code (#foo).click. Still better, insert in the TD element in table an attributte called onclick="ja

[jQuery] Re: Reorder list numerically based on attribute?

2009-11-24 Thread welshy1984
thats perfect, so simple i feel a little silly i couldn't suss it out myself. thanks a million On Nov 24, 4:54 am, Karl Swedberg wrote: > Something like this might work... > > var items = $('li').get(); > items.sort(function(a, b) { >      var relA = +$(a).attr('rel'); >      var relB = +$(b).a

Re: [jQuery] Re: Reorder list numerically based on attribute?

2009-11-24 Thread Alexandru Adrian Dinulescu
Thank you very much --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053 CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619 Odesk Profile: http://w

[jQuery] Re: Reorder list numerically based on attribute?

2009-11-24 Thread MorningZ
Alexandru, this Net Tuts posting from a few days ago explains that ".sort" action of JavaScript very nicely and clearly http://net.tutsplus.com/tutorials/javascript-ajax/sorting-values-with-javascript/

Re: [jQuery] Reorder list numerically based on attribute?

2009-11-24 Thread Alexandru Adrian Dinulescu
Sorry to highjack this, but Karl could you somehow describe exactly what that function does, my js is pretty rusty but i would like to understand how it works. Thanks --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML: http://www

Re: [jQuery] slideToggle lag in Firefox

2009-11-24 Thread Alexandru Adrian Dinulescu
Firefox really eats a lot of memory when it's up for a long time. I also encountered that issue not only in sliding but in animations that move stuff around. Problem is that firebug really makes stuff slower, because it shows you real-time what the browser is doing. The console / net thingy also ea

[jQuery] another datagrid plugin for jQuery

2009-11-24 Thread stworthy
Today I publish a new datagrid plugin for jQuery which similar to Flexigrid. Lightweight but have powerful features as following: * Resizable columns * Can convert an ordinary table * Paging * Toolbar * Create columns from tags * Checkbox Selecting * Show row numbers

Re: [jQuery] update div with textarea length

2009-11-24 Thread Michel Belleville
As long as it's working now kudos. Regards. Michel Belleville 2009/11/24 rjc > > I'm sorry Michel, I edited my last reply because I found the error of it > not > working was on my behalf. > > Michel Belleville wrote: > > > > Maybe the problem is somewhere else then. Strings have a .length whi

Re: [jQuery] update div with textarea length

2009-11-24 Thread rjc
I'm sorry Michel, I edited my last reply because I found the error of it not working was on my behalf. Michel Belleville wrote: > > Maybe the problem is somewhere else then. Strings have a .length which is > the number of characters in them, .val() gets the value of the first > element > selecte

Re: [jQuery] update div with textarea length

2009-11-24 Thread Michel Belleville
Maybe the problem is somewhere else then. Strings have a .length which is the number of characters in them, .val() gets the value of the first element selected (input, texarea, select, etc.) and $(this) should only point to your textarea when it's responding to the keyup event. Could you show the u

[jQuery] how to get dynamic button id inside jquery dialog

2009-11-24 Thread chan26
Hi, Does anyone know how to get the dynamic button id inside the jquery dialog.. here i have some code to doing but its not working Below i have to get the id for the Save button.. how to get it.. please help me to find out buttons: { 'Close': function() {

Re: [jQuery] update div with textarea length

2009-11-24 Thread rjc
I would have never thought to use val(), but this solution unfortunately did not work The value still remains as 1 ? -- View this message in context: http://old.nabble.com/update-div-with-textarea-length-tp26492474s27240p26492632.html Sent from the jQuery General Discussion mailing list archive

Re: [jQuery] update div with textarea length

2009-11-24 Thread Michel Belleville
Little confusion here indeed : jQuery wraps selected elements in a "magic array" that keep them warm and ready to respond to any jQuery method, so when you query $(this).length you're asking for jQuery's "magic array"'s length, which is 1 (1 element inside). If you want to get the length of the st

[jQuery] update div with textarea length

2009-11-24 Thread rjc
Hi, i'm updating a div with the length of a textarea. $().ready(function(){ $("#formElement_profileTeamProfile").keyup(function() { var newText = $(this).length; $('#countCharTeamProfile').html(newText); }); }); Every time i ent

[jQuery] Re: jquery tabs not on the same row! help please!

2009-11-24 Thread AdyLim
Thanks Everyone for your help! Sorry for being incognito! I've had a dose of the flu! The problems all seemed to a mix of everything everyone has said here..but the main one was that my page was using a masterpage where there were 3-divs inside each other...then the contentpanel (which is where t

Re: [jQuery] Dynamically Changing the Stored Height of a Parent Div Based on a Child's Content

2009-11-24 Thread Michel Belleville
Doesn't Disqus provide you with a callback of any sort in it's api ? Otherwise maybe you can watch out for dom changes and make it trigger your resizing method. And if you're really desperate there's always good old "let's execute that periodically until whatever happens". Michel Belleville 20