[jQuery] A jQuery article on sitepoint

2007-05-08 Thread David Duymelinck
http://www.sitepoint.com/article/ajax-jquery With a nice introduction and clear examples to make a chat application. -- David Duymelinck [EMAIL PROTECTED]

[jQuery] Re: ajaxSubmit target append possible

2007-05-08 Thread juliandormon
Awesome that works. Perhaps you can help with this now :-) My ajax is returning a div with an id but I do not know what it is as it is generated by our DB. I do know it's class and I do know that it is the first div with that class because I prepend it to the existing data. I need to find this

[jQuery] Re: Form plugin shows just result

2007-05-08 Thread wyo
On May 8, 11:33 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > Onhttp://www.orpatec.ch/termola/index.php?page=contact.phpFirebug gives me > the following error: > > validateInput is not > definedhttp://www.orpatec.ch/termola/contact.php?page=contact.php > Line 30 > Well that can't be the reaso

[jQuery] Re: New plugin: simple character counter for textareas

2007-05-08 Thread Ⓙⓐⓚⓔ
hmm, what do you get for $('body') or $('html') ?? On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On May 8, 4:11 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > I remember reading the jQuery source, it's held in a div until it is put > somewhere! > I wonder if $(elem).parent().parent().siz

[jQuery] Re: New plugin: simple character counter for textareas

2007-05-08 Thread fufay
[EMAIL PROTECTED] 写道: I've just released the first version of a simple plugin to add character counters/limiters to textarea elements. The demo and code can be found here: http://www.tomdeater.com/jquery/character_counter/ cool,it's perfect!

[jQuery] Re: replace not working...

2007-05-08 Thread Equand
thank you! On May 9, 3:33 am, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > On 5/8/07, Equand <[EMAIL PROTECTED]> wrote: > > > $("img", "#preview").attr("src").replace(/\?.*$/g) > > what's wrong with this? > > i try to strip of all text after ? and the ? > > replace() returns the modified str

[jQuery] Re: replace not working...

2007-05-08 Thread Aaron Heimlich
On 5/8/07, Equand <[EMAIL PROTECTED]> wrote: $("img", "#preview").attr("src").replace(/\?.*$/g) what's wrong with this? i try to strip of all text after ? and the ? replace() returns the modified string instead of directly modifying the original one (any method that changes a string in s

[jQuery] replace not working...

2007-05-08 Thread Equand
$("img", "#preview").attr("src").replace(/\?.*$/g) what's wrong with this? i try to strip of all text after ? and the ?

[jQuery] Re: AutoExec

2007-05-08 Thread Ⓙⓐⓚⓔ
does the html look like this? hello if so, the code would work, if the code looks like ... $("#markup02") would find it or if it looked like ... $(".markup02") would find the divs. :) On 5/8/07, Mario Moura <[EMAIL PROTECTED]> wrote: Hi Folks How can I force my JQuery script run? After m

[jQuery] AutoExec

2007-05-08 Thread Mario Moura
Hi Folks How can I force my JQuery script run? After my Html page is loaded I have some scripts in the middle of DOM (like I need) (because is generated from some db_query) $(document).ready(function(){ $("markup02").append("something"); $("img").attr({title:"something"}); }); My JQuery.js i

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread joomlafreak
I really admire your honesty. I was feeling so stupid and was thinking people would label me a jerk after reading my post for this stupidity. But after such an honest admittance from you I think it was not such a big deal. Things like this can happen :). I apprecite and thank again for our reply.

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread Karl Swedberg
heh. I only mentioned it because it happened to me recently, too. ;-) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 8, 2007, at 7:59 PM, joomlafreak wrote: Got it. thanks a lot. It was so silly of me to miss using url. thanks again. On May 8, 7

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread joomlafreak
Got it. thanks a lot. It was so silly of me to miss using url. thanks again. On May 8, 7:53 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > not sure what var image = $(".fullst").eq(i).html(); returns, but the > 'backgroundImage' (or 'background-image'; either one is fine) value > should look som

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread Karl Swedberg
not sure what var image = $(".fullst").eq(i).html(); returns, but the 'backgroundImage' (or 'background-image'; either one is fine) value should look something like 'url(path/to/image.jpg)' --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 8, 2007,

[jQuery] Re: datePicker v2 beta

2007-05-08 Thread Will
Overall, I think the new date picker and jquery are really awesome! I do have one comment though. I find the date parsing logic a little too strict. If I use format mm/dd/ and I type in 5/1/2007, it's not going to parse correctly (code in date.js:440). This causes the calendar to not refre

[jQuery] Re: Text editer suite in jquery

2007-05-08 Thread FD
The latest version of WYMeditor is using JQuery (JQuery version just reached alpha 1) http://www.wymeditor.org/en/ demo: http://demo.wymeditor.org/ Different approach to FCK et al. but one that I personally think is more useful for CMS type editing. Looks promising anyway. On May 9, 2:19 am, Sha

[jQuery] Re: Trouble adding HTML, passing validation

2007-05-08 Thread Karl Rudd
Ah yes, good catch Jake. I'd forgotten about that. Karl Rudd On 5/9/07, Jake McGraw <[EMAIL PROTECTED]> wrote: Yes, two methods: 1) Use the src attribute for the script tag and keep JavaScript out of your XHTML documents. or 2) Use a commented out tag to indicate sections of code the valid

[jQuery] Re: Plugin authoring

