[jQuery] Re: Enable a disabled checkbox after the user has completely scrolled down to the bottom of a textarea

2009-09-14 Thread Thorsten Panknin
Noone?

[jQuery] Autocomplete plugin - customization

2009-09-14 Thread Althalos
Hi I'm trying to make a custom hack to the autocomplete plugin. I want it so that when you select a suggestion I can separate the data in that suggestion and insert parts of it into four different elements. I'll use split to get the data into an array and then use the Val function to set the

[jQuery] Re: Autocomplete plugin - customization

2009-09-14 Thread Dhruva Sagar
Hi, Which autocomplete plugin are you using ? Thanks Regards, Dhruva Sagar. Mike Ditka http://www.brainyquote.com/quotes/authors/m/mike_ditka.html - If God had wanted man to play soccer, he wouldn't have given us arms. On Mon, Sep 14, 2009 at 1:57 PM, Althalos g...@ekdahlproduction.com

[jQuery] asynchronous validation + BabySteps

2009-09-14 Thread csetzkorn
Hi, I am struggling a bit with this. I am using the 'jQuery BlockUI Plugin' and the 'BabySteps' plugin (http://blog.vokle.com/index.php/ 2008/08/22/babysteps/) where I go from step to step if the previous step validates ok. I have (simplified) code like this: step1.bindStep(step2, {

[jQuery] trim string

2009-09-14 Thread runrunforest
Hi, I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1) I want to take out all the numbers and . and - signs the desire result is cat=(com, com, cop, sap) how can i do that please ?

[jQuery] Flipv Vertical Text and extra space

2009-09-14 Thread Paul Collins
Hi all I'm currently using the Jquery Flipv plugin, which works well. The only problem is, some words have extra padding at the end, depending on how many characters. http://www.openstudio.fr/jQuery-flipv.html?lang=en I'm not sure why this is, but it seems that the conversion to vertical text

[jQuery] Jquery Starter - Need help

2009-09-14 Thread ferdous
Hello, I have just started jquery and stuck in some basic. Before telling the problem, here are the 3 simple files that am working with. === test.php === !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://

[jQuery] Re: trim string

2009-09-14 Thread Mohd.Tareq
Try object.substring('.',' '); On Mon, Sep 14, 2009 at 3:40 PM, runrunforest craigco...@gmail.com wrote: Hi, I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1) I want to take out all the numbers and . and - signs the desire result is cat=(com, com, cop, sap) how can

[jQuery] Re: Jquery gradient and tabs

2009-09-14 Thread MiKiTiE
Could you provide a link? On Sep 14, 3:38 am, Anush Shetty anushshe...@gmail.com wrote: When I try using jquery gradient plugin with tabs, I see that the tabs get disabled. Does anybody here know the reason behind it ? -- Anush

[jQuery] jquery question on slideUp fadeIn and show

2009-09-14 Thread kev.
Hi All, jquery noob question here. I've got a php script that runs a few price checker kiosks out on the sales floor at work and I've got a p element that I can get to slide up when a product is scanned and slide back down after a 5 second pause with: $(function() {

[jQuery] Re: Enable a disabled checkbox after the user has completely scrolled down to the bottom of a textarea

2009-09-14 Thread ryan.j
take a look at this, which works in your example... script type=text/javascript$('#licenseTerms').scroll(function (){ var a = $(this).scrollTop() / 12.5; var b = $('#licenseTerms').height(); if ( a = b ) { alert(a + , + b); } })/script the problem is that scrollTop() isn't

[jQuery] Re: Enable a disabled checkbox after the user has completely scrolled down to the bottom of a textarea

2009-09-14 Thread ryan.j
at least it would, if it wasn't for the typo in the closing /script tag... On Sep 14, 12:20 pm, ryan.j ryan.joyce...@googlemail.com wrote: take a look at this, which works in your example... script type=text/javascript$('#licenseTerms').scroll(function (){   var a = $(this).scrollTop() /

[jQuery] Re: jquery question on slideUp fadeIn and show

2009-09-14 Thread ryan.j
have you tried to use a callback instead of the setTimeout? On Sep 14, 11:37 am, kev. yu210...@gmail.com wrote: Hi All, jquery noob question here.  I've got a php script that runs a few price checker kiosks out on the sales floor at work and I've got a p element that I can get to slide up

[jQuery] Re: event coordination problem

2009-09-14 Thread Mr Speaker
Ahh. The problem is that there is NO relation between the two fields: they're just DOM elements like divs, paragraphs, and iframes. The blur event of some textbox is _totally_ unrelated to a click event of some other button. If you want to enforce some rules between the two you'll have to code

[jQuery] Re: (validate) dash/hyphen in radio id problem

2009-09-14 Thread mattso
I've tried using the quotes on names that don't have a dash in it and this works, but it won't work with the ones that do contain a dash (-) (they are radio buttons) Is this really supposed to work ? Any clue would be appreciated On 11 sep, 16:03, mattso matthieu.larc...@gmail.com wrote:

[jQuery] Removal of element before body

2009-09-14 Thread paulswansea
Hi, How can I remove an element before the body of the document, the long and the short of it is that a script I use places a br statement (amongst other things) dynamically into my web pages and based upon which browser I use, sometimes it places it inside the head and sometimes places it

[jQuery] ajaxForm - upload issue

2009-09-14 Thread Dani - smalldressup.com
Hello everybody! I've recently stumbled upon a very strange issue and it consists of the following: I have a form that I submit using the ajaxForm plugin. I have 2 file fields: thumb and .swf The iframe option is set to true and the form uploads ok the images but does nothing with the .swf

[jQuery] Easy show()/hide() Question

2009-09-14 Thread GLSmyth
I am missing something fundamental and am sure that someone can point me in the right direction. I have a list like so: li id=GalleryMenua href=../Gallery/Default.htmDD/a ul class=DoNotDisplay lia href=../Gallery/Santuary.htmSantuary/a/li lia

[jQuery] Re: ajaxForm - upload issue

2009-09-14 Thread Mike Alsup
I have a  form that I submit using the ajaxForm plugin. I have 2 file fields: thumb and .swf The iframe option is set to true and the form uploads ok the images but does nothing with the .swf file and I have no idea why is this happening Is there some filesize limitation to the plugin or

[jQuery] Re: Autocomplete plugin - customization

2009-09-14 Thread alexbodn . groups
if i understand you correctly, using the result trigger (google for it) may do the whole job. On Mon, Sep 14, 2009 at 11:27, Althalos g...@ekdahlproduction.com wrote: Hi I'm trying to make a custom hack to the autocomplete plugin. I want it so that when you select a suggestion I can separate

[jQuery] Re: trim string

2009-09-14 Thread sqwerl
It would be best to use a regular expression. On Sep 14, 5:37 am, Mohd.Tareq tareq.m...@gmail.com wrote: Try object.substring('.',' '); On Mon, Sep 14, 2009 at 3:40 PM, runrunforest craigco...@gmail.com wrote: Hi, I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1)

[jQuery] Re: ajaxForm - upload issue

2009-09-14 Thread Dani - smalldressup.com
the thing is that the script work ok without ajax.. I am using many upload scripts and the normal PHP one works perfect :|

[jQuery] Re: animate : animable properties

2009-09-14 Thread Nico
Hello, I didn't find any solution for my problem yet. Can anyone help me ? I have a JS object defining CSS properties. I'd like to remove from this object all the properties that can't be animated. example : I have this object : var myObject = { height: '100px', width: '100px',

[jQuery] Re: jquery question on slideUp fadeIn and show

2009-09-14 Thread kev.
It's a moot point anyway. Got into work this morning to find that the embedded browser in the price checkers doesn't play nice with even the slideIn/slideOuts. :\ kev. On Sep 14, 7:29 am, ryan.j ryan.joyce...@googlemail.com wrote: have you tried to use a callback instead of the setTimeout?

[jQuery] Re: animate : animable properties

2009-09-14 Thread bjorsq
Try this: function filterInanimate(obj) { var newObject = {}; var goodProps = ['width','height','left','right','top','bottom','margin','background']; for (prop in obj) { if ($.inArray(prop, goodProps) != -1) { newObject[prop] = obj[prop]; } } return

[jQuery] Re: jquery validate and datepicker.

2009-09-14 Thread Karl Swedberg
Hi, Sorry you haven't received a response yet. Usually Jörn picks up questions about the validate picker, but he's been traveling for the past week. Also, datepicker questions are usually handled on the jquery-ui google group. In any case, it looks like the the validation message is

[jQuery] Re: Removal of element before body

2009-09-14 Thread MiKiTiE
To remove them you could use $(function() { $(br).remove(); }); but to find where they are is more difficult, as you could end up removing key elements like the head tag itself. If it's placing it where you don't want it to, maybe the script needs tweaking? Could you possibly post it here,

[jQuery] Re: trim string

2009-09-14 Thread bjorsq
Try this: function filterArray(arr) { var newArr = []; for (var i = 0; i arr.length; i++) { newArr.push(arr[i].replace(/[0-9\-.]/g, '')); } return newArr; } runrunforest wrote: Hi, I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1) I

[jQuery] Re: Why no entire text is replaced when I pick a date on the datepicker?

2009-09-14 Thread Karl Swedberg
Would you mind posting this question to the jquery-ui google group if you haven't done so already? That group is dedicated to questions such as yours that are specifically related to jQuery UI. http://groups.google.com/group/jquery-ui/ Thanks! --Karl Karl Swedberg

[jQuery] Re: Twitter for support?

2009-09-14 Thread Ashley
Twitter is highly ephemeral and I don't think it's a good idea to split support out into a series of venues. I see this same thing in other software groups with IRC instead of Twitter and I think it's *much* better to use something like Google groups for discussion or a permanent page on a jQuery

[jQuery] Re: Twitter for support?

2009-09-14 Thread Rick Faircloth
+100 -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Ashley Sent: Monday, September 14, 2009 12:21 PM To: jQuery (English) Subject: [jQuery] Re: Twitter for support? Twitter is highly ephemeral and I don't think it's a good idea to

[jQuery] Re: animate : animable properties

2009-09-14 Thread Nico
Hi, the goodProps array stores all the properties which you would like to be able to animate. In fact I already use this solution. I defined a table with all the properties that can be animated, and than I use this reference as a filter. But this way, I don't handle custom animation

[jQuery] Re: Flipv Vertical Text and extra space

2009-09-14 Thread MiKiTiE
Oh, and also - there's a little drop down box in the top right corner which will allow you to change the language to English :-) On Sep 14, 11:24 am, Paul Collins pauldcoll...@gmail.com wrote: Hi all I'm currently using the Jquery Flipv plugin, which works well. The only problem is, some

[jQuery] detecting events on iframe: reload

2009-09-14 Thread ximo wallas
Can I detect somehow if a content has been loaded in an iframe? I'm not talking about the first loading of the iframe, but afterwords. I have a flash movie inside an iframe and this flash movie loads a document in the iframe when a button is clicked, all I want is the main page to detect when

[jQuery] Re: saving values from a multi select list.

2009-09-14 Thread shaded
Ok so i thought that maybe the problem had something to do with the ajax request so i tried adding the ajaxStart function. See below. $(#ddl_customer).change(function(){ $(#ddl_customer).ajaxStart(function() { cuslist = $(this).val().join(, ); }); alert(cuslist); });

[jQuery] Hide/Show based on radio button selected

2009-09-14 Thread mtuller
I am trying to create a script that will display content based on if a radio button is selected, and if the other is selected would hide the content. Now, each of these radio buttons are part of a radio group, so their names are the same. Most examples show input:radio [...@name=item] Since I

[jQuery] 'key' related events throw up warnings in FF

2009-09-14 Thread MiKiTiE
Hi everyone Everytime I try to use a keyup/keypress/keydown event in my code, I get a warning in my Firebug whenever it is fired: The 'charCode' property of a keydown event should not be used. The value is meaningless. I'm not quite sure what this means, but I'm guessing it's because I have

[jQuery] Re: (validate) dash/hyphen in radio id problem

2009-09-14 Thread mattso
I tried building a testcase and it appeared that the problem was not id-with-dash related, it's the radio buttons validation that simply wasn't working at all ! There's a demo of radio buttons validating at http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html but it is

[jQuery] Re: Browser Stop call's ajax.Error

2009-09-14 Thread MiKiTiE
Probably because you're sending the data to the url, but stopping the process before it can produce a result. On Sep 13, 7:52 pm, nirazue...@gmail.com nirazue...@gmail.com wrote: Hi, I've noticed that when I click the Stop button on the browser, or navigate to another page, jQuery.ajax calls

[jQuery] Re: shadowbox / ajax IE8.0.6 issue

2009-09-14 Thread Karl Swedberg
I'm not sure what's going on there, but you may have better luck at the Shadowbox forum: http://www.shadowbox-js.com/forum.html --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 13, 2009, at 8:17 PM, Duncan wrote: Hi All, We have an issue in our site

[jQuery] Re: something amiss with json call/file

2009-09-14 Thread roryreiff
The problem ended up being my call to .getJson and something about how jQuery was recogzing the url as being cross domain. I changed the call to the file to be relative and it is working now. Thanks for the help. On Sep 11, 4:57 pm, Scott Haneda talkli...@newgeo.com wrote: Maybe your use of

[jQuery] Re: Flipv Vertical Text and extra space

2009-09-14 Thread MiKiTiE
Flipv only supports Verdana font fully, is this the font you're using? Also, do you have a link to your code, and which browsers are causing problems? Mike On Sep 14, 11:24 am, Paul Collins pauldcoll...@gmail.com wrote: Hi all I'm currently using the Jquery Flipv plugin, which works well.

[jQuery] Re: Hide/Show based on radio button selected

2009-09-14 Thread Rick Faircloth
Just off the top of my head, but may work... $(document).ready(function() { $('#offices_checkboxes').hide(); $('input:radio[name=radioName]:checked').click(function() { $('#offices_checkboxes').show(); });

[jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-09-14 Thread Karl Swedberg
Not sure why you're having this problem, but take a look at the very simple test case here: http://test.learningjquery.com/alt-rows.html It seems to work fine. Maybe something else is going on in your code or markup? Hard to tell from that snippet. --Karl Karl Swedberg

[jQuery] Re: Jquery Starter - Need help

2009-09-14 Thread jlcox
Two things: 1. You don't have an id set for the loadagain button, so jQuery won't be able to find it. 2. That button doesn't exist (yet) after document.ready has completed, so you can't bind it like that. You'll need to use live for event delegation: Change $('#loadagain').click(function(){ to

[jQuery] help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
Hello, Below is a script I am working on for a slideshow for a set of 5 divs. I am generating a random number to represent the index of the starting div, i.e. the one that gets displayed in the middle. All of the other 4 divs get relative indexes so that they appear either to the left or right

[jQuery] Re: help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
I would also be interested in comments/suggestions about how this code or even approach could be simplified/improved. It seems pretty lightweight and simple to me, but I have very little idea about it's performance and am curious if I am doing something that is unnecessary or just plain

[jQuery] Re: Superfish: Leave sub ul menu visible when a tag class is set as active

2009-09-14 Thread gafir777
No idea? Well, is there a way to disable superfish for one li item? I can probably find if there's an active a tag somewhere, but I'd need to disable superfish for that item, and make the nested ul visible by default. On Sep 13, 2:36 pm, LoicDuros loic.du...@gmail.com wrote: Hello, I'm using

[jQuery] Re: help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
Was trying some other options and basically figured out the indexing/ setting the id issue: .attr('id', 'pane-' + ((LENGTH - startingPane) + i) % LENGTH ). I am still curious about this codes performance though and any suggestions as to how it could be made better. Thanks, On Sep 14, 10:43 am,

[jQuery] Display background image in optgroup on IE

2009-09-14 Thread Rodrigo Sebastián Alfonso
Guys, I'm wondering if any of you might have some kind of jquery related hack in order to be able to display background images in IE (6,7,8) for the OPTGROUP element. I've been looking for a way to acomplish this everywhere with no luck. I'll appreciate any leads. Thanks! -- Rodrigo Alfonso

[jQuery] (validate) email validator

2009-09-14 Thread mattso
How come the validator for emails only needs one letter for the tld and allows non valid characters like / or * ?

[jQuery] Re: (validate) email validator

2009-09-14 Thread Scott Haneda
The one letter for tld is probably a bug. The characters you list are legal to the left if the last @ sign. -- Scott Iphone says hello. On Sep 14, 2009, at 10:59 AM, mattso matthieu.larc...@gmail.com wrote: How come the validator for emails only needs one letter for the tld and allows

[jQuery] Changing the slider value programatically

2009-09-14 Thread David Garthe
How do I reset a slider value after it has been declared from a calling page? I have a modal box, that has a form in it. I use this form to add/ edit items. Within that form, I have a slider from jquery UI. When I click on a link to bring up the modal box and EDIT data, I'm having trouble

[jQuery] [validate]

2009-09-14 Thread Shyam
I am using jQuery validate plug in. I have configured validate plug in for two text fields. Error message are displayed right below the text box in case of empty or invalid input in FF and IE7. Only IE6, displays the error message next to the text box and it wraps it from there. Any ideas how

[jQuery] jCarousel and links

2009-09-14 Thread zac
HI I am trying to work with the jCarousel plugin by Ian Sorgalla http://sorgalla.com/jcarousel/ Does anyone know how I could wrap a link around each of the images in the Carousel ?

[jQuery] iframe accesing main document functions?

2009-09-14 Thread ximo wallas
Is this possible? Been trying but doesn't seem to work...

[jQuery] Problem with .live() events in a widget in FF3

2009-09-14 Thread ChrisP
I am creating a simple jQuery widget and have the following two lines in the _init() method. this.element.find(li.thumb img).css(cursor, pointer); this.element.find(li.thumb img).live(click, function() { alert (); }); The addition of the style property in the first line works in both

[jQuery] Re: unblockUI() problems in IE

2009-09-14 Thread Eric Chan
Try the code as bellow: $.unblockUI(); $(.blockUI).fadeOut(slow); -- The code can fix unBlockUI which problem with IE6/7/8 On Sep 4, 1:38 am, Matthew Abbott dduck1...@gmail.com wrote: Im using the blockUI() plugin in jquery and I attached a click

[jQuery] each() needs documentation

2009-09-14 Thread Jānis
Hello! I could not find each() in jQuery's documentation. Could it be included there, please, as I was browsing all the features to find out what exactly is the collection of elements returned by the many JQuery functions and how to be able to access and manage each of them separately, but could

[jQuery] Intercept javascript event

2009-09-14 Thread sirrocco
Here's what I'm trying to do : I have a page with some links. Most links have a function attached to them on the onclick event. Now, I want to set a css class to some links and then whenever one of the links is clicked I want to execute a certain function - after it returns , I want the link to

[jQuery] Buy or sell

2009-09-14 Thread Mark Jonson
We have great deals for Real Estate Investors. As real estate investors ourselves we are very eager to work with other real estate investors like you. http://www.greenmiraclesinc.com/inv.php?sysac=9pg=26tm=

[jQuery] ajaxForm error call back

2009-09-14 Thread Josh
How do I access my form object inside of the error callback? $('#foo').ajaxForm({ error: function(){ // where's my $('#foo') object here? } });

[jQuery] jQuery / Plugin history and callback

2009-09-14 Thread CUT HERE
Hi, I'm working on my own plugin jquery but I have a issue and I don't find any solution. The plugin handles tabs. One main feature about this homemade plugin is to manage static en ajax tabs and an history. When the user click on back or forward button, tabs is reloaded. So I use this plugin

[jQuery] Re: each() needs documentation

2009-09-14 Thread Jonathan
Did you really look for it? It's like the 2nd or 3rd link under Core. http://docs.jquery.com/Core/each#callback On Sep 14, 6:53 am, Jānis eye...@gmail.com wrote: Hello! I could not find each() in jQuery's documentation. Could it be included there, please, as I was browsing all the features

[jQuery] Re: ajaxForm error call back

2009-09-14 Thread Mike Alsup
How do I access my form object inside of the error callback? $('#foo').ajaxForm({   error: function(){     // where's my $('#foo') object here?   } }); One way is like this: $('form').ajaxForm({ beforeSerialize: function($form, opts) { opts.$form = $form; }, error:

[jQuery] Re: Odd problems with jQuery and XHTML in Firefox.

2009-09-14 Thread retobg
On Jul 30, 5:26 am, Ricardo ricardob...@gmail.com wrote: $('body').append( $('p/').text('hello') ); I'm noticing that the element created with $('p/') has the xhtml namespace when created in a document served as application/xhtml+xml but has no namespace when the document is served as

[jQuery] Re: Grid as Subgrid: '+' symbols not showing up

2009-09-14 Thread uncertainGenius
Sorry, wrong forum...I meant to post to the jqGrid forum. Anyway, just in case anyone wants to know, turns out the answer was to change the 'gridview' parameter to false.

[jQuery] Re: Ajax not working in Firefox

2009-09-14 Thread RPrager
Well, our back-end developer found a way to fix the problem on his end. Once I find out what he fixed to get the ajax working in FF3, I will post again. Thank you everyone for your help! On Sep 11, 4:02 am, Karl Hungus coldnebraskab...@googlemail.com wrote: I reckon you're right Nick - I'm

[jQuery] Re: something amiss with json call/file

2009-09-14 Thread mkmanning
It's not jQuery, it's just basic same origin policy. From your example, the calls are cross domain because you were using 'www.pomona.edu' in the getJSON call from 'pomona.edu'. Those are different hosts. On Sep 14, 10:16 am, roryreiff roryre...@gmail.com wrote: The problem ended up being my

[jQuery] Re: Intercept javascript event

2009-09-14 Thread Steven Black
One idea: have a look at the Aspect Oriented Programming plugin. See http://plugins.jquery.com/project/AOP and http://code.google.com/p/jquery-aop/ If this isn't exactly what you are looking for, then therin is code to pre- and post-hook existing events. I hope this helps. **--** Steve On

[jQuery] Re: Changing the slider value programatically

2009-09-14 Thread David Garthe
Left this out accidentally: I have this on the modal box page being called: script type=text/javascript !-- #slider({ value: 60 }); // this value is brought in from the database, but you get the idea // -- /script But this does not change the

[jQuery] Ajax

2009-09-14 Thread Matt
I made a page that would load 2 html pages, had a footer to show both, 2 links to show indivually, the divs to load them in, and the sticky footer css. My js seems valid, but the page is just completely blank. URL: http://testingspot.hostcell.net/sandbox/tests/jquery/ajax/ajax.html

[jQuery] Re: (validate) email validator

2009-09-14 Thread Sean McKenna
While technically this is correct, a more restrictive approach might be preferable because some email services (hotmail for one) will not send to an email address using anything other than alphanumerics, dots, hyphens, and underscores. On Sep 14, 11:02 am, Scott Haneda talkli...@newgeo.com

[jQuery] Re: Ajax

2009-09-14 Thread Steven Yang
hi this is all i see in the source of your page !DOCTYPE html html head titleAjax - jQuery Tests/title script src =http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js;/script style i dont think its complete. Might be something wrong on your serverside program. On Tue, Sep 15, 2009 at

[jQuery] Re: (validate), submitHandler and custom function

2009-09-14 Thread bgumbiker
Indeed the message is sent with $.post(...) however it looks like the following code is not called: jQuery.ajaxSetup({ 'beforeSend': function(xhr) {xhr.setRequestHeader(Accept, text/ javascript)} }); and the server side code does not handle the request properly. Thanks! Bogumil On Sep