[jQuery] Re: [autocomplete] Can I validate and update the entered value before doing the search?

2009-05-17 Thread ulf.ren...@gmail.com
I do not use any backend (if by that you mean server-side stuff that queries a db or something like that), I have such small datasets so all data is loaded statically in the html-file. I have tried to combined formatItem, formatMatch and formatResult to get what I want, but I have not managed to

[jQuery] Re: Problem getting selected value from drop-down

2009-05-17 Thread Ricardo
Well, .val() on the select element returns the current value, so you can simplify that: $('select#myselect').change(function(){ var itemText = $(this).find('option:selected').text(); var itemValue = $(this).val(); $( '#answer' ).text( itemText + ' is number ' + itemValue ); }); or go even s

[jQuery] Re: dealing with a post (json) callback

2009-05-17 Thread dhtml
On May 13, 1:29 pm, Peter Warnock wrote: > [ ] is an array literal, like { } is an object literal. > > var obj = json[0]; > > You shouldn't useevalon JSON.  If you specify 'json' as your return > type, jQuery will safelyevalvalid JSON. > jQuery uses what ECMA 262 calls "indirect eval". window

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread KrushRadio - Doc
Paypal Transaction ID: 8PY233604R986225R :D Thanks for your help. Actually, there were 2 parts that I didn't get.. one was the CSS selector syntax and how it needed to be formed inside of the initial grab.. Thats the learning curve. the way that 'day[name=Monday]show' didn't make any sense to

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread KrushRadio - Doc
Paypal Transaction ID: 8PY233604R986225R :D Thanks for your help. Actually, there were 2 parts that I didn't get.. one was the CSS selector syntax and how it needed to be formed inside of the initial grab.. Thats the learning curve. the way that 'day[name=Monday]show' didn't make any sense to

[jQuery] jquery not showing an iframe

2009-05-17 Thread surreal5335
I have been able to show iframes with jquery easily, but for some reason I cant this one to work. I am using the same exact setup in the same page to show this one, but it is not working like the other three. I need the iframe to fadeIn once an image is clicked. I have narrowed it down to class

[jQuery] Superfish with supersubs - won't auto adjust width

2009-05-17 Thread sccr410
http://demo.ashwebthemes.com In the main navigation at the very top and the categories in the second level navigation. Can't get either of them to adjust to a proper width.

[jQuery] cycle plugin not working

