[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Morgan Allen
$('input').focus(function() { $(this).val(null); }); On Jan 5, 2008 8:45 PM, Bhaarat Sharma [EMAIL PROTECTED] wrote: Hi, some time ago I saw a jquery plugin which would preset the value in a text box and when users' cursor came to that text box...the preset value would go away. it was sort

[jQuery] $('table tr').hover() not working in IE

2008-01-06 Thread [EMAIL PROTECTED]
This is my jQuery code: $('table tr').hover( function() {$(this).addClass('hover');}, function() {$(this).removeClass('hover'); }); This is my CSS:

[jQuery] Re: Question about the mailinglist

2008-01-06 Thread KnoxBaby
Hello, I think I found the necessary option: When I click in the topic on options and there on send updates to me I think I'll get a mail about new statements :) On 31 Dez. 2007, 02:46, Jeferson Koslowski [EMAIL PROTECTED] wrote: The mailing list itself does not provide this feature, but I

[jQuery] Re: Binding a function to dynamically generated markup does not work

2008-01-06 Thread Shawn
Don't forget you have to apply your behaviors (the change() in this case) AFTER the dynamic element has been added to the DOM. I don't think it's going to work if you apply the handlers THEN add the element to the DOM. hmm... something for me to try next time I open up my editor... :)

[jQuery] Re: build my first jquery plugin multiselect

2008-01-06 Thread djot
- Hi, you should have pressed the text open to see sth happen. djot - Quinode wrote: I'm french, my english isn't better I tried the demo under firefox 2 but select the menus did nothing ? -- View this message in context:

[jQuery] height of a hidden element

2008-01-06 Thread Sebastián V. Würtz
Is posible that if i have a hidden div i cant get his height? I want to increase or decrease some font sizes according to the max height of those 3 divs to using with cycle plugin but because im only showing one at a time and the rest are hide i getting 0 as height $('#rotate div .item')

[jQuery] Re: drag'n'drop, double added element

2008-01-06 Thread PragueExpat
I put a bug in for UI (months ago) that demonstrated that the drop function was running twice (the bug # was around 1542 or so - http://dev.jquery.com/report doesn't show any bugs for me, although I've entered several plus it gives me a MySQL error when I try to do a custom search) Don't know if

[jQuery] Extract a script from script.src with a script

2008-01-06 Thread Joe Maller
This is a bit of an odd request, but maybe there's something simple I'm overlooking. I have a function which pulls JSON data from Google's GData service. Normally this works pretty well, save a bug or two on Google's end. The problem is that errors are served as a plain text string without a

[jQuery] Re: Not recognizing multiple classes

2008-01-06 Thread Hamish Campbell
What happens if you change: $(p[class='+whichClass+']).show();}); to $(p.'+whichClass+']).show();}); ? Or what about * selector: http://docs.jquery.com/Selectors/attributeContains#attributevalue //show any straggling, hidden p's with the right class

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread [EMAIL PROTECTED]
On Jan 5, 11:45 pm, Bhaarat Sharma [EMAIL PROTECTED] wrote: Hi, some time ago I saw a jquery plugin which would preset the value in a text box and when users' cursor came to that text box...the preset value would go away. it was sort of there to let the user know what format should be in

[jQuery] Need

2008-01-06 Thread Raghuveer Rawat
Hi, I recently started learning about jQuery and I have not worked much on javascript. I am basically a server side java developer. I need some help from experienced jQuery developers for below issue.. I have a table which has 6 menu items (anchor tags)... Selected Menu Item will have black.jpg

[jQuery] Need some help

2008-01-06 Thread Raghuveer Rawat
Hi, I recently started learning about jQuery and I have not worked much on javascript. I am basically a server side java developer. I need some help from experienced jQuery developers for below issue.. I have a table which has 6 menu items (anchor tags)... Selected Menu Item will have

[jQuery] Re: LIVE jQuery

2008-01-06 Thread coughlinsmyalias
Thank you all so much! Let me go try to understand this..I might post back with some questions :) I have heard of the COMET, I will read that article do you know of any examples of code or logic using jquery and how I would use that? http://www.jasons-toolbox.com/JHeartbeat/ For that above,

[jQuery] Re: XML Processing

2008-01-06 Thread chrismarx
personally, i love using jquery thusly for parsing xml var xml = data; var path = subscr.SubscribersubscriberId; for (var i=0;i$(path,xml).length;i++){ alert( $(+path+:eq(+i+)).text() ) } On Jan 4, 3:09 pm, Jamie [EMAIL PROTECTED] wrote: Hey, I am attempting to process

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Dave Methvin
$('form#myform [EMAIL PROTECTED]').val('please enter here').click(function() { if (this.value == 'please enter here') this.value = ''; }); The downside to changing the value attribute is that the please enter here text will be submitted with the form if the user doesn't enter any value

[jQuery] Re: Regarding jQuery form plugin

2008-01-06 Thread Mike Alsup
Jack, Does this all work correctly without JavaScript? I suspect not. When uploading files, the Form Plugin does a native, non-ajax submit. I think you need to first sort out what the issue is without using the plugin, and then add it back in once you've got that solved. Mike On Dec 30,

[jQuery] Re: Cycle Plugin and IE7 alignment offset

2008-01-06 Thread Mike Alsup
Spencer, Did you ever get this solved? If not, is there any way you can post a non-secure link somewhere? Mike On Dec 28, 2007 2:18 PM, Spencer [EMAIL PROTECTED] wrote: First off... great work on the Cycle plugin. I have a set of rotating logos using Cycle and it works and looks great on

[jQuery] Re: Binding a function to dynamically generated markup does not work

2008-01-06 Thread Ariel Flesler
You can bind to elements that are not inserted in the DOM, like I did in the example. Ariel Flesler On 5 ene, 17:48, Shawn [EMAIL PROTECTED] wrote: Don't forget you have to apply your behaviors (the change() in this case) AFTER the dynamic element has been added to the DOM.  I don't think

[jQuery] Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread marcus
Hi, I am very bad at Javascript so my question is perhaps silly... When I have something like this google.maps.Event.addListener(map, click, function(overlay, latlng) { inputForm = 'form action= onsubmit=store(); return false;' + 'input type=text id=some /'

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread [EMAIL PROTECTED]
On Jan 6, 11:00 am, Dave Methvin [EMAIL PROTECTED] wrote: $('form#myform [EMAIL PROTECTED]').val('please enter here').click(function() { if (this.value == 'please enter here') this.value = ''; }); The downside to changing the value attribute is that the please enter here text will

[jQuery] Re: Need some help

2008-01-06 Thread Raghuveer Rawat
Good Morning guys, Can anyone help me with below issue? I want to change TD tag's background attribute value when that link inside that TD is clicked. Thanks in advance.. On Jan 5, 2008 11:52 PM, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I recently started learning about jQuery and I

[jQuery] jCarousel Lite and Thickbox

2008-01-06 Thread Andrea - Aosta
Anyone as worked with this two plugin... i want to use a jcarousel lite and, with a click on the image, a thickboc effetct... it is possible? Thank you

[jQuery] Re: jquery validator addMethod library?

2008-01-06 Thread George
FWIW, the css text-transform style can be a useful alternative to script-based validation for upper/lower case and it works when js is disabled. I little off topic but it might help someone... http://www.w3schools.com/css/pr_text_text-transform.asp George On Jan 5, 6:51 am, Jack Killpatrick

[jQuery] Re: jquery validation demo errors

2008-01-06 Thread Jörn Zaefferer
Jack Killpatrick schrieb: OK, thanks for the info. Any idea around when 1.2 will be released? There are basically two major things on the roadmap: Remote validation and event architecture. Both are already quite advanced. To name a date, end of January should be realistic. Thanks for the

[jQuery] .click()

2008-01-06 Thread Steffan A. Cline
Running into something strange. I have an image with an onclick handler that calls on a hidden input type=file id=logo via img src=xx onclick=$('#logo').click() This works flawlessly in Safari, IE 6 7 but not in FF Mac (not sure about PC). Any ideas? Also, what is the best way when taking

[jQuery] append ul (unordered list) ie bug

2008-01-06 Thread chrismarx
in firefox this works fine var id = 1; $parent.append('div id=c-r'+id+' class=c-replies c-hide style=display: none;ul id=c-rply-to'+id+'/ul/div'); but in ie, no ul gets created. next i tried appending the ul to the newly created div (and yes, the div was found) var id = 1; $parent.append('div

[jQuery] Re: Issue with jQuery zebra tables tutorial...

2008-01-06 Thread bryce4president
Hey Karl, Thanks for the reply. Actually that isn't the problem. The problem turned out to be I needed to do a removeClass on the element. Then place the new class in it. Otherwise it will append it to the already existing class. My next problem was that I needed to remember what the class

[jQuery] Re: Vexed with SuckerFish Flash

2008-01-06 Thread dave
OH MY GOD!!! Just found this post, been having problems with jQuery and SQF for ages and, by wrpping it in the $(document).ready(function(){ ... }}; worked a treat. Inspirational. Fairly new to jQuery but always had good results except when it came to SWFObject. However did you find this, it

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread marcus
Meanwhile I found livequery, which is probably the solution, but I still I don't get it working. Can someone perhaps give me a hint?? I gave the form an id and tried this (Unfortunately the parent divs don't have proper names and ids...) $('#touch').livequery('submit', function() {

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread chrismarx
if you're using jquery u dont even need a form. but if you do want to serialize your parameters, that's fine. i think the easiest thing to do is to give your form an id, making it easy for jquery to find it. once you've got that, everything else should be easy- On Jan 6, 10:21 am, marcus [EMAIL

[jQuery] Re: Problems with clueTip

2008-01-06 Thread Karl Swedberg
On Jan 5, 2008, at 2:32 PM, KnoxBaby wrote: Sorry for asking again, but perhaps you overread that there's again a question at the end of my statement when I already said that everything works fine: Is it possible to show the tooltip a little bit faster in IE and with the fade effect??? Hi,

[jQuery] Re: .click()

2008-01-06 Thread chrismarx
first, it would be better jquery technique to bind your img outside of the onclick $('#imgID').click(function(){ $('#logo').click(); }); what function is executed when you trigger the click event on the logo input? On Jan 6, 5:46 pm, Steffan A. Cline [EMAIL PROTECTED] wrote: Running

[jQuery] Re: SimpleModal v1.1 released

2008-01-06 Thread Eric Martin
I released a WordPress plugin today. It's an modal ajax contact form built using jQuery and SimpleModal. http://wordpress.org/extend/plugins/simplemodal-contact-form-smcf/ -Eric On Jan 4, 2:36 pm, Eric Martin [EMAIL PROTECTED] wrote: Hello, I've released a new version of SimpleModal. I

[jQuery] jqForm: Need help with basic validation...

2008-01-06 Thread Micky Hulse
The plugin: http://www.malsup.com/jquery/form/ My setup: Within my form, have a hidden field that has the names of the fields that I want validated: input type=hidden name=required value=name,email,recipients And this is my test beforeSubmit function: function validate(formData, jqForm,

[jQuery] Re: LIVE jQuery

2008-01-06 Thread Peter E Higgins
For whatever reason the magnet post didn't get pushed to my client, but I wanted to chime in. fwiw, I have been considering porting the dojox.cometd client to jQuery-plugin-like code. but as far as I know, the only real javascript implementation of comet client is the dojo 1.x one. DWR has

[jQuery] Sever Push - live site

2008-01-06 Thread coughlinsmyalias
Hey all, i have been researching googling and many other ways to try to find out how to make my site as close to live as I can. I read this by John: http://ejohn.org/blog/streaming-http-server-push/ but am still kind of confused. My site is: http://rksdesignstudios.com/magnet/ - Drag a word -

[jQuery] Re: Sever Push - live site

2008-01-06 Thread Morgan Allen
A simple way to do this in PHP is using a loop to wait for an event, and return if and when it does. Otherwise the connection times out, and the client (web browser using XMLHttpRequest) reconnects. A really simple demonstration can be seen by just doing an ajax request to a php script that

[jQuery] Re: .click()

2008-01-06 Thread Steffan A. Cline
on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote: first, it would be better jquery technique to bind your img outside of the onclick $('#imgID').click(function(){ $('#logo').click(); }); what function is executed when you trigger the click event on the logo input?

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Kevin Scholl
The plugin toggleVal (written by a colleague of mine) might be of some interest to you. http://plugins.jquery.com/project/toggleval On Jan 5, 11:45 pm, Bhaarat Sharma [EMAIL PROTECTED] wrote: Hi, some time ago I saw a jquery plugin which would preset the value in a text box and when

[jQuery] Re: height of a hidden element

2008-01-06 Thread boermans
You may be able to determine the height while the divs are still visible - before applying the cycle plugin. Avoid the likely flicker by moving the divs temporarily out of view (to one side rather than hidden). Bringing them back into view after applying the cycle plugin. I have not used the

[jQuery] Re: height of a hidden element

2008-01-06 Thread boermans
I was thinking of innerfade http://medienfreunde.com/lab/innerfade/ hope that helps On Jan 7, 2:16 pm, boermans [EMAIL PROTECTED] wrote: I could be thinking of the wrong plugin?