2007-05-08 Thread Shelane Enos
Done. Thanks. On 5/8/07 3:58 PM, "Christopher Jordan" <[EMAIL PROTECTED]> wrote: > It's a wiki... you can add it yourself. that's what I did. :o) > > Chris > > Shelane wrote: >> >> Since there were no takers, I created space on Google code. It's a >> bit of an overkill, but oh well. >> >

[jQuery] Re: Plugin authoring

2007-05-08 Thread Christopher Jordan
It's a wiki... you can add it yourself. that's what I did. :o) Chris Shelane wrote: Since there were no takers, I created space on Google code. It's a bit of an overkill, but oh well. http://code.google.com/p/jqueryselectcombo/ A jQuery plugin for populating data of a select item from result

[jQuery] [ANN] New plugin - selectCombo

2007-05-08 Thread Shelane
http://jqueryselectcombo.googlecode.com/files/jquery.selectCombo.js A jQuery plugin for populating data of a select item from results of another select item. A "Select Combo" is setting the values of a select element based on the user's choice of the source select element. As a jQuery plugin, it

[jQuery] Re: Selector help - All inputs except radio buttons?

2007-05-08 Thread Brad Perkins
Rafael, That is what I had in mind, but appears to filter out non-radio input fields. On May 8, 2:00 pm, "Rafael Santos" <[EMAIL PROTECTED]> wrote: > var params = > $('input,select,textarea').not("[EMAIL PROTECTED]").serialize(); > > 2007/5/8, Brad Perkins <[EMAIL PROTECTED]>: > > > I currently

[jQuery] Re: Selector help - All inputs except radio buttons?

2007-05-08 Thread Brad Perkins
Thanks everyone! -- Brad On May 8, 2:54 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Ah yes! You're right (as usual). :) > > --Karl > _ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On May 8, 2007, at 4:54 PM, Jörn Zaefferer wrote: > > > > > Karl Swedberg schrie

[jQuery] Re: .hover() on list element doesnt work properly

2007-05-08 Thread Karl Rudd
This is usually a problem with "block" links in IE ( http://www.brunildo.org/test/IEABlock.html ). Check if the list item actually "hasLayout" (should be "-1"). If not then try setting a width or a height: 1% in the CSS. Karl Rudd On 5/9/07, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote: Hi

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread joomlafreak
It is url of image relative to this file. Pls see this url http://www.joomlaprodigy.com/test/jquery/mod_contentsliderjp.php thanks for your help. On May 8, 6:22 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > It should work. What end up in "image"? It should be a URL (relative > to the page). > >

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread Evan
You might also want to try 'backgroundImage' instead of 'background- image' On May 9, 8:22 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > It should work. What end up in "image"? It should be a URL (relative > to the page). > > Karl Rudd > > On 5/9/07, joomlafreak <[EMAIL PROTECTED]> wrote: > > > >

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread Karl Rudd
It should work. What end up in "image"? It should be a URL (relative to the page). Karl Rudd On 5/9/07, joomlafreak <[EMAIL PROTECTED]> wrote: I am trying to use css("background-image",image) but it does not set the image as background. What am I doing wrong. here is the code. function chang

[jQuery] Re: Trouble adding HTML, passing validation

2007-05-08 Thread Karl Rudd
The easiest solution is to put that block of code into a seperate JavaScript file. The only other solution I can think of is to use one of the DOM Creation plugins (such as http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and-prototype ) and build the elements up that way. This is because mo

[jQuery] Re: Plugin authoring

2007-05-08 Thread Shelane
Since there were no takers, I created space on Google code. It's a bit of an overkill, but oh well. http://code.google.com/p/jqueryselectcombo/ A jQuery plugin for populating data of a select item from results of another select item. A "Select Combo" is setting the values of a select element b

[jQuery] Fisheye menu on left or right of screen?

2007-05-08 Thread Shane
Hi everyone, Wondering if someone more knowledgeable than me can help me to get the Fisheye interface element working on the left or right of the screen, rather than top and bottom. Thanks, Shane.

[jQuery] Re: Form plugin shows just result

2007-05-08 Thread Aaron Heimlich
On http://www.orpatec.ch/termola/index.php?page=contact.php Firebug gives me the following error: validateInput is not defined http://www.orpatec.ch/termola/contact.php?page=contact.php Line 30 On 5/8/07, wyo <[EMAIL PROTECTED]> wrote: > > > I'm playing around with the form plugin yet when I pres

[jQuery] Re: Can't set focus on element with DatePicker applied

2007-05-08 Thread Bil Corry
Chris W. Parker wrote on 5/8/2007 1:00 PM: $("#date").focus(); $("#date").datePicker(); Have you tried reversing it? $("#date").datePicker(); $("#date").focus(); - Bil

[jQuery] ajax tabs: Making the tab contain more than just text

2007-05-08 Thread [EMAIL PROTECTED]
Hi, I want my tab to consist of both text, and a graphic (which will serve as a "Delete Tab" function). However, I discovered that trying to add in the graphic button does more harm than good (in other words tabs do not display or function properly). Here's what I did:

[jQuery] Re: Trouble adding HTML, passing validation

2007-05-08 Thread Jake McGraw
Yes, two methods: 1) Use the src attribute for the script tag and keep JavaScript out of your XHTML documents. or 2) Use a commented out tag to indicate sections of code the validator should skip over, like: // Hello, world