[jQuery] Re: [validate] custom method not working if input element is empty.

2008-08-21 Thread Jörn Zaefferer
You've added the class required to the username input. That gets added as a rule to the field... Jörn On Thu, Aug 21, 2008 at 12:37 AM, zaroundus [EMAIL PROTECTED] wrote: Sure. You can view this form at www.roundus.com/zaroundus/uploadApp/ The validation is performed on submission of the

[jQuery] Re: [validate] has no name assigned Error

2008-08-21 Thread Jörn Zaefferer
You can set the ignore-option to ignore that field. Jörn On Thu, Aug 21, 2008 at 1:10 AM, Mike [EMAIL PROTECTED] wrote: I am getting a has no name assigned error on my form for a hidden element input id=text___Config type=hidden style=display: none; value= Typically I would just add a

[jQuery] Moving an Element

2008-08-21 Thread Stefan Sturm
Hello, I try to move an Element ( a div ) from one div to another. But I fail :-( I use this code to do it: tmp = $('#elementToMove').clone(); $('#elementToMove').remove(); $('targetDiv').append( tmp ); But this is not working. Where is my problem? Thanks for your

[jQuery] Re: Background image

2008-08-21 Thread Rene Veerman
something like http://mediabeez.ws? On Wed, Aug 20, 2008 at 11:56 AM, dinadult [EMAIL PROTECTED] wrote: Gud day to all of you..im doing this site since last wk..im already finished except for this one,i want my content over the background images..i try to play this around and surf the net to

[jQuery] [autocomplete] autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread andrejk
Hi, I can't get the autocomplete plugin working when the page also loads the jquery ui file. Is there an easy way to fix this? My test case: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

[jQuery] [Feature request]unbind should return the binded function for later use.

2008-08-21 Thread Jiming
I need unbind the onchange event of a select box, and then set its value and rebind the onchange function back. But i found the unbind do not return the binded function. What shall i do? Thanks Jiming

[jQuery] Re: A nasa.gov - like accordion menu

2008-08-21 Thread JAVAddicted
Thx, I'm working on it, but I'm not sure I can get the same effect mentioned on my first post. Plz give me a hint to do it faster, I'm new to jQuery and to JavaScript in general

[jQuery] jQuery and Firebug 1.2.0b13

2008-08-21 Thread Javier Martinez Fernandez
Someone is experiencing problems with firebug 1.2.0b13 and domready in jQuery. I load an external js file that contains something like this: jQuery(function() { console.time(Test!); console.timeEnd(Test!); }); And console throws an error saying that console is undefined. It

[jQuery] Selectors for pages loaded via ajax

2008-08-21 Thread DMS
I have some content thats loaded via jquery's ajax methods. I want to have that content load some additional data and do effects, but it doesn't appear to be catching the selectors since the content isn't actually in the mark up. Does anyone know if there is a way around this? Thanks!

[jQuery] delayed action

2008-08-21 Thread belbek
what if i need to make such actions: after sending e-mail write message your message was sent, than wait for sometime and close the form. i tried setTimeout($('#somediv').fadeOut, 5000) , but it did not work

[jQuery] Re: Equiv of :contains for matching substring in id or class?

2008-08-21 Thread PeteShaw
Thanks for that karl, that works, however I was kind of hoping for something a little cleaner as I know have two seperate onblur functions for the same field (as theres a more general one also i.e. I have (edited for brevity): $(.M12_editBookmarks fieldset input).focus(function()

[jQuery] Re: [Validate] How to specify location for error message ?!

2008-08-21 Thread PanPan
I have tried but it doesn't work. I was thinking it was because of the synthax error apentTo, but apendTo didn't work at all. $(document).ready(function(){ $(#News).validate({ rules: { TitleNews:

[jQuery] Re: Superfish

2008-08-21 Thread felix
Thank you very much... I tried this with another script, but at this point i didn't work. Now it's working! Thanks again! On 21 Aug., 03:33, ak732 [EMAIL PROTECTED] wrote: Try adding position:relative and z-index:1 to your top_menu css.

[jQuery] Re: [Validate] How to specify location for error message ?!

2008-08-21 Thread Jörn Zaefferer
That should've been appendTo! Jörn On Thu, Aug 21, 2008 at 12:34 PM, PanPan [EMAIL PROTECTED] wrote: I have tried but it doesn't work. I was thinking it was because of the synthax error apentTo, but apendTo didn't work at all. $(document).ready(function(){ $(#News).validate({

[jQuery] Modifyng a plugin, how to pass and execute a callback function?

2008-08-21 Thread Giovanni Battista Lenoci
Hi, I'm trying to modify the pngfix plugin to be able to launch a function after the pngfix has applied, anyone can help me? I've writed a few lines of code: function test() { alert('prot'); } $(document).pngFix({'blankgif':'images/pngfix/blank.gif', 'funzione': test}); and inside the

[jQuery] Re: Modifyng a plugin, how to pass and execute a callback function?

2008-08-21 Thread Giovanni Battista Lenoci
Solved, inside the plugin: settings.funzione(); Bye

[jQuery] Re: do I need to use var $var = something

2008-08-21 Thread mjatharvest
I'll read up on this some more. Thank you all.

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread GasGiant
Have you tried placing your effects code inside .ajaxStop()? Code inside it does not fire until the AJAX request is complete. http://docs.jquery.com/Ajax/ajaxStop#callback

[jQuery] Preview: Password validation and strength meter

2008-08-21 Thread Jörn Zaefferer
Hi jQueryans, I'd like to share a preview of a validation extension for validating passwords, combined with a password strength meter. Preview means the API is subject to change, code may be more buggy than usual, etc. pp. Code is here: http://dev.jquery.com/view/trunk/plugins/validate.password/

[jQuery] Re: Preview: Password validation and strength meter

2008-08-21 Thread Jake McGraw
Couple of things: 1. Can we get some kind of interaction with an Ajax dictionary for common words. 2. Options: {minimum:4, maximum:16, ... } - jake On Thu, Aug 21, 2008 at 9:12 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi jQueryans, I'd like to share a preview of a validation extension

[jQuery] Re: Preview: Password validation and strength meter

2008-08-21 Thread Jörn Zaefferer
I dropped the dictionary lookup. By enforcing a certain password complexity, no dictionary word can match anyway. Eg. computer and Computer is invalid, cOmputer or computer2 is not. Configuration for minimum length will be added! I'm not sure yet about maximum length, but I'll keep that in mind.

[jQuery] Best way to toggle a form field value

2008-08-21 Thread Andy Matthews
I'm storing a boolean in a hidden field, and I'd like to flip it's value when someone clicks a link. Here's the function I've got currently: function toggleInput($el) { // get the ID of the element being passed in var id = $el.attr('id'); // get form element var $formEl =

[jQuery] Re: Preview: Password validation and strength meter

2008-08-21 Thread Guy Fraser
Jörn Zaefferer wrote: Code is here: http://dev.jquery.com/view/trunk/plugins/validate.password/ A demo here: http://dev.jquery.com/view/trunk/plugins/validate.password/demo/ To get an idea how passwords are rated, check out the tests:

[jQuery] jScrollPane - PaneTrack border

2008-08-21 Thread guyute
I am using the jScrollPane plugin and I want to add a border to the PaneTrack. When I add the border in the css the bottom border of the PaneTrack doesn't show. It seems that the top border pushes the PaneTrack down one pixel and the bottom of the PaneTrack is no longer visible. Here is an

[jQuery] Re: Preview: Password validation and strength meter

2008-08-21 Thread Guy Fraser
Jörn Zaefferer wrote: Code is here: http://dev.jquery.com/view/trunk/plugins/validate.password/ A demo here: http://dev.jquery.com/view/trunk/plugins/validate.password/demo/ To get an idea how passwords are rated, check out the tests:

[jQuery] tablesorter addition

2008-08-21 Thread dduck1934
Ive been playing with the tablesorter and Ive been attempting to modify some of the tablesorter code in order to be able to use groupings in the table, but i keep screwing it up more. for example COL1COL2 COL3 group1 A B C C A B group2 D

[jQuery] Re: tablesorter addition

2008-08-21 Thread tlphipps
I'd suggest looking at the repeatheaders widget at: http://tablesorter.com/docs/example-widgets.html It's not exactly what you need, but I think the process it uses (insert static rows after each sort) is probably what you'll have to do to achieve what you're after. On Aug 21, 8:47 am,

[jQuery] Re: Preview: Password validation and strength meter

2008-08-21 Thread Jörn Zaefferer
Positioning of the strength meter and additional markup, like links, is no problem at all. The markup must be provided by the user (it isn't generated by the script), so you can add anything you want and style it however you see fit. I'll add a zip download soon so that you can download the demo

[jQuery] Re: delayed action

2008-08-21 Thread Dan G. Switzer, II
what if i need to make such actions: after sending e-mail write message your message was sent, than wait for sometime and close the form. i tried setTimeout($('#somediv').fadeOut, 5000) , but it did not work You need: setTimeout(function (){ $('#somediv').fadeOut(); }, 5000); I

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread MorningZ
fixes the problem. Other than doesn't work, what is the problem (what does firebug tell you?)

[jQuery] Re: Superfish

2008-08-21 Thread ak732
You're welcome. Perhaps, when you tried it before, you forgot to add the relative positioning. Without that, in IE at least, the z-index won't be respected. On Aug 21, 4:31 am, felix [EMAIL PROTECTED] wrote: Thank you very much... I tried this with another script, but at this point i didn't

[jQuery] Re: Moving an Element

2008-08-21 Thread ak732
Seems like it should work. Also, if I understand the remove docs, you should be able to do this, without the tmp variable: $('#target').append($('#source').remove()); Because, apparently, source will be removed from the DOM, but not from the jQuery object. On Aug 21, 2:09 am, Stefan Sturm

[jQuery] [validate] Remote Validation

2008-08-21 Thread shapper
Hello, Can I validate a input using a remote function on my server side code? I could return a JSon from my server side code with True or False ... Could someone tell me how should I do this? Thanks, Miguel

[jQuery] Multi Select

2008-08-21 Thread shapper
Hello, I have an input where a user inserts Tags in a CSV way. However, I think it would be better to use a MultiSelect. Does anyone knows something like this in JQuery? Thanks, Miguel

[jQuery] Re: A little problem

2008-08-21 Thread elz64
hi, I'm new to jQ, but I found this with next() statement that get the element very next to the targeted one. $(.btn-slide).click(function(){ $(this).next().slideToggle('slow'); return false; // -- this is necessary, too, to prevent the link's default action NOT SURE ?? });

[jQuery] Re: A nasa.gov - like accordion menu

2008-08-21 Thread elz64
hi, I'm very new too. I found many accordeon examples with jQ (like this one : http://interface.eyecon.ro/demos/accordion.html ), the only thing that looks 'special' with the nasa menu, is the trigger events, it's not onclick but probably the mouseover(fn) that will do tthe job. For the rest

[jQuery] Re: loading image for blockui on form submit

2008-08-21 Thread xxkylexx
Anyone else with any ideas? Hoping the author of the plugin will chime in. I see he is fairly active on here. -Kyle On Aug 20, 12:30 pm, xxkylexx [EMAIL PROTECTED] wrote: Tried both, which both did not work :-/ . It has something to do with the submit function-- as when I use click(), it

[jQuery] Re: delayed action

2008-08-21 Thread GLP
You probably need something like this at the top of the javascript to make setTimeout work under IE: // IE fix, the following don't work in IE6 or IE7 // See: http://webreflection.blogspot.com/2007/06/simple-settimeout-setinterval-extra.html // trackIntervalId =

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread DMS
Well, not everything uses AJAX... and there is a ton of code that would be really messy to mix inside some of the ajax calls... Some of it is using innerHTML also, which doesn't work for selectors either... On Aug 21, 8:15 am, GasGiant [EMAIL PROTECTED] wrote: Have you tried placing your

[jQuery] Re: Moving an Element

2008-08-21 Thread elz64
Hi, I'm just a noob with jQ, but I'd rather .remove AFTER the .append...no ? plus : I don't know the clone syntaxe yet, but what's the name of the cloned element ?? On 21 août, 08:09, Stefan Sturm [EMAIL PROTECTED] wrote: Hello, I try to move an Element ( a div ) from one div to another. But

[jQuery] Re: A nasa.gov - like accordion menu

2008-08-21 Thread cbandes
It's really easy - I'm new too :) check out ui.jquery.com and look at the accordion function and the demos there, then try the themeroller to make a theme that you like You should be able to have a menu together in about ten minutes if you follow the demos On Aug 21, 4:01 am, JAVAddicted

[jQuery] Re: Fwd: jQuery 1.2.6 crashing on Safari 2.0.3

2008-08-21 Thread John Mathews
Unfortunately, after further testing it didn't resolve either issue. I have decided to dynamically include an older version of jQuery (1.2.1) where these issues aren't happening. I would suggest taking the simple snippet of code I provided and reproduce the issue for testing on version 1.2.7.

[jQuery] Passing around sibling nodes in jQuery?

2008-08-21 Thread Keith Hughitt
Hi all, I was wondering if anyone knows how I might be able to pass around two sibling nodes constructed on the fly? I'm building a definition list, and have a function which creates two adjacent domnodes, something like: var term = $('dtterm/dt'); var defn = $('dddefn/dd'); I was hoping to

[jQuery] Title attribute breaks the hover event?

2008-08-21 Thread btwilkins
I'm stumped... I've got a hover event on a UL and it works perfectly, except when I add a title attribute to an image inside that UL. When the tooltip from the title attribute pops up, it reads it as you've hovered off the UL. When I take the title attribute off, it works fine. Any ideas on

[jQuery] Re: Best way to toggle a form field value

2008-08-21 Thread FrenchiINLA
$('a').click(function(){$('input[name=' + this.id+ ']').val(!$ ('input[name=' + this.id+ ']').val())});// On Aug 21, 7:02 am, Andy Matthews [EMAIL PROTECTED] wrote: I'm storing a boolean in a hidden field, and I'd like to flip it's value when someone clicks a link. Here's the function I've got

[jQuery] Re: [Validate] How to specify location for error message ?!

2008-08-21 Thread PanPan
But it still doesn't work. On 21 août, 13:59, Jörn Zaefferer [EMAIL PROTECTED] wrote: That should've been appendTo! Jörn On Thu, Aug 21, 2008 at 12:34 PM, PanPan [EMAIL PROTECTED] wrote: I have tried but it doesn't work. I was thinking it was because of the synthax error apentTo, but

[jQuery] Re: Equiv of :contains for matching substring in id or class?

2008-08-21 Thread Karl Swedberg
Ah, I see now why you wanted to do the if (). So, this should work: if ( (/_url$/).test(this.id) ) { // now do your thing } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 21, 2008, at 6:01 AM, PeteShaw wrote: Thanks for that karl, that

[jQuery] Re: Superfish

2008-08-21 Thread Karl Swedberg
On Aug 21, 2008, at 11:54 AM, ak732 wrote: You're welcome. Perhaps, when you tried it before, you forgot to add the relative positioning. Without that, in IE at least, the z-index won't be respected. Just to elaborate on this... If you don't give an element a position -- such as

[jQuery] IE - 'object does not support this property or method'

2008-08-21 Thread pedalpete
Hey gang, I've written a bit of jquery code which I am absolutely amazed works on both Safari and FF, but IE is giving me errors. I've put the code on an external server so you can see what it is. http://zifimusic.com/mapickl/selectDate.html Basically what I have is a select list which when

[jQuery] Re: Best way to toggle a form field value

2008-08-21 Thread Andy Matthews
Anyone have input on this? This code runs, but it doesn't seem to want to toggle the value of the form field at all. It changes it once, then continues using the same value. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Thursday, August 21,

[jQuery] Re: [validate] Remote Validation

2008-08-21 Thread Jörn Zaefferer
Yes, see http://docs.jquery.com/Plugins/Validation/Methods/remote#url Jörn On Thu, Aug 21, 2008 at 6:48 PM, shapper [EMAIL PROTECTED] wrote: Hello, Can I validate a input using a remote function on my server side code? I could return a JSon from my server side code with True or False ...

[jQuery] Intentionally wrong nested tags?

2008-08-21 Thread webrocker
Hi, I have a rather long unordered list with about hundred items inside. each is wrapped in li.../li I want to split this list into several small lists, with, say, 10 items each. to do that I have this code: checkvar = 1; $('#right ul li').each(function(){ if(

[jQuery] remove() apparently occurring out of order

2008-08-21 Thread Kit La Touche
First, apologies; I'm a newb to javascript, and have just joined the list. My problem is this: I have defined a function which allows one to edit the fields of a form, as in change the number, names and labels of the text inputs. It brings up a div using blockUI, and when you click OK, it takes

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread andrejk
Nothing works, and no errors in the firebug console. I think autocomplete doesn't get any events when i enter something in the input field. It's like i didn't enable autocomplete on the field. On Aug 21, 5:31 pm, MorningZ [EMAIL PROTECTED] wrote: fixes the problem. Other than doesn't work,

[jQuery] How to set background image when file name contains a space?

2008-08-21 Thread [EMAIL PROTECTED]
Hi, I have an image with path '/documentengine/user/xhuntertest/ Uploaded_Documents/Toad Getting Started Guide1_thumb.jpg'. When I try and set this as the background of my DIV using $('#frontside').css('backgroundImage','url(' + img +')'); where img contains the offending name,

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread Andy Matthews
Spaces in file names for web apps are asking for trouble. Any way of getting around having the spaces ? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 21, 2008 2:03 PM To: jQuery (English) Subject:

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread [EMAIL PROTECTED]
I agree, but sadly the file naming situation is beyond my control. I'm forced to work with these poorly named files. - Dave On Aug 21, 1:10 pm, Andy Matthews [EMAIL PROTECTED] wrote: Spaces in file names for web apps are asking for trouble. Any way of getting around having the spaces ?

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread aquaone
You'll need to urlencode it then. Spaces are usually replaced with %20. stephen On Thu, Aug 21, 2008 at 12:15 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I agree, but sadly the file naming situation is beyond my control. I'm forced to work with these poorly named files. - Dave On Aug

[jQuery] [treeview] Trigger event...

2008-08-21 Thread Stan Lemon
Jorn, Greetings! Love your treeview plugin and I've used it on a number of projects. I have a particular project right now where in my particular li node I have a span that has a click function attached to it, and when that click function is called I'd like for the treeview action not to be

[jQuery] load() Safai

2008-08-21 Thread Scott
When load() is done on safari the $(document).ready(); event in the fetched page never fires. The same code runs flawlessly on IE and firefox.

[jQuery] Re: Intentionally wrong nested tags?

2008-08-21 Thread Kit La Touche
My guess is that it has to do with jQuery sanitizing HTML that you pass it; it does a fair amount of that. As to a work around, one possibility would be to build the string, and then pass it as well-formed HTML to jQuery's after(). String operations are probably not the quickest, though. --Kit

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread larksys
I'm at the same place you are. I don't get it. My code looks very similar to yours.

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread Kit La Touche
You need quotes if the URL has a space in it. Try: $('#frontside').css('backgroundImage','url(' + img+')'); --Kit On Thu, Aug 21, 2008 at 1:03 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have an image with path '/documentengine/user/xhuntertest/ Uploaded_Documents/Toad Getting

[jQuery] Re: IE - 'object does not support this property or method'

2008-08-21 Thread Guy Fraser
pedalpete wrote: I've written a bit of jquery code which I am absolutely amazed works on both Safari and FF, but IE is giving me errors. Not sure if it's same error, but this MS KB article may help: http://support.microsoft.com/kb/933873

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread [EMAIL PROTECTED]
What is the right way to URL Encode in JQuery, or Javascript for that matter? - Dave On Aug 21, 1:20 pm, aquaone [EMAIL PROTECTED] wrote: You'll need to urlencode it then. Spaces are usually replaced with %20. stephen On Thu, Aug 21, 2008 at 12:15 PM, [EMAIL PROTECTED] [EMAIL

[jQuery] Re: Intentionally wrong nested tags?

2008-08-21 Thread Michael Geary
It isn't possible to insert tags, or partial tags, into the DOM. All you can insert into the DOM is DOM nodes, which by definition always follow the proper tree structure. 'ul/ul' is a complete tag with begin and end, and $('ul/ul') results in a UL element which you can insert into the DOM.

[jQuery] Re: IE - 'object does not support this property or method'

2008-08-21 Thread Michael Geary
You have a typo on line 68 of selectDate.html. updatedDate should be updateDate. That's why updateDate is undefined in IE. BTW, here's a way you could write that bit of code without the repetition: var updateDate = [ splitDate[1], splitDate[2], splitDate[3],

[jQuery] Re: [treeview] Trigger event...

2008-08-21 Thread Jörn Zaefferer
Try binding your click-event first, returning false from the function you add. Apply the treeview afterwards - in theory, the tree shouldn't do anything after your click function got called. Jörn On Thu, Aug 21, 2008 at 9:56 PM, Stan Lemon [EMAIL PROTECTED] wrote: Jorn, Greetings! Love your

[jQuery] Re: [validate] Remote Validation

2008-08-21 Thread linocarvalho
Hello, I have one more question about this, I want to know if could override the default remote function creating another function that calls a $.ajax with method POST and has effects fadeIn() and fadeOut() when validating a INPUT. For example: remote:

[jQuery] Re: [validate] Remote Validation

2008-08-21 Thread Jörn Zaefferer
Custom remote methods are currently not supported. You'd need to replicate the current implementation and change the necessary details - not recommended. There are various options for customizing message display, but using animations isn't supported either. You could give the

[jQuery] Re: remove() apparently occurring out of order

2008-08-21 Thread Kit La Touche
Sorry, I resolved this on my own. The problem was outside of the scope of the snippet I included; I had bound the method containing that snippet to a button twice, so it fired once with the elements present, and once with them removed. --Kit On Thu, Aug 21, 2008 at 12:02 PM, Kit La Touche

[jQuery] Re: Intentionally wrong nested tags?

2008-08-21 Thread webrocker
Hi Mike, On 21 Aug., 22:11, Michael Geary [EMAIL PROTECTED] wrote: It isn't possible to insert tags, or partial tags, into the DOM. All you can insert into the DOM is DOM nodes, which by definition always follow the proper tree structure. 'ul/ul' is a complete tag with begin and end, and

[jQuery] Toggling boolean values in form fields

2008-08-21 Thread Andy Matthews
I'm storing a boolean in a hidden field, and I'd like to flip it's value when someone clicks a link. Here's the function I've got currently: HTML: input type=hidden name=saveAsTemplate value=0 / TRIGGER: a href= id=saveAsTemplate class=toggleImageSave as template/a JAVASCRIPT:

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread [EMAIL PROTECTED]
This is the winning answer. Thanks, - On Aug 21, 1:08 pm, Kit La Touche [EMAIL PROTECTED] wrote: You need quotes if the URL has a space in it.  Try: $('#frontside').css('backgroundImage','url(' + img+')'); --Kit On Thu, Aug 21, 2008 at 1:03 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread GasGiant
Maybe put the ton of code in a function so you'll only need the function call inside of your callbacks? On Aug 21, 11:35 am, DMS [EMAIL PROTECTED] wrote: Well, not everything uses AJAX... and there is a ton of code that would be really messy to mix inside some of the ajax calls...  Some of it

[jQuery] div magic

2008-08-21 Thread Rob
I'm very new to jquery and I'm finding that I'm flooding myself with ideas of how to use it! Good stuff. I have this repeating pattern on my site: div class=box h3Some Neat Title/h3 div class=boxContent Some neat content... /div /div What I think would be cool is to change that

[jQuery] Simple Syntax Help please!

2008-08-21 Thread glawrie
I'm trying to set up a 'mailto' href within an existing tag. The tag is set up to look like this before the jQuery a href=# mLink=partners mSubject=Partnership Enquiry mText=Click to enquire/a Our site is aliased to several domain names. Where the URL host is 2gc.co.uk, the final tag I'm

[jQuery] Re: trouble with jquery cycle plugin

2008-08-21 Thread Mike Alsup
Did you ever solve this problem? What you described is almost always the result of a JavaScript error but there is nothing wrong with the code you posted.. Can you post a link? Mike On Aug 13, 3:10 pm, graphfixpunk [EMAIL PROTECTED] wrote: Ive been having problems with jquery cycle working

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread MorningZ
Hmmm i got this to work just fine... perhaps differences in ui.js (as you can see, mine is right off the official site) ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head

[jQuery] Re: Submitting form multiple times using .each()

2008-08-21 Thread Mike Alsup
On Aug 14, 12:55 am, hubbs [EMAIL PROTECTED] wrote: I am working on a page that has multiple file uploads, and the user can add more if they need to.  To submit it to the server, I need to send them one at a time, so I was thinking I could use the .each() function to loop through the file

[jQuery] Re: FadeIn for BlockUI

2008-08-21 Thread Mike Alsup
Currently, no, but I like the idea. Mike On Aug 14, 5:52 am, Max [EMAIL PROTECTED] wrote: Hi all! I'd love to know if it's possible to add a fadeIn effect to BlockUI (and specify the time), just like it proposes fadeOut: // fadeOut time in millis; set to 0 to disable fadeout on unblock  

[jQuery] Re: $.ajax not working in IE7?

2008-08-21 Thread Mike Alsup
Hi Le-an, Did you ever get this problem solved? Mike On Aug 15, 6:23 am, Le-an [EMAIL PROTECTED] wrote: Hello everyone! I'm just a newbie here and in using JQuery. We've created a chained selects search module and we used $.ajax function from JQuery but the problem is it is not IE7. It

[jQuery] Re: $(document).ready with ajax

2008-08-21 Thread Mike Alsup
I am loading a page with severl jquery events on one of the divs. Depending on interaction with the user, the div triggering the jquery events could be reloaded from an ajax call.  But as it stands now, new content that is added to the dom is not triggering the code in the original

[jQuery] Re: Can unbind method return the bind function?

2008-08-21 Thread Mike Alsup
On Aug 15, 12:54 pm, Jiming [EMAIL PROTECTED] wrote: I need unbind the onchange event of a select box, and then set its value and rebind the onchange function back. But i found the unbind do not return the binded function. What shall i do? Unbind returns a jQuery object so you could do this:

[jQuery] Re: Form Plugin: Pressing Enter on an ajaxForm skips event listeners

2008-08-21 Thread Mike Alsup
Hi All, I'm having a problem with the form plugin. When I press enter in a type=file input field, I'm brought to a new page instead of the current page being updated. In the attached code, press enter in the type=text field, and it works as expected, but press enter in the type=file

[jQuery] Re: jQuery Form plugin file upload question

2008-08-21 Thread Mike Alsup
trying to get a file upload to work but for some reason my inputs won't post this is what I have [code] var options = {         url:       'includes/images.php?a=add',         type:      'post',         dataType:  'json',         success:   processJson}; var container =

[jQuery] Re: problem using form.js and nice edit together.

2008-08-21 Thread Mike Alsup
hi all this is my first post here.. plz help. I'm using form.js  malsup.com/jquery/form/ here  and nice edit  nicedit.com/ here  for a news submission form. I have written a code to retrieve data from my DB (via JSON), when user changes the news_id combo box. It fills the news_title and

[jQuery] Re: Reinit $(document).ready()

2008-08-21 Thread Mike Alsup
How do I trigger the ready() event listener on content that is dynamically loaded via ajax?  I am loading a chunk of html into a div has a bunch of items that trigger the same scripts previously loaded. How do I get jquery to reinit all the listeners from $ (document).ready() on the content

[jQuery] Catching if print layout in the browser

2008-08-21 Thread JP
Hello, I am trying to modify print layout in JS but is there a way jQuery (or in JavaScript general) to find out when user is going to print preview so I can execute custom actions. Somethig like onPrint, onPrintPreview???

[jQuery] Re: Problems with Form Plugin

2008-08-21 Thread Mike Alsup
I have a form page here: http://jimdavis.org/test/form1.php and the page for the form post here: http://jimdavis.org/test/comment.php Data from the form is not getting written to the comment.php file. At the moment comment.php is a completely empty file, no html head body, etc. Tried

[jQuery] Re: JQuery form plugin not uploading files

2008-08-21 Thread Mike Alsup
On Aug 19, 12:26 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, this may be a stupid question, but im trying to make an upload from a form with the form plugin (excelent btw), the form data is sent to a DB through a php script. Here is the form: form action=upload_contrib.php

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread andrejk
Seems to be something with the jquery ui downloads. If i select build your download on the jquery ui site, select all packages, minimized version, and use that, autocomplete works. If i select the development bundle and use jquery.ui.all or jquery.ui.all.min, autocomplete doesn't work. On Aug

[jQuery] Re: loading image for blockui on form submit

2008-08-21 Thread Mike Alsup
I'd try preloading the image, either via script or by making the blocking message a hidden div. The Dom Element as Message example on this page uses existing markup as the message: http://www.malsup.com/jquery/block/#page If that doesn't work then I'd return false from your submit handler and

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread Karl Swedberg
Just use the JS escape() function: escape('your unencoded url') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 21, 2008, at 4:09 PM, [EMAIL PROTECTED] wrote: What is the right way to URL Encode in JQuery, or Javascript for that matter? - Dave On

[jQuery] Re: div magic

2008-08-21 Thread Ariel Flesler
Whether or not this should be done, I don't know. It modifies the way the user gets the title (much more subtle/hidden the second way). How to do this ? $('div.box').each(function(){ this.title = $(this).find('h3').remove().attr('title') || ''; }); -- Ariel Flesler

[jQuery] Re: Intentionally wrong nested tags?

2008-08-21 Thread Ariel Flesler
So... did you pull this off? -- Ariel Flesler http://flesler.blogspot.com/ On Aug 21, 5:53 pm, webrocker [EMAIL PROTECTED] wrote: Hi Mike, On 21 Aug., 22:11, Michael Geary [EMAIL PROTECTED] wrote: It isn't possible to insert tags, or partial tags, into the DOM. All you can insert into

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread MorningZ
Maybe get the dev version and pack it yourself (http:// dean.edwards.name/packer/) would be worth a shot

[jQuery] Re: Passing around sibling nodes in jQuery?

2008-08-21 Thread Ariel Flesler
This is doable: var $both = $('dtterm/dtdddefn/dd'); $both.appendTo('#foo'); -- Ariel Flesler http://flesler.blogspot.com/ On Aug 21, 11:52 am, Keith Hughitt [EMAIL PROTECTED] wrote: Hi all, I was wondering if anyone knows how I might be able to pass around two sibling nodes constructed on

[jQuery] [Treeview] Cookie based persistence

2008-08-21 Thread Av-
For those using the treeview plug-in by bassistance.de, note that for the cookie based persistence to work you must include the jquery cookie plugin which can be found here. http://plugins.jquery.com/project/cookie This may be written somewhere in the original documentation, I'm not entirely

[jQuery] Simple syntax help please!

2008-08-21 Thread glawrie
I'm trying to set up a 'mailto' href within an existing tag. The tag is set up to look like this before the jQuery lt;a href=# mLink=partners mSubject=Partnership Enquiry mText=Click to enquiregt;lt;/agt; Our site is aliased to several domain names, the main point of the exercise is to

  1   2   >