[jQuery] Radio Buttons and .val()

2008-01-23 Thread Matt Quackenbush
Hello, I am using the following to grab the value of a radio button: str = $(input[name='addType']).val(); The XHTML for the radio button is as follows: label for=add-type-1input type=radio name=addType id=add-type-1 value=prem /nbsp;Premium/label label for=add-type-2input type=radio

[jQuery] Re: Radio Buttons and .val()

2008-01-23 Thread Matt Quackenbush
On Jan 23, 2008 3:22 AM, Matt Quackenbush wrote: str = $(input[name='addType']).val(); Why is it that I always find the answer just after I send the email? God knows I hate that. Sorry guys. str = $(input[name='addType']:checked).val(); Thanks again, Matt

[jQuery] Re: Radio Buttons and .val()

2008-01-23 Thread Giovanni Battista Lenoci
Matt Quackenbush ha scritto: str = $(input[name='addType']).val(); Don't know if is the better way, but I use this method: label for=add-type-1input type=radio class=radio_add_type name=addType id=add-type-1 value=prem /nbsp;Premium/label label for=add-type-2input type=radio

[jQuery] Re: Calendar inside a Tab3

2008-01-23 Thread Klaus Hartl
On Jan 22, 8:55 pm, Diego [EMAIL PROTECTED] wrote: argh, its works.. but i have a new problem my old function, with tabhref when i click in other tab. $(function() { var $tabs = $('#container ul').tabs(3, {     click: function() {         $tabs.tabsHref(3,

[jQuery] Re: ui_tabs and form plugin: conflict in IE 6.

2008-01-23 Thread Klaus Hartl
On Jan 22, 11:31 pm, Romiz [EMAIL PROTECTED] wrote: Hello All!!!  I has meet one strange thing in IE6  when use together 2 plugins, such as a href=http://stilbuero.de/jquery/tabs_3/;ui_tabs/a and a href=http://www.malsup.com/jquery/form/;form plugin/a - forms not sent when it loaded in ui

[jQuery] Re: gFeed: Pre-FeedControl()?

2008-01-23 Thread Micky Hulse
Hi Mike! Thanks for the quick reply, I really appreciate your help. That is perfect! Many thanks for sharing your code. I really like what you did with the more recent version -- so easy to use. :) Only thing I am needing is images, and it looks like FeedControl() does not yet allow display of

[jQuery] Re: Add a callback to any method

2008-01-23 Thread h0tzen
i think encapsulating your whole code with parantheses wont work ( $('*').livequery(function(){ . } ).andThen you may use a plugin like this: div class=rating1/div div class=rating2/div div class=rating3/div $.fn.andThen = function(cb) { cb.call(this); return this; }

[jQuery] Re: Add a callback to any method

2008-01-23 Thread h0tzen
i forgot,with an normal each (not using livequery) and a jquery- plugin, it works $.fn.andThen = function(cb) { cb.call(this); return this; } $(document).ready(function() { $('div.rating').each(function() { $('#log').append(li + $(this).text() +

[jQuery] Re: sum of table rows

2008-01-23 Thread pedalpete
I'm not sure if I am getting closer on this or further away. I have a table that looks like this [code] table tr id=newPerson td class=personfirst person/td td class=datediv class=inputspan class=length8/ span/div/td td class=datediv class=inputspan

[jQuery] How to load form fields with JSON

2008-01-23 Thread Santacruz
I'm noob in Jquery, can you show me better way how to load form with JSON - plugin or anything else... I have JSON [{Id:5},{Instance:Hello there Franky}] and I want to load form where key of JSON object is ID

[jQuery] Re: Adding CSS-property therefore traveling the DOM - Problem.

2008-01-23 Thread Charles K. Clarkson
Jayzon wrote: : div class=memberarea : div class=memberpic : a href=# : img src=the_image.jpg alt=Mr. X title=Mr. X / : /a : /div : div class=memberinfo : h4Mister X/h4 : pInfo 1/p : pInfo 2/p : pInfo 3/p : a

[jQuery] Re: Radio Buttons and .val()

2008-01-23 Thread Timothee Groleau
Hi Matt, On Wed, 2008-01-23 at 03:22 -0600, Matt Quackenbush wrote: Hello, I am using the following to grab the value of a radio button: str = $(input[name='addType']).val(); .val() returns the value of the first match element and your query matches both radio buttons. If you want to

[jQuery] Masked input plugin for hour

2008-01-23 Thread Bruno Eustáquio F. Andrade
How accept only the minutes 00, 15, 30, 45 using the masked input plugin for hour?thanks.

[jQuery] Re: Livequery Toggle for newly added row

2008-01-23 Thread h0tzen
read the livequery-docs, there is no signature like livequery(String type, Function handler, Function anotherHandler) quick untested: var init = function() { $(this).toggle(function(e) { $(this).attr(src,images/btnReactivate.gif) }, function(e) { $(this).attr(src,images/btnDeactivate.gif)

[jQuery] SlideToggle crashes in IE6, 7 when used within a table

2008-01-23 Thread John Beeler
Any workarounds? This seems odd to me. See here: asthmatickitty.com/main_john.php (see artistlist on right) Thanks! John.

[jQuery] Re: Adding CSS-property therefore traveling the DOM - Problem.

2008-01-23 Thread besh
Hi Jayzon, $(document).ready(function(){ $(a.email).hover( function () { $ (this).parent().siblings(div.memberpic).children(img).css({margin- left:-210px}); }, function () { $

[jQuery] Plugin Validate - Input text array validation

2008-01-23 Thread JAC
Hi, I'm using validation plugin successfully in various forms, but I have a little problem with a form that have an array of input text like this: ... p label for=input_test_1input_1/label input id=input_test_1 name=input_test[] / /p p label for=input__test_2input_2/label input

[jQuery] Re: Adding CSS-property therefore traveling the DOM - Problem.

2008-01-23 Thread besh
Hi again, in the previous post I put img to the children() method. Of course it should be a... -- Bohdan Ganicky On Jan 22, 11:55 pm, Jayzon [EMAIL PROTECTED] wrote: Hi! To get this right, I'll post the html-part first: div class=memberarea div class=memberpic

[jQuery] know the element clicked with form plugin

2008-01-23 Thread Sebastián V. Würtz
Im using jquery form plugin to make a pagination with prev next, page per page and order link, all inside a form, my problem is that im not using submit buttons , im using link with click event, but i need to know what type of class the link have or it value (is the same). With this value i

[jQuery] Toggling a check box on or off

2008-01-23 Thread dacoder
What I am trying to do is make it so a checkbox is checked if the user clicks a link with an add image inside of it. If the user has clicked the add button the check box gets checked and the image switches to a remove image. If the user then clicks the remove image the check box is unchecked.

[jQuery] Re: Barcode reader with jQuery

2008-01-23 Thread h0tzen
if the scanner inputs its data into a textarea or something form id=frminput type=text id=barcode value=scanner-input / /form intercept form-submit, usually triggered by enter on an text-input $('#frm').submit(function(e) { alert( 'barcode: ' + $('#barcode').text() ); return false;

[jQuery] Re: Q: on handling GET JSON

2008-01-23 Thread Kynn Jones
Thanks, but I don't follow what you write here. The test !s.url.indexOf(http) evaluates to !0 == TRUE when the s.url begins with http. It is then that script is used, not when s.url begins with file. In fact, what the post does is to inject a script from a potentially external URL. If anything

[jQuery] Re: Add a callback to any method

2008-01-23 Thread chrismarx
thanks so much for your time investigating this. i too started playing wiih the idea of using a jquery function, but i didnt understand why it worked for otherr jquery methods and not livequery. i learned a lot reading your post! thanks! On Jan 23, 4:32 am, h0tzen [EMAIL PROTECTED] wrote: i

[jQuery] Fire Remote/History from div

2008-01-23 Thread frizzle
Hi there, I've downloaded the Remote/History PI from Klaus Hartl, and it works like a charm. Only i have a little problem with it; What i'd like is to have it working by clicking links inside the actual DIV that gets filled with a new page. If the links inside that div directly call the hash -

[jQuery] Re: FixedTable Plugin - testing help requested

2008-01-23 Thread Suni
Excellent, you're really getting there! FF works perfect, and I notice no lag or delay at all. IE7 and IE6 work perfect for the header-row, but the left fixed column has some problems: - the actual table rows seem to be slightly shorter in height than the fixed column rows. This causes a

[jQuery] Anyone wanna 'Jquer-ify' this date picker?

2008-01-23 Thread Andy Matthews
http://ajaxian.com/archives/new-twist-on-date-pickers Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ 2008 Email NADA.jpg

[jQuery] Can't get Innerfade working

2008-01-23 Thread jy_nl
Hi there! I'm trying to use the Innerfade plugin (from http://medienfreunde.com/lab/innerfade/), but it apparantly doesn't work with 1.2.2. Also, another user reports in the comments that it neither works with 1.2.1. Could somebody give a quick look at it? Thanks!

[jQuery] JQuery renders tables and divs after they are already displayed

2008-01-23 Thread frehfeldt
Hi! I have a little annoying problem with jquery. I use CurvyCorners and ThickBox on my homepage. When a user clicks on my homepage the page loads and displays the content without rounded corners. After a second (approx) the corners get rounded. But the change normal corners -- rounded corners

[jQuery] Re: Thickbox Position is Too Low in IE 6

2008-01-23 Thread Jack
Here is what worked for me: Following problem: IE 7 version .11 do produce a failure where the thickbox will be positioned by the absolulte top postion of the browser NOT the actuall scrolled position this will place the thickbox on top even if you have scrolled down to the bottom of the

[jQuery] Re: ui_tabs and form plugin: conflict in IE 6.

2008-01-23 Thread carvingcode
I am using ui.tabs and the form plugin. I have several forms remotely loaded into different tabs. The procedure I use is to call jQuery(document).ready(function($){} from the individually loaded pages -- loaded into the tabs -- , and include the specifics to set up the form plugin for that

[jQuery] jQuery Form ajaxForm submit to webservice gets redirected to web service URL output

2008-01-23 Thread Chris W
Hello, If anyone can help with this I'd really appreciate it. I am using the jQuery Form plugin to submit the contents of a Form via Ajax to a Web Service. The Web service resides on a different domain to the main site. I simply want to submit the form info to the web service via Ajax, check

[jQuery] Re: Adding CSS-property therefore traveling the DOM - Problem.

2008-01-23 Thread Jayzon
Hi! Thanks for your help! The code besh posted works great, I use it with addClass because that's the easiest way to handle it (since the behaviour is already set for the image-link I only had to add the .hovered-class). To Charles: Thanks for your effort. But there is the class email in the

[jQuery] Re: OT: how to benchmark user hardware?

2008-01-23 Thread J Moore
First, I would try to optimize your code. Make sure that you are calling as few $() methods as possible. (e.g. build strings and set with html() instead of repeatedly calling append() or after(). Firebug can also help you profile.) But if your code is as tight as it can be, then why not a

[jQuery] Re: general question

2008-01-23 Thread Glen Lipka
Yes, you would have to use a cookie. This plugin might be helpful. http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ Glen On Jan 22, 2008 9:03 AM, tlob [EMAIL PROTECTED] wrote: Hi! I have a general question. I do a fadeIn/fadeOut with a big logo on the Homepage. If the user

[jQuery] Re: Toggling a check box on or off

2008-01-23 Thread Karl Swedberg
Hi dacoder, This should do it: $('a.giftwrap-check-img').click(function() { var $this = $(this); var imgSrc = $('img', this).attr('src'); var checkedStatus = $this.next().is('input:checked'); $this.find('img').attr({src: imgSrc == '/assets/images/ icon_add.gif' ?

[jQuery] Re: Anyone wanna 'Jquer-ify' this date picker?

2008-01-23 Thread Josh Nathanson
That's pretty cool but it needs a little work. When I mouseup after dragging the slider, it always jumps ahead or back by one day. -- Josh - Original Message - From: Andy Matthews To: [jQuery] Sent: Wednesday, January 23, 2008 6:20 AM Subject: [jQuery] Anyone wanna

[jQuery] Re: sum of table rows

2008-01-23 Thread Dan G. Switzer, II
It sounds as if this might be a good candidate for my Calculation plug-in: http://www.pengoworks.com/workshop/jquery/calculation.plugin.htm $(tr).each(function (){ var sum = $(span.length, this).sum(); var person = $(td.person).text(); alert(person + = + sum); });

[jQuery] Call php from a jsp page between 2 servers ajax way

2008-01-23 Thread Mark Thien
Hi guys, I need to know if it's possible to call a php page, which is in Apache HTTP Server, using jquery ajax from a jsp page, which is in a tomcat server, and return an array of data. Appreciate if you can give me some advice. Thanks Regards, Mark

[jQuery] Re: Can't get Innerfade working

2008-01-23 Thread Cloudream
try jQuery 1.1 Compatibility Plugin http://plugins.jquery.com/project/compat11 be careful for your current codes On Jan 23, 11:14 pm, jy_nl [EMAIL PROTECTED] wrote: Hi there! I'm trying to use the Innerfade plugin (fromhttp://medienfreunde.com/lab/innerfade/), but it apparantly doesn't

[jQuery] Re: Thickbox Position is Too Low in IE 6

2008-01-23 Thread cfdvlpr
So, you have a fix for an IE 7 version. I guess I'm the only one noticing a problem in IE 6?

[jQuery] Re: way in tableSorter plugin to skip a th?

2008-01-23 Thread Bhaarat Sharma
I tried class={sorter: false} but to no avail. This is sample of my table table id=myTable border=1 cellpadding=3 cellspacing=0 width=100% bgcolor=#99 thead tr color=white bgcolor=#99 th scope=col height=20 colspan=16 class={sorter: false} strong

[jQuery] Re: JQuery renders tables and divs after they are already displayed

2008-01-23 Thread Karl Swedberg
By using window.onload = function() { /*...*/ }, you're telling it to start processing as soon as the page has fully loaded everything -- iframes, graphics, etc. Try wrapping your code in $ (document).ready(function() { /*...*/)); instead. --Karl _ Karl Swedberg

[jQuery] Explorer problems(as always) with hide/slide

2008-01-23 Thread [EMAIL PROTECTED]
This is my first message in this group. I hope someone can help me because i spent all the day trying to solve this problem. I have a table with half the rows hidden but the first. I hide the rows with jQuery because if someone doesn't have javascript enabled can see them. The problem is when

[jQuery] ANNOUNCE: No Spam plugin

2008-01-23 Thread Mike Branski
This jQuery plugin turns an obfuscated e-mail address into a human- readable one. It's lightweight and accepts multiple filtering levels for additional security. http://www.leftrightdesigns.com/library/jquery/nospam/ I also created a PHP function (see link above) to dynamically obfuscate your

[jQuery] jquery native serialize Array/Object into JSON?

2008-01-23 Thread Iair Salem
Hello Group, (jQuery changed the way I program js!) I just want to serialize an Array or object into it's JSON equivalent. My question is if there is a Native method to do it. ( $ (...).serializeArray() work for Elements, not for Arrays or Objects). If not, I will have to use json.js's

[jQuery] how to build a image cycle?

2008-01-23 Thread DoZ
Hi all! I simply need to build an image rotation/cycle; it has to be vertical, automatic, looping, and the images have to be in a tags. Jcarousel could be quite enough for me (even if I don't need arrows), but I don't understand how to make the loop. http://sorgalla.com/projects/jcarousel/

[jQuery] Re: how to build a image cycle?

2008-01-23 Thread Andy Matthews
Have you looked at the Cycle plugin from Mike Alsup? http://www.malsup.com/jquery/cycle It does everything you need. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DoZ Sent: Wednesday, January 23, 2008 12:12 PM To: jQuery (English) Subject:

[jQuery] Re: A Beginner Question

2008-01-23 Thread Priest, James (NIH/NIEHS) [C]
-Original Message- From: Karl Swedberg [mailto:[EMAIL PROTECTED] You could use John Resig's .nextUntil() method. Karl - is that documented anywhere on the jQuery site - or any plans to incorporate that into the core? I saw a reference of that somewhere yesterday (maybe on your

[jQuery] Re: way in tableSorter plugin to skip a th?

2008-01-23 Thread Bhaarat Sharma
nevermind..got it. made another table just for the heading.. On Jan 23, 1:21 pm, Bhaarat Sharma [EMAIL PROTECTED] wrote: I tried class={sorter: false} but to no avail. This is sample of my table table id=myTable border=1 cellpadding=3 cellspacing=0 width=100% bgcolor=#99  thead      

[jQuery] Re: A Beginner Question

2008-01-23 Thread Karl Swedberg
Hey Jim, It was documented on the jQuery 1.2 roadmap, but it didn't make it into core for the 1.2 release (unlike nextAll(), wrapInner(), wrapAll(), etc.). Not sure why, but so it goes. http://docs.jquery.com/JQuery_1.2_Roadmap#.nextUntil.28.29_.2F_.prevUntil.28.29 The roadmap links to

[jQuery] Re: sum of table rows

2008-01-23 Thread rolfsf
That's a nice little plugin Dan! Is it possible to sum a column of text inputs as they're filled (self-totalling, rather than onClick)? Rolf Dan G. Switzer, II wrote: It sounds as if this might be a good candidate for my Calculation plug-in:

[jQuery] Re: Radio Buttons and .val()

2008-01-23 Thread Matt Quackenbush
@Timothee, Giovanni - Thank you for your responses. It really annoys the hell out of me that Gmail and Google Groups both delayed your messages until I had already found the answer in the docs, and yet the timestamps are long before they showed up. I even blogged about it (link below).

[jQuery] how to make page onload quicker

2008-01-23 Thread Potluri
Hi, I'm working on jquery from couple of months. I'm facing a variety problem which can be solved by jquery Pro's. I've a table with 6 colomns on each row. I'm looping through all of this rows on page load beacuse my framework requires to do that. I'm doing it this way for table with

[jQuery] Re: sum of table rows

2008-01-23 Thread Dan G. Switzer, II
Rolf, That's a nice little plugin Dan! Is it possible to sum a column of text inputs as they're filled (self-totalling, rather than onClick)? Sure! You'd just need to trigger sum() event to occur on a keypress event. If you're going to do that, I'd definitely recommend caching the jQuery object

[jQuery] Re: Plugin Validate - Input text array validation

2008-01-23 Thread Jörn Zaefferer
JAC schrieb: Is there a simply way to test all the elements of the input text array? I'm using validation plug-in v1.2, and it's supposed to work with arrays of element types or I'm wrong? No, currently its not. For the validation plugin, in contrast to the PHP script you are most likely

[jQuery] jquery 1.2.2, ifixpng plugin, and IE6

2008-01-23 Thread cfdvlpr
It appears to me that the new version of jQuery does a better job in fixing png images in IE6 when using the ifixpng plugin. With jQuery 1.2.1, png images would occasionally get distorted in IE 6. Can anyone think of why this might be?

[jQuery] Re: how to build a image cycle?

2008-01-23 Thread besh
Hi DoZ, try the neat jQuery Cycle plugin: http://www.malsup.com/jquery/cycle/ -- Bohdan Ganicky On Jan 23, 7:11 pm, DoZ [EMAIL PROTECTED] wrote: Hi all! I simply need to build an image rotation/cycle; it has to be vertical, automatic, looping, and the images have to be in a tags.

[jQuery] Re: how to build a image cycle?

2008-01-23 Thread DoZ
...yes, but I forgot to mention the I need to show at least 5 images! On 23 Gen, 20:03, Andy Matthews [EMAIL PROTECTED] wrote: Have you looked at the Cycle plugin from Mike Alsup? http://www.malsup.com/jquery/cycle It does everything you need. -Original Message- From:

[jQuery] Re: Explorer problems(as always) with hide/slide

2008-01-23 Thread [EMAIL PROTECTED]
I was exploring a little bit more. The sentence that bugs in ie7 is this one: $(div#results table td.see_details h3).html(a href='#' title='Ver detalles de esta oferta de empleo'this is a test/a); I don't understand why it doesn't work properly in ie7... Thanks again, On 23 ene, 18:58,

[jQuery] Using parent within img toggle

2008-01-23 Thread Mang
I have a fairly simple app: table thead th... /thead tbody trtdimg src=/images/deactivate.gif class=active_toggle/td/ tr trtdimg src=/image/deactivate.gif class=active_toggle/td/ tr trtdimg src=/image/deactivate.gif class=active_toggle/td/ tr /tbody /table then the following jquery toggles the

[jQuery] Re: sum of table rows

2008-01-23 Thread Dan G. Switzer, II
I just realized the description text on the page is completely wrong! It's for another plug-in and I used that page as a template for this one. :) I just updated the Calculation Plug-in page so that the description is accurate. I also updated the examples so they work when the numbers are

[jQuery] Re: sum of table rows

2008-01-23 Thread Jonathan Sharp
Hey Dan, Great plugin! http://jqueryminute.com/blog/jquery-calculate-plugin/ Cheers, -Jonathan On 1/23/08, Dan G. Switzer, II [EMAIL PROTECTED] wrote: I just realized the description text on the page is completely wrong! It's for another plug-in and I used that page as a template for this

[jQuery] Re: how to build a image cycle?

2008-01-23 Thread Andy Matthews
5 pics at a time or 5 total pics all through the slideshow? You could just run multiple instances of the Cycle plugin. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DoZ Sent: Wednesday, January 23, 2008 2:14 PM To: jQuery (English) Subject:

[jQuery] Re: sum of table rows

2008-01-23 Thread rolfsf
Sweet! Thanks man! Dan G. Switzer, II wrote: I just realized the description text on the page is completely wrong! It's for another plug-in and I used that page as a template for this one. :) I just updated the Calculation Plug-in page so that the description is accurate. I also

[jQuery] Re: how to make page onload quicker

2008-01-23 Thread Jonathan Sharp
You could do something along the lines of: var rows = []; $('#srTable tbody').each(function(i) { var col = $('.merchantClass', this); var distance = $('.sortDistance', this); // Something more rows.push({row: this, col: col, index: i}); }); If you can change .merchantClass to

[jQuery] sorting values with commas with tablesorter 2.0

2008-01-23 Thread Bhaarat Sharma
Hi I have some number which have commos in them. How can i sort these propertly? for example 3567 is as 3,567

[jQuery] Re: Using parent within img toggle

2008-01-23 Thread Jonathan Sharp
Try: $(this).parents('tr:eq(0)').css('background-color', 'white'); Cheers, -Jonathan On 1/23/08, Mang [EMAIL PROTECTED] wrote: I have a fairly simple app: table thead th... /thead tbody trtdimg src=/images/deactivate.gif class=active_toggle/td/ tr trtdimg src=/image/deactivate.gif

[jQuery] Re: Safari 2 problem with append, html, replaceWith and preventDefault

2008-01-23 Thread eltom
Does anyone know how to report a bug I can replicate this consistently Could someone of the jquery team reply? On Jan 17, 10:30 pm, eltom [EMAIL PROTECTED] wrote: I forgot to add... the problem does not with append etc does not appear with jquery 1.1.4 Is it a bug which was introduced

[jQuery] Re: sum of table rows

2008-01-23 Thread Dan G. Switzer, II
Jonathan, Hey Dan, Great plugin! http://jqueryminute.com/blog/jquery-calculate-plugin/ Thanks! I also blogged a little more information here: http://blog.pengoworks.com/index.cfm/2008/1/23/jQuery-Calculation-Plugin-Mak ing-calculating-easy -Dan

[jQuery] Re: sum of table rows

2008-01-23 Thread Jonathan Sharp
Thanks, updated the entry with a link to that post! Cheers, -Jonathan On 1/23/08, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Jonathan, Hey Dan, Great plugin! http://jqueryminute.com/blog/jquery-calculate-plugin/ Thanks! I also blogged a little more information here:

[jQuery] Feb 12 IE6 Forced Update

2008-01-23 Thread cfdvlpr
Does anyone know about how many IE6 users this will affect? After Feb 12, 2008 is it likely that your IE 6 users will drop much? If you have an ecommerce site that currently has about 40% IE6 users, is this percentage likely to go much farther down? Or, is this update not forced on the average

[jQuery] pretty urls break my jquery app: how to adapt it ?

2008-01-23 Thread Alexandre Plennevaux
Hello ! My app is nearing the end so bear with me as the issue takes time to explain. However i'm looking for suggestions, directions, so your answer does not have to be that long :) So: We implemented pretty urls via apache's mod_rewrite. unfortunately that breaks my jquery code because in

[jQuery] Re: Safari 2 problem with append, html, replaceWith and preventDefault

2008-01-23 Thread Karl Swedberg
On Jan 23, 2008, at 5:34 PM, eltom wrote: Does anyone know how to report a bug I can replicate this consistently Yes, you can report bugs here: http://dev.jquery.com/newticket/ You'll have to register or log in, but it's painless. --Karl _ Karl Swedberg

[jQuery] Re: pretty urls break my jquery app: how to adapt it ?

2008-01-23 Thread Mike Alsup
Alexandre, I think maybe you're just having a problem with that trailing slash. Try urls like this: projects/touch?section=projectsitem=touch Mike My app is nearing the end so bear with me as the issue takes time to explain. However i'm looking for suggestions, directions, so your answer

[jQuery] clueTip and retrieved JSON strings

2008-01-23 Thread Bruce MacKay
Hello folks, I'm having a problem with clueTip overwriting or affecting the title attribute of a returned a tag. I have an application which dynamically returns the names of images in a user-selected folder. The returned strings (via JSON) appear in the form: a href=#

[jQuery] Help with a basic module

2008-01-23 Thread Leanan
I'm trying to get an understanding of jQuery modules, so I thought I'd start simple (perhaps too simple...) Anyway, here is what I have: jQuery.table.js: (function($) { $.Table = { build: function(settings) { var table = $('table class=testTable/table'); var headRow =

[jQuery] Re: Plugin Validate - Input text array validation

2008-01-23 Thread JAC
Hi Jörn, thanks for you quick answer. The input types in my form are not statics. They are build dynamically from data stored in the database and is easiest to treat them like an array of elements (I'm woking with Java : Spring, Jsps,...). I'll try to do some trick with this issue in my code.

[jQuery] JQuery Size YUI Compressor mod_deflate/GZIP

2008-01-23 Thread Geoff Millikan
An update to the analysis at the link here: http://www.julienlecomte.net/blog/2007/08/13/ === Expected best compression rate ===--- Uncompressed jquery-1.2.2.js = 93.1 KB Compacted with latest release (2.2.5) of YUI Compressor = 52 KB After Apache/2.2.3 (Red Hat 5) mod_deflate GZIP

[jQuery] Re: Can't get Innerfade working

2008-01-23 Thread Michael Bramwell
Hi, I have just used this plugin using 1.2.1 no problems. Send your code through if you are still having problems. Mike. jy_nl wrote: Hi there! I'm trying to use the Innerfade plugin (from http://medienfreunde.com/lab/innerfade/), but it apparantly doesn't work with 1.2.2. Also, another

[jQuery] Performance Tuning Help

2008-01-23 Thread Raymond
I was wondering if anyone knows of a less processor intensive way of doing the following code? I am trying to loop over all classes of a certain type on the page and then append some html that is contained within that particular class. What it is doing to the user is collapsing the search

[jQuery] Performance Tuning Help

2008-01-23 Thread Raymond
I was wondering if anyone knows of a less processor intensive way of doing the following code? I am trying to loop over all classes of a certain type on the page and then append some html that is contained within that particular class. What it is doing to the user is collapsing the search

[jQuery] Re: JQuery renders tables and divs after they are already displayed

2008-01-23 Thread frehfeldt
What an easy solution! :-) Thank you very much! Best regards! On 23 Jan., 19:47, Karl Swedberg [EMAIL PROTECTED] wrote: By using window.onload = function() { /*...*/ }, you're telling it to start processing as soon as the page has fully loaded everything -- iframes, graphics, etc. Try

[jQuery] Re: Masked input plugin for hour

2008-01-23 Thread EricC
$.mask.addPlaceholder('~',[0,1,3,4]); $.mask.addPlaceholder('!',[0,5]); $(#quarterhour).mask(~!); This won't stop you user from putting in 05,10,35,40 but you can put in a callback function to test for those: $(#quarterhour).mask(~!, {completed:function(){switch (this.val) {case 05: case 10:

[jQuery] Change Jeditable trigger

2008-01-23 Thread frizzle
Hi there, Imagine i have a DIV with editable content (with Jeditable), but i want the trigger for that to be a link behind the div. It´s probably very simple, but i´m pretty new to jQuery and do not know how to achieve this. It has to look somewhat like this; div class=edit

[jQuery] setTimeout / clearTimeout question...

2008-01-23 Thread gr00vy0ne
This is more of a general javascript question but when using setTimeout and clearTimeout, does the timer variable have to exist outside the function globally? For instance, I understand the following: var t; $(.some_link).hover(function() { clearTimeout(t) $(#this_layer).show(); },

[jQuery] How to detect the cursor's relative position in a textarea element???

2008-01-23 Thread [EMAIL PROTECTED]
Hi, folks: Is there a way in jQuery that I can detect the cursor's relative position within a textarea element, i.e. the Nth character from the biginning of the inside texts. I am hoping to insert some text right behind the cursor's position from some Javascript functions. thanks :) Best

[jQuery] new jQuery user needs help

2008-01-23 Thread visitorQ
hello all! i've recently discovered the amazing features that jQuery has to offer a humble web-developer like myself. except i'm a little confused. i havent' had any luck implimenting any of the jquery plugins that i've seen. i'm trying to get a simple newsticker up, amongst other things, and

[jQuery] Re: setTimeout / clearTimeout question...

2008-01-23 Thread David Serduke
How about using closure like this? function addHoverHide(linkClass, layerId) { var t; $(. + linkClass).hover(function() { clearTimeout(t) $(# + layerId).show(); }, function() { t = setTimeout(function() {$(# + layerId).hide()}, 2000); }); } $(document).ready(function () {

[jQuery] JQuery Mobile/Lite?

2008-01-23 Thread howa
Hi all, Given that many mobile devices will have a much better support for Javascript, e.g. iPhone, Nokia N-series handset (running webkit), or 3rd browsers such as Opera mobile/mini, Pocket IE ect, are there any plan to fork a branch of JQuery as JQuery mobile for example? It would be

[jQuery] Re: clueTip and retrieved JSON strings

2008-01-23 Thread Karl Swedberg
Hi Bruce, I think the problem here is that the clueTip plugin temporarily empties the title attribute when the user hovers over a link that has .cluetip() attached to it. This prevents the browser from showing the default tooltip at the same time as the clueTip. On mouseout, the title is

[jQuery] Re: new jQuery user needs help

2008-01-23 Thread Rick Faircloth
Hi, and welcome to jQuery. I'm a relative newcomer myself, but I can tell you that what you'll hear a lot of times is show us your code. And I think this is a good occasion for that. Can you post your code and, especially, can you provide a link to a demo site where you attempts can be viewed?

[jQuery] Re: new jQuery user needs help

2008-01-23 Thread Karl Swedberg
Are you including a reference to a jquery.js file? If so, is it coming before your custom script / plugin in the markup? You might want to try using the Firebug extension for Firefox to see if it's reporting any errors. Also, if you could show us what you're attempting, that would help

[jQuery] Re: Performance Tuning Help

2008-01-23 Thread Aaron Heimlich
Try this (untested): $('div.box').each(function(count, box) { $(box).append('div class=summaryp class=sml' + $('dd p', box).html() + '/p/div'); }); On Jan 23, 2008 5:01 PM, Raymond [EMAIL PROTECTED] wrote: I was wondering if anyone knows of a less processor intensive way of doing the

[jQuery] Re: Performance Tuning Help

2008-01-23 Thread Joel Birch
Or this (untested): $('div.box').each(function(){ var $$ = $(this); $$.append('div class=summaryp class=sml' + $$.find('dd p').html() + '/p/div'); }); Joel Birch

[jQuery] jQuery t-shirt - did they happen?

2008-01-23 Thread Joel Birch
Hi everyone, I'm wondering if the jQuery t-shirts ever came about. Did the jQueryCamp'08 attendees receive theirs? If so, I'd love to clap eyes on one. Does anyone have any photos featuring one of these t-shirts? I checked John's flickr photos but didn't see any. Can anyone sate my curiosity?

[jQuery] Re: jQuery t-shirt - did they happen?

2008-01-23 Thread Joel Birch
On 24/01/2008, Joel Birch [EMAIL PROTECTED] wrote: Did the jQueryCamp'08 attendees receive theirs? Whoops, I meant jQueryCamp'07... obviously. Joel Birch.

[jQuery] Re: JQuery Mobile/Lite?

2008-01-23 Thread polyrhythmic
jQuery nearly completely functions in Minimo, Opera Mini, and Opera Mobile 8.65+, but PocketIE is a very broken piece of software. It's been discussed briefly on the jQuery-dev mailing list in this thread: http://groups.google.com/group/jquery-dev/browse_thread/thread/52091c56fa95458a/ Yes, it

[jQuery] Re: pretty urls break my jquery app: how to adapt it ?

2008-01-23 Thread Alexandre Plennevaux
hi Mike ! indeed i realized i had that option at the time of getting to bed :) thank you, alex -- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: Mike Alsup ([EMAIL PROTECTED]) Subject: [jQuery] Re: pretty urls break my jquery app: how to adapt it ? Date: