[jQuery] Re: Decent Date Checking using the JQuery Validate Plugin?

2009-07-14 Thread Jörn Zaefferer
There isn't any example integration code, by the datejs.com library provides very good date parsing. Writing a custom method (http://docs.jquery.com/Plugins/Validation/Validator/addMethod) using datejs should be easy enough! Jörn On Tue, Jul 14, 2009 at 3:27 AM, Mr Fettbob.mc...@freshmango.com

[jQuery] dom to html

2009-07-14 Thread david
So let's change the question a bit. I have a dom element like a table with many input boxes and selects insides. When filling the input values and selecting elements in the select box the dom object is with the updated values , but the innerhtml is like it was loaded. i want a function which

[jQuery] jEditable: Excel like Cursor and Tab navigation between editable elements

2009-07-14 Thread oliverw
I've successfully implemented jEditable in table based pseudo spreadsheet. Now I need to add Excel like Cursor and Tab navigation between editable elements. I'm initializing jEditable with a function argument in order to carry out the ajax request on my own. In Order to successfully implement the

[jQuery] $.browser returning 'wrong' browser version - anyone seen this UA string before?

2009-07-14 Thread w1ntermut3
No prizes for guessing it's an IE7/6 issue I'm trying to detect IE6, with: if (($.browser.msie == true) ($.browser.version 7)){ // fail } but the client has got a version of IE7 that's returning the following UA string: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; Mozilla/4.0

[jQuery] height/width of background image

2009-07-14 Thread weidc
hi, at the moment i'm trying to get the height width of the background image. but i always get the width/height of the full size of the div or the window size. for example if the image is not big enough for the browser window the image is more than one time in the screen and i need the

[jQuery] Re: Autocomplete issue

2009-07-14 Thread bharathbhooshan ambati
i have an issue with the autocomplete focus... i am unable to focus on the selected value..the value is when i selected one value it is displaying the previous one..i tried somany ways but found no luck.. Please refer my code once: On Tue, Jul 14, 2009 at 10:41 AM, jazz

[jQuery] children() passable variables there

2009-07-14 Thread Alexandru Adrian Dinulescu
Hello. I am trying to do $(tbody tr).each(function(){ $(this).children(td:first).css({ 'border-left': '3px solid #EE', }); $(this).children(td:last).css({ 'border-right': '3px solid #ee', });

[jQuery] A job for you?

2009-07-14 Thread Geuintoo
Hy I am looking for a javascript - jQuery - plugin developper. Somebody who likes to develop clean and fast code. It is a project, where I need some editable, contextmenue and editor code. If you are intrested, contact me. info aet ignaz doet ch

[jQuery] Multiple Jquery on one page

2009-07-14 Thread Sarm
Hi Everyone, Many time i am getting one problem with Jquery when i am using more then one jquery plugin on same page then only one plugin works which will be on top. I guess few variables mixing and disturbing to each other. I just want to know is there any way to control it? Advance thanks

[jQuery] Ajax GET - add form data to table

2009-07-14 Thread ndaugherty
Hey I am trying to get my form data when submitted and add it to a table below the form (I am already submitting the form with the jquery forms plugin). Any help would be appreciative.

[jQuery] Superfish: Hovering over top-level li stretches the li to width of its sub ul (IE7 only)

2009-07-14 Thread Perceptes
Hi all, I've got a Superfish with Supersubs horizontal menu that is having an issue I haven't been able to solve in IE7. The list items at the top level of my navigation have fixed widths to align with the background graphic, so they need to stay the same width all the time. However, when you

[jQuery] Fade IN/OUT images onClick

2009-07-14 Thread Piers Plowden
I'm new to jquery so I hope you'll forgive my ignorance... I have a div on a page that I'm hoping can contain multiple images that would fade in and replace an out-going image based on an onClick event. Each image is dedicated to it's a href (there are about 30) and they would all be

[jQuery] $.post-ing data brackets as first character of form value adds semi-colon to input name

2009-07-14 Thread Jeff Nouwen
When I $.post() the values of a form, if one of the values start with any of ()[]{}, then the associated form element name has a semi- colon appended to it when I finally extract the POST data in my PHP script. The Javascript: var formValues = $(#formName).serialize(); alert(

[jQuery] Is there a way to disable jQuery's automatic timestamping of GET requests?

2009-07-14 Thread Dan Dascalescu
If you do something like $(script src='http://api.com/json/callback' + /script).appendTo (body); jQuery will tack a timestamp to the URL, in an attempt to prevent caching: http://api.com/json/callback?_=1247543709724 However, this can break APIs. Is there a way to disable this automatic URL

[jQuery] help on function val()

2009-07-14 Thread rejome
Hello, Here is my prototype : http://rejome.homeip.net:8080/prototype.html I don't understand how I can get the radiobutton value in the function... Please help me :-)

[jQuery] Convert single click to double click?

2009-07-14 Thread Piers Plowden
I'm wondering if anyone knows a method for 'converting' a single click to (effectively) a double click with a timeout? I have an onclick handler issue that requires a double click for an event that the user will expect to need only a single click for. Thanks!

[jQuery] $.support.colgroup ?

2009-07-14 Thread Split
colgroup is useful in html table make-up, but firefox/opera/safari doesn't support it well, only IE follows the standard almostly. Since $.browser is deprecated in 1.3, maybe jquery should provide a colgoup support-testing function, including border, background, visibility, display css style

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Mean Mike
what plugs are you referring to ? could you show us how your importing jquery and plugins Mean Mike On Jul 14, 7:46 am, Sarm sarm.desig...@gmail.com wrote: Hi Everyone, Many time i am getting one problem with Jquery when i am using more then one jquery plugin on same page then only one

[jQuery] Re: help on function val()

2009-07-14 Thread Charlie
function fonctionRadioBoutons() { alert("Dans la fonction : " + $("input:radio[name=radioBoutons]:checked").val()); } rejome wrote: Hello, Here is my prototype : http://rejome.homeip.net:8080/prototype.html I don't understand how I can get the radiobutton value in the

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Sarm
Thanks for reply me, I am placing following code on page HEAD. script language=javascript src=Jquery.js/script script language=javascript function makeSublist(parent,child,isSubselectOptional,childVal) { $(body).append(select style='display:none' id='+parent+child+'/select);

[jQuery] Re: help on function val()

2009-07-14 Thread rejome
Great ! That works perfectly. One last question : How can I use the variable declared before ($radioBoutons) ? Thanks a lot. On 14 juil, 14:35, Charlie charlie...@gmail.com wrote: function fonctionRadioBoutons() {                     alert(Dans la fonction : +

[jQuery] Re: IE doesn't seem to see classes created by other JQuery Script

2009-07-14 Thread zorba
No, as far I as can see. I wrap some lists of words with strong using a little fn: function setBold(text) { var occur = text.split(,); for( i=0; ioccur.length; i++ ){ var TEXT = occur[i].toUpperCase();

[jQuery] Re: $.post-ing data brackets as first character of form value adds semi-colon to input name

2009-07-14 Thread Jeff Nouwen
On Jul 13, 3:54 pm, Jeff Nouwen jnou...@gmail.com wrote: My PHP script is being called through CodeIgniter, but I don't immediately see anything in its code that would cause the addition of the semi-colon. And upon closer inspection of CodeIgniter's source, it is indeed the cause of my

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Mean Mike
I'm confused are you saying this doesn't work ? script language=javascript src=Jquery.js/script script language=javascript function makeSublist(parent,child,isSubselectOptional,childVal) { $(body).append(select style='display:none' id='+parent+child+'/select);

[jQuery] Re: validate plugin only checking first required input

2009-07-14 Thread Mean Mike
I also found that validate requires the names of the fields to be unique On Jul 12, 7:23 pm, Mean Mike mcgra...@gmail.com wrote: you might be running into problems because you have spans with the class required which is one used by jquery.validate try giving those spans a slightly different

[jQuery] (validate) Variable form and validation active fields

2009-07-14 Thread snitch
Hello List, I hope this is the right place for my question. I have a working form and all iss great using this jQuery Form Validation PlugIn from brassistance. Now I got in trouble by having a Form which will get extended by user inputs. To explan in detail: I have a Form with static fields

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Liam Potter
You are including the jquery library multiple times, you only need to call jquery once. eg script type=text/javascript src=jquery.js/script script type=text/javascript src=jquery.plugin.js/script script type=text/javascript src=jquery.plugin.js/script script type=text/javascript

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Sarm
If i will remove this following link type=text/css href=js/ui.all.css rel=stylesheet / script type=text/javascript src=js/jquery-1.3.2.js/script script type=text/javascript src=js/ui.datepicker.js/script link type=text/css href=js/demos.css rel=stylesheet / script

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Sarm
Thanks for reply but both jquery files are related plugin. If i will delete one jquery file then related will stop work. I know one jquery file is enough so if i will remove this one script language=javascript src=Jquery.js/script then Sublist part will be stop work and if i will remove this

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Mean Mike
ok so show me how you would put them together then, also are you getting any errors ? On Jul 14, 11:04 am, Sarm sarm.desig...@gmail.com wrote: If i will remove this following  link type=text/css href=js/ui.all.css rel=stylesheet /     script type=text/javascript src=js/jquery-1.3.2.js/script

[jQuery] How to implement the UI Slider

2009-07-14 Thread Pkunzipula
Hello Experts! I have been trying to comprehend the JQuery ui slider for a solid day, and I believe that every tutorial out there skips a giant step for beginners. Forget styling and options...how do you implement this Slider to begin with? I'm trying to turn each div class=slider in the code

[jQuery] 3 Solitaire

2009-07-14 Thread weepy
Hi Check out the slick card game I just made - at http://www.lovesolitaire.com It entirely made in jQuery (1.3.3pre). It's also strangely addictive - so be careful! Love to hear any feedback any of you have! weepy

[jQuery] Re: 3 Solitaire

2009-07-14 Thread Michael Lawson
wow you're right, i just couldn't stop :) Looks great! cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and whether one believes in rebirth or not, there isn't anyone who doesn't

[jQuery] Re: How to implement the UI Slider

2009-07-14 Thread MorningZ
It would be best if: - You explain what you are confused about - You provide some working HTML using a site like LodgeIt http://paste.pocoo.org/ - Perhaps use the dedicated jQuery UI mailing list instead: http://groups.google.com/group/jquery-ui?hl=en Basic things to watch for/do: - Use FireBug

[jQuery] AUTOCOMPLETE

2009-07-14 Thread chinnakarup...@gmail.com
Hi, I wanted a dropdown as soon as I place my cursor in the input box (local values). I tried putting minChars as 0. It didn't seem to have much effect. I made the following change in the autocomplete code .click(function() { // show select when clicking in a focused field

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Liam Potter
remove the Jquery.js, as that is an old version. In the sublist script find this line $(#+child+' opti...@value='+ childVal +']').attr('selected','selected'); remove the @ symbol, so you have $(#+child+' option[value='+ childVal +']').attr('selected','selected'); You shouldn't just be

[jQuery] Re: 3 Solitaire

2009-07-14 Thread Rick Faircloth
very good, weepy! From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Michael Lawson Sent: Tuesday, July 14, 2009 11:38 AM To: jquery-en@googlegroups.com Cc: jQuery (English) Subject: [jQuery] Re: 3 Solitaire wow you're right, i just couldn't stop :) Looks

[jQuery] Problem accessing new elements inserted into the dom

2009-07-14 Thread developm...@sdinternet.co.uk
I have a php order form that uses Ajax that inserts some hidden form elements into the current page. I can see the hidden form elements when I look using Firebug but cannot access the new elements within jQuery functions. I know if it was an event I wanted to attach to on any new elements I

[jQuery] .ajax post to .net page

2009-07-14 Thread ricka
Hi All, Is there a way to post from a .net page with server form controls using the jQuery .ajax method? The .net page is expecting the server contols so I'm not sure how to handle it so when I serialize() the form it doesn't know what to do with it. Any help would be appreciated. Thank you.

[jQuery] How to add an element to an object?

2009-07-14 Thread yasmine
Hi, am very new to jquery and I want to do something that I suppose is very easy but I can't figure out how to do it If I have something like this: var d = {one:1, two:2, three:3}; and I want to add a new item to d, how can I do it? I have looked up the documentation and found the function

[jQuery] Multiple forms / validation error message focus

2009-07-14 Thread anoop
Hi, I am really new to jquery and have been using it for the past few weeks. I have an issue that I am stuck in, would be grateful if someone could assist a little. I use java / jsp for a small application of mine. The application displays all regions as links on a page and for each region, I

[jQuery] Cycle - preload images possible??

2009-07-14 Thread whiggins
Am using Cycle (fade) for image slideshow very happily, except for the big visual flap when all the photos (12 or so, but large-ish) load prior to cycling. I've looked for a preload solution but haven't immediately found any. Is this best? Is there another solution? Would be grateful for any

[jQuery] Re: .ajax post to .net page

2009-07-14 Thread MorningZ
With the way .NET works out of the box (http://www.google.com/search? q=ASP.NET+postback+model), no I'd suggest using a generic handler (ashx file) or some other non- postback way to pass and retrieve data from your jQuery On Jul 14, 11:40 am, ricka rpd...@gmail.com wrote: Hi All, Is

[jQuery] Re: AUTOCOMPLETE

2009-07-14 Thread chinna
The code for the code split is if (words.length 1) { if (options.minChars == 0 $input.val().indexOf (,) = 0) { v = words.slice(0, words.length).join (options.multipleSeparator) + options.multipleSeparator + v;

[jQuery] Re: How to add an element to an object?

2009-07-14 Thread MorningZ
Your code and what you are trying to do has nothing to do with jQuery really.. it's all simple JS object stuff (http://www.google.com/search? q=javascript+associative+array), with that pointed out var d = {one: 1, two: 2, three: 3}; d[four] = 4; would result in d being: { one: 1, two: 2, three:

[jQuery] Re: JQuery Editor

2009-07-14 Thread nodarin...@mail.ru
I Don't Mean Flash based... I Mean JQuery based editor for web.. I Only compared it.. Sorry for my english if I said anything ununderstingable :) On Jul 12, 5:20 am, donb falconwatc...@comcast.net wrote: Since jQuery is simply another layer of code on top of javascript, and the highly-capable

[jQuery] Re: Cycle - preload images possible??

2009-07-14 Thread amuhlou
Cycle supports loading images via ajax, which I think could smooth out the long load issues. A very basic impementation would be $(#cycleDiv).load(slides.html, function(){ $(this).cycle({ timeout: 5000 }); }); where slides.html is the

[jQuery] Re: How to add an element to an object?

2009-07-14 Thread yasmine
Thanks, I didn't know about the javascript associative arrays.

[jQuery] Validate - How do I $.ajax without using the form plugin?

2009-07-14 Thread ButtersRugby
I am trying to figure out how to submit the form using the $.ajax call. How do I make sure my form is valid when submitting via a click event on a button? do i put it in the submitHandler of the validation plugin? submitHandler: function(form) { $('mybutton').click(function () {

[jQuery] Re: IE and div height

2009-07-14 Thread Karl Swedberg
can you provide a link to a test case? It would be very helpful to see where the difference is and what the cause might be. thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 13, 2009, at 12:21 PM, Ranadave wrote: I have a problem whereby on

[jQuery] Re: Multiple Jquery on one page

2009-07-14 Thread Sarm
Liam, You are the Man, thankyou so much., It's working now. ThankYou for your time. On Tue, Jul 14, 2009 at 9:21 PM, Liam Potter radioactiv...@gmail.comwrote: remove the Jquery.js, as that is an old version. In the sublist script find this line $(#+child+' opti...@value='+ childVal

[jQuery] Re: jQuery syntax question

2009-07-14 Thread Matthew
Hi Ricardo, thanks for the clarification, i thought I rememberd seeing the $( $(x)[2] ) syntax somewhere. I like that better than the eq(). My ID's are all good, I just needed the 'body#seniors #text' so only pages in my senior section would be altered, but I guess doing a php if/else would have

[jQuery] Re: Determine content type in $.post callback

2009-07-14 Thread bjorsq
What you need is access to the XMLHttpRequest object used in the request so I suggest you use $.ajax instead of $.post. The complete callback for $.ajax receives the XHR and textstatus as parameters, so this should get you the headers:

[jQuery] getJSon loop through variable

2009-07-14 Thread Charlie
Following getJSON works fine but I need to replace "presentations with a variable "getSlides" tried a lot of different ways with a variety of errors no matter what I've treid var getSlides = $(this).attr("href"); $.getJSON("photoList.js", function(slides){ $.each(slides.presentations,

[jQuery] Re: Validate - How do I $.ajax without using the form plugin?

2009-07-14 Thread James
Here's one way to do it: input type=button id=submit_btn value=Submit/ $(#ajax_form).validate( [set validation options] ); $(#submit_btn).click(function() { var valid = $(#ajax_form).valid(); // returns true or false if (valid) { // do ajax submission } }); On Jul

[jQuery] Adding items to the json result of the autocomplete plugin

2009-07-14 Thread yasmine
I am using the tokenizing autocomplete text entry which expects the search result in json format I want to know if it's possible to add items to the json collection using jquery, if I have for example var results = [{id:1,name:Abb}, {id:2,name:Abbas}, {id:3,name:Abd}, {id:4,name:Abdel}] and

[jQuery] Re: help on function val()

2009-07-14 Thread James
var $selected = $radioBoutons.filter(':checked'); This removes from the $radioBoutons set of all elements that are not checked (which should end up with 0 or 1 item). On Jul 14, 2:45 am, rejome jeromeg...@gmail.com wrote: Great ! That works perfectly. One last question : How can I use the

[jQuery] Re: Convert single click to double click?

2009-07-14 Thread James
Is the callback function of the double-click handler separate (has a variable name to reference)? If so, just use that function as the callback to the single-click handler. Otherwise, maybe you can just have the single-click trigger a double- click event. I haven't tried this.

[jQuery] Re: children() passable variables there

2009-07-14 Thread James
When you say bogs down does that mean it works, but very slow? Or does it mean it doesn't work at all? How many rows are you working with? On Jul 14, 1:31 am, Alexandru Adrian Dinulescu alex.d.a...@gmail.com wrote: Hello. I am trying to do         $(tbody tr).each(function(){            

[jQuery] Re: Validate - How do I $.ajax without using the form plugin?

2009-07-14 Thread ButtersRugby
I figured out how to do it. Wasn't too hard. However, your solution is quite clean as well. Not sure which is better or what pitfalls there are to doing it my way vs. yours. submitHandler: function(form){

[jQuery] unsubscribe

2009-07-14 Thread Todd Loomis

[jQuery] Re: 3 Solitaire

2009-07-14 Thread John Newman
excellent, very nice. I am not a fan of flash, this is refreshing. I guess none of this is open source? On Jul 14, 12:30 pm, Rick Faircloth r...@whitestonemedia.com wrote: very good, weepy! From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Michael Lawson

[jQuery] Re: 3 Solitaire

2009-07-14 Thread Michael Lawson
I did just notice though script var PORTAL_URI='yumoov.com'; var AUTH_TOKEN = vLVJRvNMHbLBpOsxgyWfu1LfINHkHUVwwPKFX7mB89E=; $().ready(function() { }) /script you don't define a type here making your page invalid cheers Michael Lawson Development Lead,

[jQuery] Re: Multiple forms / validation error message focus

2009-07-14 Thread Anoop kumar V
Hi All, I think I have been able to solve the issue of the validation error messages not appearing on the correct form. If anyone else encounters the same problem, below is the fix / solution for it. (I had to use the event and firebug console). Changed lines are marked with a trailing //.

[jQuery] validation plugin's date method doesn't like mm-dd-yyyy formatted dates

2009-07-14 Thread Matt Wilson
I'm using this validation plugin http://bassistance.de/jquery-plugins/jquery-plugin-validation/ and it is great. However, it rejects dates like 07-14-2009 as invalid. Is there some way to add a list of valid formats? If not, should I write my own method to match that particlar format?

[jQuery] Re: Multiple forms / validation error message focus

2009-07-14 Thread Jörn Zaefferer
You shouldn't initialize the validation inside a click-event handler - that way it tries to init it on every click. Why not just select the form and call validate, eg. $(.main-title form).validate({ ... }); Jörn On Tue, Jul 14, 2009 at 10:42 PM, Anoop kumar Vanoopkum...@gmail.com wrote: Hi

[jQuery] Re: validation plugin's date method doesn't like mm-dd-yyyy formatted dates

2009-07-14 Thread Jörn Zaefferer
The default date validation is quite weak, indeed. You can add your own method, maybe using datejs.com, easily: http://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Tue, Jul 14, 2009 at 10:47 PM, Matt Wilsonm...@tplus1.com wrote: I'm using this validation plugin

[jQuery] getScript() issue under ie6 (undefined variable)

2009-07-14 Thread Olivier
Hi, I'm using getScript to load a script which basically contains a variable, and then i'm using this variable in the callback function. It looks like that : $.getScript( myScriptURL, function() { // execute this code on success $(div#result).html(myVar.content); }); and, the

[jQuery] Re: 3 Solitaire

2009-07-14 Thread weepy
you don't define a type here making your page invalid Are you referring to $().ready(function() { }) ? You mean you'd rather see $(document).ready ? - I thought they were equivalent. I guess none of this is open source? not currently, though I'm slowly persuading my employer to get with OS !

[jQuery] Re: 3 Solitaire

2009-07-14 Thread Brett Ritter
On Tue, Jul 14, 2009 at 6:37 PM, weepyjonah...@gmail.com wrote: you don't define a type here making your page invalid Are you referring to $().ready(function() { }) ?  You mean you'd I believe he's referring to the script tag itself. It should given a type (e.g. text/javascript) -- Brett

[jQuery] getting xhtml custom data in select box

2009-07-14 Thread introvert
Hello, I have the following selectbox xhtml structure: select id=price_item_1 option value=50 data:interval=1Volvo/option option value=100 data:interval=0Saab/option option value=49.99 data:interval=0Mercedes/option option value=19.99

[jQuery] Re: Determine content type in $.post callback

2009-07-14 Thread dnagir
Hi, So the XHR is ONLY available from $.ajax and there's really no way to get it from methods ($.post)? I actually need this data in the ajaxSubmit callback of AjaxForm plug- in. This sounds like I have no option except to abandon the plug-in and do the work manually (or modify it)? Cheers.

[jQuery] Re: getting xhtml custom data in select box

2009-07-14 Thread James
Try: $(select[id^=price_item_]).attr(data\\:interval); On Jul 14, 1:22 pm, introvert aljaz.faj...@gmail.com wrote: Hello, I have the following selectbox xhtml structure: select id=price_item_1          option value=50 data:interval=1Volvo/option          option value=100

[jQuery] JQuery Table Scrolling

2009-07-14 Thread aditya marla
HI I am able to sort the Grid using JQuery Using AjaxOptions and Sortable action items. Can i have some plugin which helps to make the Grid Scrollable ? Thanks in advance. Aditya Marla

[jQuery] MODAL HELP!!!!!!!!

2009-07-14 Thread Nick
Anyone: I cant seem to get this to work. If I pass modal:true in as a variable it doesn't work. Anyone have any idea what is causing it to break? === Stark Working Code == var modal = modal; var content = true; var $dialog = $(iframe frameborder='0' scrolling='no'

[jQuery] [validate] remote function

2009-07-14 Thread mrmuh
hi iam trying to validate the recaptcha over the remote function of the validate plugin and the basic function works so far. now i want to call the reload function of the recaptcha object if the captcha is not correct. i am new to js and jquery maybe someone could help me how to call the

[jQuery] Trouble with Dialog window parameter

2009-07-14 Thread Nick
Anyone: I cant seem to get this to work. If I pass modal:true in as a variable it doesn't work. Anyone have any idea what is causing it to break? === Stark Working Code == var modal = modal; var content = true; var $dialog = $(iframe frameborder='0' scrolling='no'

[jQuery] [validate] remote function

2009-07-14 Thread mrmuh
hi iam trying to validate the recaptcha over the remote function of the validate plugin and the basic function works so far. now i want to call the reload function of the recaptcha object if the captcha is not correct. i am new to js and jquery maybe someone could help me how to call the

[jQuery] Pop out menu gets stuck in a loop

2009-07-14 Thread communicant
Hello, I am having a problem with a pop-out menu I scripted. It is very easy, with a combination of mousing off and back over the menu, to get the menu to cycle endlessly from hidden to visible. If you move the mouse this behavior will stop, but I'd rather it didn't happen at all. Part of it

[jQuery] Another image rollover question

2009-07-14 Thread leofromrio
Hi there, Let me begin by saying I know very little about jQuery and would love to learn a lot more about it (so i don't have to waste people's time on questions like the one I'm about to ask) I am trying to design a graphic menu bar that is capable of displaying each button in 4 modes: up

[jQuery] Doing something before the get request

2009-07-14 Thread Fabio Milheiro
This example is not clear enough (at least for me..) http://docs.jquery.com/Ajax/ajaxSend I want something simple such as the user clicking and a waiting.gif image is presented in order to let the user know that the server is working on it. $.get(file.html, function(data){

[jQuery] Re: Dynamically created Modal using the Dialog method

2009-07-14 Thread Nicholas Stark
test On Tue, Jul 14, 2009 at 1:12 PM, Nick mrnickst...@gmail.com wrote: Anyone: I cant seem to get this to work. If I pass modal:true in as a variable it doesn't work. Anyone have any idea what is causing it to break? === Stark Working Code == var modal = modal; var

[jQuery] Inserting LI elements

2009-07-14 Thread Eno
Given this HTML: ul class=listliitem 1/li/ul How would I insert lI elements inside the ul element after the existing li? I tried using append() but that created a second ul element with the new elements inside it after the existing ul block. --

[jQuery] Dialog Box Trouble w/ Variables

2009-07-14 Thread Nick
Anyone: I cant seem to get this to work. If I pass modal:true in as a variable it doesn't work. Anyone have any idea what is causing it to break? === Stark Working Code == var modal = modal; var content = true; var $dialog = $(iframe frameborder='0' scrolling='no'

[jQuery] Superfish Dropdown Menu help

2009-07-14 Thread GordonWaterSystems
I may be missing something here, but I added the Superfish Dropdown Menu module to my Joomla installation for use with my Virtuemart Shopping Cart and for some reason it looks very messed up. If some of you would like to view it and tell me what you think is wrong please feel free to go to the

[jQuery] Dynamically created Modal using the Dialog method

2009-07-14 Thread Nick
Anyone: I cant seem to get this to work. If I pass modal:true in as a variable it doesn't work. Anyone have any idea what is causing it to break? === Stark Working Code == var modal = modal; var content = true; var $dialog = $(iframe frameborder='0' scrolling='no'

[jQuery] how to select a child by an attribute

2009-07-14 Thread gswa...@synergydatasystems.com
I have 2 lists on a page and I have a link set up to remove an li item from the one list. I need to check to see if there is a copy of that item in the other list based off an attribute in my li item called qid. How would I look for a child list item based off this custom attribute? Assuming I

[jQuery] Expansion of another Layer when first Layer changes size.

2009-07-14 Thread Lumio
Hi, I have two layers. One of them changes the size if the inner elements raising its height. Now I want to mirror the size of that container and tell the other layer to have the same size. I know, I can add a function which should be called, after an effect takes place, but I also want to have

[jQuery] Re: how to select a child by an attribute

2009-07-14 Thread MorningZ
See Attribute Filters http://docs.jquery.com/Selectors On Jul 14, 4:32 pm, gswa...@synergydatasystems.com gswa...@synergydatasystems.com wrote: I have 2 lists on a page and I have a link set up to remove an li item from the one list.  I need to check to see if there is a copy of that item

[jQuery] Re: Inserting LI elements

2009-07-14 Thread James
What is the code you're using? $(ul.list).append('liitem 2/li'); should work from your html. On Jul 14, 2:24 pm, Eno symb...@gmail.com wrote: Given this HTML: ul class=listliitem 1/li/ul How would I insert lI elements inside the ul element after the existing li? I tried using append()

[jQuery] Re: Dialog Box Trouble w/ Variables

2009-07-14 Thread James
Why on earth do you have: var modal = modal; ??? It doesn't make sense... Aside from that weirdness, you should set your code like: var content = { modal:true }; var $dialog = $(iframe frameborder='0' scrolling='no' allowtransparency='true' src='modals/ + modalID + .html'/iframe)

[jQuery] Re: Doing something before the get request

2009-07-14 Thread James
$.ajax({ url: 'file.html', type: 'get', beforeSend: function() { // add loading image }, success: function(data) { (#msg).html(data); }, error: function() { alert('something bad happened...'); } }); On Jul 14, 11:05 am, Fabio Milheiro

[jQuery] Re: Cycle after function fires on init

2009-07-14 Thread woop-woop
anyone have any experience using After functions with Cycle? I'm trying to use it to display alternate texts for images by showing text on before and remove it with after. Trigger times are messing it up On Jul 11, 10:22 pm, Charlie charlie...@gmail.com wrote: Having problem with after option

[jQuery] Re: How to add an element to an object?

2009-07-14 Thread RobG
On Jul 15, 3:25 am, yasmine yasmina.ez...@gmail.com wrote: Thanks, I didn't know about the javascript associative arrays. Because javascript doesn't have them, it has objects that are simple name/value pairs. -- Rob

[jQuery] Re: Superfish Dropdown Menu help

2009-07-14 Thread Charlie
this happens all the time with Joomla menu extensions. Original menu CSS doesn't get removed, so now there are 2 sets of menu CSS rules operating on same menu. Since they are scoped differently in design, different elements may take have the original template rule take prescedence, while

[jQuery] jQuery Validation - group input field validation

2009-07-14 Thread carbon
Hi, How can I do validation on a group of input fields, as long as one of the 3 fields have a value then it's valid, I've managed to group them, but it's showing up with 3 error messages instead of one. How can I get it to display just the one error msg for all 3 input fields? Here's my

[jQuery] Re: jQuery Validation - group input field validation

2009-07-14 Thread carbon
Just before the form, theres the DIV that contains the error messages. div id=errorContainer h4There are errors in your enquiry submission, please see below for details./h4 ol lilabel for=firstname class=errorPlease enter your first name/label/li lilabel for=lastname

[jQuery] Re: Inserting LI elements

2009-07-14 Thread Jules
If you want to be sure the is appended after the last li use this $(.list li:last).after(liitem + (parseInt($(.list li).length,10) + 1) + /li); On Jul 15, 10:24 am, Eno symb...@gmail.com wrote: Given this HTML: ul class=listliitem 1/li/ul How would I insert lI elements inside the ul

[jQuery] Re: Multiple forms / validation error message focus

2009-07-14 Thread Anoop kumar V
The reason I think $(.main-title form) will not work for my case is because my form is structured like the following: form class=cbnav method=post action=user/region.jsp div class =main-titleKansas City (KC)/div div class=details /div /form So the form is actually a parent of the

[jQuery] Re: 3 Solitaire

2009-07-14 Thread Karl Swedberg
Interesting view about this from Douglas Crockford: type=text/javascript This attribute is optional. Since Netscape 2, the default programming language in all browsers has been JavaScript. In XHTML, this attribute is required and unnecessary. In HTML, it is better to leave it out. The

  1   2   >