2009-05-17 Thread surreal5335
I am trying to use the cycle plugin but all I get is a static list. I have checked to make sure all my code is matching with the demos online and still I dont get anywhere. I have loaded this code inside the .ready function $('#s1').cycle({ fx: 'fade', speed: 'fast', timeout: 0, n

[jQuery] Re: how to get a row of a table sorted with quicksearch plugin in a text box

2009-05-17 Thread Mohd.Tareq
Hi, To get data of a row you need to use id of that row. var row_data = $('#row_id').html(); To insert into your your form textarea Again you need to use id of that textarea. like : $('#textarea_Id').html('Some string value you can pass here '+row_data); Hope you will solve your problem & hope I

[jQuery] Re: Issue with setting click event functions in a for loop

2009-05-17 Thread Mik Fig
what i decided to do is "unroll the loop", for example: if you have this loop: for(var i = 0; i <= 9; ++i) alert(i); then you could "unroll" it to this: alert(0); alert(1); alert(2); ... alert(9); since i only had a total of 9 iterations of the loop, then it would only add a little bit to file

[jQuery] jQuery.Scrollable Navigation IE6 IDisplay Issues

2009-05-17 Thread tfat
Hi, I am trying to implement the visual example within IE6, i.e: http://flowplayer.org/tools/demos/scrollable/visual.html but unfortunately the navigation bar along the top does not display as a single row but as two rows of small circles. As mentioned, works great in FF but there seems to be

[jQuery] Re: Problem getting selected value from drop-down

2009-05-17 Thread cherry.aus...@gmail.com
Can I just thank you guys!! I've wasted hours trying to fiddle around with selectedIndex and stuff; the best I achieved was to get the html object returned :( It wasn't clear from the docs. Confusingly, I did get the option text with $( 'select#myselect option:selected' ).text(). But I couldn't g

[jQuery] [Validation] by Remote: Passing in Data Alongside elementName

2009-05-17 Thread Field
Can anyone help me get this data passed into my url alongside the element name? On May 15, 11:54 am, Field wrote: > $("#Form").validate({ >                         rules: { >                                 storename_name: { >                                         required: true, >            

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread deltaf
And now for the "teaching" part of the request... KrushRadio, the crucial part that I believe you wanted to be taught about is: $('day[name=Monday]>show', data) If you're familiar with CSS selector syntax, that's a great head- start.The full details can be found at http://docs.jquery.com/Select

[jQuery] Re: problem with horizontal menu style

2009-05-17 Thread Charlie
It's in the css for the template. The parent container #search has overlflow: hidden, so your menu isn't showing outside the size of the search tag, works fine when turned off in firebug rui wrote: Could you explain me how to do that? Is it inside superfish module? Or do i have to edit a s

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread comslash.com
donb because passing xml can be much smaller then passing the data with html wrapped around it. On May 17, 6:41 pm, donb wrote: > I can't figure out why you want to pass data in a non-usable format so > you have to whack away at it with lots of code to turn it into what > you need. Why not gener

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread comslash.com
$(function(){ $.ajax({ type: "GET", url: "test.xml", dataType: "xml", success: function(data){ $('day[name=Monda

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread comslash.com
$(function(){ $.ajax({ type: "GET", url: "test.xml", dataType: "xml", success: function(data){ $('day[name=Monda

[jQuery] Re: Repeating userCollapseText

2009-05-17 Thread Karl Swedberg
Hi Jorge, Can you show me a page that has that problem so I can troubleshoot? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 16, 2009, at 6:13 PM, jorgevima74 wrote: Hi! I'm using jquery.expander and I'm getting twice the userCollapseText value ( [co

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread donb
I can't figure out why you want to pass data in a non-usable format so you have to whack away at it with lots of code to turn it into what you need. Why not generate what you need to start with, so the task is reduced to simply requesting a chunk of html and inserting it into the DOM. On May 17,

[jQuery] [validate] editing the error messages

2009-05-17 Thread RossKidd
I want to make my error messages position absolutely so they do not resize my form when they appear. The problem is the parent of all the label.error is the form so when I do label.error { position:absolute; background:url(images/ validArrow.png); width:300px; color: red; left:300px; top:10px p

[jQuery] Re: .ajax GET not working correctly at webhost

2009-05-17 Thread Nahaz
I have resolved all issues now and it's working, thanks for all the help! This is the code I have right now: function ajaxAdd() { $('form').submit(function() { var nick = document.register.nick.value; $(':submit', this)

[jQuery] Re: problem with horizontal menu style

2009-05-17 Thread rui
Could you explain me how to do that? Is it inside superfish module? Or do i have to edit a specific file? Rui. On May 16, 5:13 pm, Charlie wrote: > fix your overflow: hidden in parent div > rui wrote:Sorry! Here it is:www.freequizzes.info/codigoOn 15 maio, 18:21, > Ethan Matejawrote:Link? On F

[jQuery] Re: Background color is being applied when using Cycle plugin

2009-05-17 Thread Doogie
Sweet.. !! :) On May 17, 2:43 pm, Mike Alsup wrote: > > Secondly:  "cleartypeNoBg: true" worked for me for IE6 DIV background > > color but it was hard to find cause it wasn't on the website at ... > > >http://www.malsup.com/jquery/cycle/options.html > > > Maybe this should be added. > > Good po

[jQuery] Odd overlap issue with cycle plugin

2009-05-17 Thread littlerobothead
I have a slideshow set up here, for reference: http://www.littlerobothead.com/secret.php You'll be able to see the slides as they overlap when using the "next" or "previous" buttons. The CSS that controls the slides themselves is: #top-feature { /* this is the parent container */ height

[jQuery] Odd overlap issue with cycle plugin

2009-05-17 Thread littlerobothead
I have a slideshow set up here, for reference: http://www.littlerobothead.com/secret.php You'll be able to see the slides as they overlap when using the "next" or "previous" buttons. The CSS that controls the slides themselves is: #top-feature { /* this is the parent container */ height

[jQuery] jQuery Media - won't autostart an mp3

2009-05-17 Thread SamCKayak
I need to play an audio file in response to a user action. The player must be completely cross-browser compatible, and hopefully use an available plug-in. jQuery.media seems to be the ticket, but while I can get it to work in manual mode, it doesn't autoplay for me. This may be a problem with p

[jQuery] Re: Asynchronous page loading + slide!

2009-05-17 Thread Chris J. Lee [ MSU #14 ]
I saw a tutorial like this: http://srobbin.com/blog/jquery-pageslide/ It might be something you can modify or add functionality. - Chris On May 17, 12:08 pm, blackjak231 wrote: > i forgot to add the > image:http://www.casimages.com/img.php?i=090517055258648972.png

[jQuery] Re: jQuery iPhone Flick Action (for mouse)

2009-05-17 Thread Chris J. Lee [ MSU #14 ]
No ideas anyone? On May 16, 12:55 am, "Chris J. Lee" wrote: > I've been looking for a plugin to be able to use the mouse and > eventually theiphoneto flick and navigate through a page. > > Does anyone know if there are examples that exist currently.  I think > i'd probably have to implement it u

[jQuery] I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-17 Thread KrushRadio - Doc
Hey Guys/Gals, I have been able to use JQuery in the past, for simple things, and after much hacking around, i have been able to get it to work. I want to embrace this technology, but I can't get past the examples. They're very basic, and I can't wrap my head around how to move them into real wo

[jQuery] Re: Background color is being applied when using Cycle plugin

2009-05-17 Thread Mike Alsup
> Secondly:  "cleartypeNoBg: true" worked for me for IE6 DIV background > color but it was hard to find cause it wasn't on the website at ... > > http://www.malsup.com/jquery/cycle/options.html > > Maybe this should be added. Good point - just added it.

[jQuery] Problem with Ajax Request and Escape

2009-05-17 Thread Alexander Vey
Hello. First of all, I'm German, so be warned ;) I've got a problem and my very hope are you guys (and girls). Here is my code I use to make a ajax request: $.ajax( $.extend(ajax, { data: { cmd:'ping', username:session.username, timestamp:ping.last }, er

[jQuery] forms plugin: problem with $.get

2009-05-17 Thread Shade
Hello, i have no clue why it is like this, but in the following code, the "errors" variable doesnt count +1: $.get("functions/checkforms.php",{doesuserexist: loginusername, doespasswordexist: loginpassword}, function(data){ if (data) { $("#loginpassword_error").show().append(data);

[jQuery] Re: Background color is being applied when using Cycle plugin

2009-05-17 Thread Doogie
First: I love this plugin. I am using it for news headlines and for a image gallery! Secondly: "cleartypeNoBg: true" worked for me for IE6 DIV background color but it was hard to find cause it wasn't on the website at ... http://www.malsup.com/jquery/cycle/options.html Maybe this should be add

[jQuery] Re: Animating the specific div youre hovering over, from a selection of divs with the same name

2009-05-17 Thread waseem sabjee
sorry error here this works $(function(){ var obj = $(".item"); var alert = $(".alert", obj); obj.hover(function() { var current = obj.index($(this)); alert.eq(current).hide(500); }, function() { alert.eq(curent).show(500); }); }); On Sun, May 17, 2009 at 6:24 PM, waseem sabjee wrote: > > > $

[jQuery] Re: Animating the specific div youre hovering over, from a selection of divs with the same name

2009-05-17 Thread waseem sabjee
$(function(){ var obj = $(".item"); var alert = $(".alert", obj); obj.hover(function() { alert.hide(500); }, function() { alert.show(500); }); }); On Sun, May 17, 2009 at 12:16 PM, napalm wrote: > > Hi All, > > I have 3 divs with the same name wrapped in a container. > Each div includes a span

[jQuery] Re: Slide to fade, can you help me quick? Noob alert!

2009-05-17 Thread waseem sabjee
$(document).ready(function(){ $(".loginToggle").click( > > function(){ >$("#loginForm").*slideToggle*("slow"); >}); > > }); On Sun, May 17, 2009 at 5:21 AM, Jere wrote: > > Try this: > > $(document).ready(function(){ >$(".loginToggle").click(function(){ >

[jQuery] Re: Asynchronous page loading + slide!

2009-05-17 Thread blackjak231
i forgot to add the image: http://www.casimages.com/img.php?i=090517055258648972.png

[jQuery] Asynchronous page loading + slide!

2009-05-17 Thread blackjak231
Hey guys! Im trying to use jquery to try to do what the image shows: Its for a website made for iphone so im trying to add the slide effect. It all seems a little complicated, but ill explain: 1-The user clicks a link 2-A loading message (or image) appears ---> Meanwhile, the new page loa

[jQuery] problem with submitting a form with ajaxSubmit

2009-05-17 Thread Emanuel
I have a problem with submitting a form with ajaxSubmit - I am very confused because on a other page it is working the same way? here some code: $("#myForm1").validate({ submitHandler: function(form) { $(form).ajaxSubmit({ ta

[jQuery] keyboardLayout

2009-05-17 Thread ive...@gmail.com
conflict mootools and jQuery $(function(){ $(':password').keyboardLayout(); }); try such but dont work jQuery.noConflict(); jQuery(function(){ jQuery(':password').keyboardLayout(); }); = jquery.keyboardLayout.js == (function() { jQuer

[jQuery] Re: jQuery in Firefox extension is broken in v1.3.2

2009-05-17 Thread amanda apple
try a new tool bar i heard it was the tool bar link . On Sat, May 16, 2009 at 12:06 AM, Simon Chiang wrote: > > Hi, I've run into this issue as well. I made an example extension to > illustrate what happens: > > http://gist.github.com/112562 > > The gist has instructions for how to set everythi

[jQuery] superfish menu issue with wp_list_categories include

2009-05-17 Thread iain
I understand this may be a generic issue with wp 2.7, but I can't get sub categories listed when using &include=1,2,3,4 etc.. with wp_list_categories. Does anyone have a fix for this...I need to show only specific categories and their children in each menu and would like to use superfish or othe

[jQuery] How to replace hardcode_value in jquery library

2009-05-17 Thread Antonio
Hi all, How to replace hardcode_value in jquery library with something more flexible value (for example something value from html document)? For example I'd like to substitute the "hardcode_value" (in jquery file) with the value "input1" (in html document). thanks Antonio "html document" De

[jQuery] Animating the specific div youre hovering over, from a selection of divs with the same name

2009-05-17 Thread napalm
Hi All, I have 3 divs with the same name wrapped in a container. Each div includes a span. At the moment, when you hover over a div, its displays all spans. What i want is if you hover over a specific div, i would like to display it's span only. Is this possible ? $(document).ready(functio

[jQuery] JQuery doesn't send X-Requested-With: XMLHttpRequest

2009-05-17 Thread ostrich.t...@gmail.com
I'm using JQuery 1.3.2 in my site. My requirement is to send some information to server side and retrieve xml back. Unfortunately when I send my parameters to server I always get the message: "This XML file does not appear to have any style information associated with it. The document tree is show

[jQuery] Re: Style Switcher

2009-05-17 Thread amanda apple
(Custom animation) exit then (Dissolve out) and slow speed down do the same for the next one only for entrance On Fri, May 15, 2009 at 7:35 PM, Amar wrote: > > Hi, > > I am just wondering if anyone knows if it is possible to fade the > transition between switching one CSS to another? I am cu

[jQuery] Re: Slide to fade, can you help me quick? Noob alert!

2009-05-17 Thread Jere
Try this: $(document).ready(function(){ $(".loginToggle").click(function(){ $("#loginForm").toggle("slow"); }); }); Is not only fading, but more or less i think is what you need.

[jQuery] How can I make diferent things depending on the 'msg' variable?

2009-05-17 Thread Jere
Hi, The fact is, I want to have diferent functions depending on the 'msg' variable. For example, if the msg variable is "error" i want son events to hapen a some other events not. My code is this: $('#login').ajaxForm({ url: 'revisar.php', before

[jQuery] [clueTip] Issue with hoverIntent

2009-05-17 Thread Lideln
Hi, I have been using clueTip, and decided to use the hoverIntent feature. Unfortunately, in some cases, the tooltip does not hide when I move away from the element, and stays displayed forever. It happens when I move quickly the mouse out of the element after a very short delay (the tooltip is a

[jQuery] cluetip - highly recommended

2009-05-17 Thread Bharat
Now that I have learned to use cluetip relatively well, 1. I want to congratulate the author for a job really well done. I am going to look up his book in the local book-store. 2. I have automated my entire online help system using his Ajax calls technique and it is working great! From a Ruby

[jQuery] Re: problem with wrapper arrays.......

2009-05-17 Thread kali
On May 17, 7:14 am, kali wrote: > On May 6, 12:18 am, Karl Swedberg wrote: > > > > > On May 6, 2009, at 12:05 AM,kaliwrote: > > > > On May 5, 10:05 pm, mkmanning wrote: > > >> Accessing the elements by index returns the element itself. To call > > >> jQuery methods you'd need to do this: > >

[jQuery] Re: problem with wrapper arrays.......

2009-05-17 Thread kali
On May 17, 7:14 am, kali wrote: > On May 6, 12:18 am, Karl Swedberg wrote: > > > > > On May 6, 2009, at 12:05 AM,kaliwrote: > > > > On May 5, 10:05 pm, mkmanning wrote: > > >> Accessing the elements by index returns the element itself. To call > > >> jQuery methods you'd need to do this: > >

[jQuery] Re: problem with wrapper arrays.......

2009-05-17 Thread kali
On May 6, 12:18 am, Karl Swedberg wrote: > On May 6, 2009, at 12:05 AM, kali wrote: > > > On May 5, 10:05 pm, mkmanning wrote: > >> Accessing the elements by index returns the element itself. To call > >> jQuery methods you'd need to do this: > >> divs = $('div'); > >> div2 = divs[2]; > > > TH

[jQuery] Re: .ajax GET not working correctly at webhost

2009-05-17 Thread Nahaz
I have resolved the multiplying of data error, there was some code in there that I thought I removed. I have uploaded the script so you can test it at http://dev.nahaz.se On May 17, 12:13 pm, Nahaz wrote: > Upon adding return false; to my submit function a most troublesome > error has appeared.

[jQuery] Re: .ajax GET not working correctly at webhost

2009-05-17 Thread Nahaz
Upon adding return false; to my submit function a most troublesome error has appeared. When you add data, the first time 1 post is inserted to the db like it should, second click though will generete 2 posts, third 3 posts and so on. Also my adding and removal of the attribute "disabled" to the b

[jQuery] Re: Dynamically setting tab index and .focus() problems

2009-05-17 Thread Pixelastic
I finally get it working by specifiying custom focus and open events in the dialog settings. Here they are : // Setting new tabindex to input elements focus: function(e, ui) { $(e.target).find(':input:visible').each(function(i) { $(this).attr('tabindex', 3+i);

[jQuery] Re: Cascade plugin help

2009-05-17 Thread Mike Nichols
sorry for the late reply, but you need to fire cascade manually at the end of the delegate and you can simplify your options, though I'd consider using $.data for this kind of thing: var defaultOpts = { ajax: {url: ‘otherData.js' }, template: commonTemplate, match: commonMa

[jQuery] Re: routing event to html map

2009-05-17 Thread jayarjo
I've found out (that gave me another hard hour), that in IE click event gets routed from image to associated map - automatically. I guess this issue should be handled by jQuery guys somehow. On May 17, 10:38 am, jayarjo wrote: > Thanks. I've figured it out.The problem is, that the image getting

[jQuery] Re: New inserted tag won't work with selector

2009-05-17 Thread cohq82
Thanks. You guys are great! On May 14, 2:42 am, "Richard D. Worth" wrote: > See > > FAQ (Frequently Asked Questions): Why doesn't an event work on a new element > I've > created?http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_ev... > > - Richard > > On Thu, May 14, 2009 at 2:

[jQuery] jQuery Pagination Plugin ( Need to increase the number rows per page )

2009-05-17 Thread bharani kumar
Hello All , I am using jQuery Pagination , the demo one is pagination with static data , Now i changed that static pagination into dynamic(retrieve data from db) , But the problem is , I cant display more then one row per page , Please find the attachment ,, Thanks -- உங்கள் நண்பன் பரணி