[jQuery] Re: selector best practice

2009-02-15 Thread Rene Veerman
I'd say go for just ("#uniqueid") as that likely maps to document.getElementById() (fast) and bypasses the normal jquery traversing that is required if you put in more selectors. SteelRing wrote: This may sound stupid to y'all jquery practitioners, but i wonder which method is fastest (recom

[jQuery] selector best practice

2009-02-15 Thread SteelRing
This may sound stupid to y'all jquery practitioners, but i wonder which method is fastest (recommended) for selecting a cell with a class in a big table (think like 1000+ rows 100+ columns): ("#tableid tbody tr.rowclass td.cellclass") or is it ("td.cellclass") or (".cellclass"). And how about if

[jQuery] Re: Feature Detection Best Practice?

2009-02-15 Thread Klaus Hartl
> It's false in IE because it tests for use of the 'opacity' style, not > whether the browser has opacity support.  Since IE uses filters to > achieve opacity this results in a false value.  I think it makes sense > when you think of it that way. Sure. Although I would have called the property so

[jQuery] Re: Please need your help ( change image when i click on it)

2009-02-15 Thread mtsmit2
You could do something like the following. I haven't tested this and it is late, so I am not promising it actually works :-). $("img").click(function() { $this = $(this); $this.attr("src", "newimage.jpg"); $("#textbox-id").val($this.attr("id")); }); On Feb 15, 1:46 pm, Hellofrom wr

[jQuery] Re: jQuery Plugin "Hello World"

2009-02-15 Thread mtsmit2
The following is a pretty good starting point. http://docs.jquery.com/Plugins/Authoring On Feb 15, 3:32 pm, James wrote: > Trying checking this > tutorial:http://www.learningjquery.com/2007/10/a-plugin-development-pattern > > On Feb 15, 10:28 am, Tim Johnson wrote: > > > Google gives me lots

[jQuery] Re: .load() and timing

2009-02-15 Thread Karl Rudd
Ajax is "asynchronous", which is to say that you make the call to get the data, then it could take a few seconds for it to appear. During that time JavaScript code keeps going. So your code for "populate fields" most executes before the page snippet is actually loaded. What you need to do is: fu

[jQuery] Re: .load() and timing

2009-02-15 Thread jhm
> You'll probably need to supply a snippet of the relevant bit of your > code. It could be a number of things. Is this enough? function addActivity(activity, name, id) { // load activity snippet $(#activity).load('activity.html');

[jQuery] Re: .load() and timing

2009-02-15 Thread Karl Rudd
You'll probably need to supply a snippet of the relevant bit of your code. It could be a number of things. Make sure you're doing the modifications to the loaded HTML (which will be located in the element you've chosen) in the callback function. You might be better off using the $.get() function

[jQuery] Re: .load() and timing

2009-02-15 Thread Tze Yang Ng
any code fragment to look at ? not the whole chunk, just the part focusing on the part u are referring to. == On Mon, Feb 16, 2009 at 1:05 PM, jhm wrote: > > I'm new to jquery and so far it's awesome. I've run into a problem, > however, that I don't fully understand how to deal with. (sorry for

[jQuery] .load() and timing

2009-02-15 Thread jhm
I'm new to jquery and so far it's awesome. I've run into a problem, however, that I don't fully understand how to deal with. (sorry for the cross post, if it is one, I accidentally posted this originally in the UI group). I'm using .load() to load a snippet of HTML in response to a click. I need

[jQuery] graphing with JQuery

2009-02-15 Thread Kuttan
Hi I am a beginner in JQuery. As part of my project, I have to plot a graph using flotr. For this I have to pass the JSON data to the flotr library. I have the java servlet which generates the JSON object. Someone please explain how I can use $.getJSON and use the same to plot graph. Thanks in a

[jQuery] wiki software used for docs.jquery.com?

2009-02-15 Thread mumbojumbo
I love the docs and I was wondering what wiki platform they were using. Any Idea? I think its a modified version of mediawiki but I thought I would ask. Thanks, MJ

[jQuery] how can i bind events to elements insite ?

2009-02-15 Thread robing
i have a html page with an object element inside which loads an external page (i am using an object instead on the depricated iframe). i need a function called when i click on a certain div with a specific class but i just can't get it to work, i can't even get an alert when the object id is c

[jQuery] Re: Working with identical objects

2009-02-15 Thread Tze Yang Ng
According to the jquery doc, $('option:selected', ModulesListObj).val() returns the content of the value attribute of the first matched element. U may wish to try something like the following to get the desired array: $('something', ModulesListObj).map(function(){ return $(this).val(); }); TY

[jQuery] Re: checking if there is a select in the form/html?

2009-02-15 Thread RobG
On Feb 16, 9:27 am, Klaus Hartl wrote: > The jQuery way: > > $('#state').filter('select').doSomething(); Using filter is a bit inefficient when there is zero or one element, it seems that if a selector is to be used and the function is to run only if a select is found, then: var obj = $('se

[jQuery] Re: Working with identical objects

2009-02-15 Thread ShurikAg
Actually this: alert(jQ("option:selected", ModulesListObj).val()) works perfectly right, if there is only one select object on the page. If there are two or more it always picks up the first one. On Feb 15, 1:04 pm, Ricardo Tomasi wrote: > That's quite a lot of code to read through in an email.

[jQuery] Re: Datepicker Plugin Quesiton

2009-02-15 Thread Tze Yang Ng
minDate: new Date() When i use the datepicker, i have the habit of digging through /ui/ui.datepicker.js to find out the options supported. == On Sat, Feb 14, 2009 at 10:21 PM, Hellofrom wrote: > Hello every one > Can some one help me setting the datepicker plugin with the following > options >

[jQuery] Re: Datepicker Plugin Quesiton

2009-02-15 Thread system div
dateFormat: 'y-mm-dd', 09-02-16 dateFormat: 'yy-mm-dd', 2009-02-16 On Sat, Feb 14, 2009 at 10:21 PM, Hellofrom wrote: > Hello every one > Can some one help me setting the datepicker plugin with the following > options > min date =today > date format =-mm-dd > > thanks > >

[jQuery] Re: Feature Detection Best Practice?

2009-02-15 Thread Mike Alsup
> > I thought that was the point of $.support - If it doesn't support the > > standard implementation, then it's false. > > Probably you're right. I had just a different interpretation... I > would still be confused that this value is false in IE, although if > I'd use fadeIn/fadeOut it'll work.

[jQuery] Re: jQuery in PCs

2009-02-15 Thread Michael Geary
That's a neat idea; thanks for thinking about improving load time. We may actually have something a bit like that already. Google hosts jQuery along with other JavaScript libraries: http://code.google.com/apis/ajaxlibs/documentation/#jquery If you load jQuery from Google, e.g.: http://ajax.goo

[jQuery] Re: Little help please?

2009-02-15 Thread Mike Alsup
>     var map1 = new GoogleMap( 'map', 37.4419, -122.1419, 10 ); >     var map2 = new GoogleMap( 'map2', 37.4419, -122.1419, 10 ); > >     $('button').click(function(){ >         map1.pan(37.3, -122.2, 0); >         map2.infoWindow(37.4419, -122.1419, 'Hello'); >     }); > > As you can see, that'

[jQuery] Re: Expander and Dynamic DIV content

2009-02-15 Thread Karl Swedberg
Yes, it probably has to do with the content being added dynamically. Can you take a look at this FAQ page and see if it helps solve your question? http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F thanks, --Karl Karl Swedb

[jQuery] jQuery in PCs

2009-02-15 Thread NewToJS
Hi... Am new to jQuery and the programming... I started a few days ago but found out how useful and easy is jQuery, and think its becoming, or better said... Has already become popular... It might be soon, but think the best idea would be to make jQuery as a Browser plugin... Or should be like so

[jQuery] Re: Little help please?

2009-02-15 Thread Michael Geary
Not every piece of JavaScript code should be a jQuery plugin. This is a great example of code where making it plugin gains you nothing and adds significant complexity. jQuery is not a general purpose JavaScript library. jQuery is tightly focused on one thing: DOM manipulation. And that's not what

[jQuery] tooltips on top of a modal window

2009-02-15 Thread cellis
Hello all, Does anyone have an example of jTip or clueTip being used on top of a modal window? I have done it, but it only works in ie7. In firefox, the tooltip is behind the modal (and thus doesn't show up). Any help appreciated!

[jQuery] do function when focus brought to div with attribute of contentEditable

2009-02-15 Thread robing
Hi, i have a div element with the attribute of "contentEditable" and insite this elements could be any amount of html, i need to call a function when focus is brought anywhere inside this element, i have tried: $("div").attr("contentEditable").focus(function(){ alert("i have focus");

[jQuery] Re: how do i make a menu disappear as user clicks on it?

2009-02-15 Thread Joel Birch
On Feb 15, 7:13 am, rokomotibu wrote: > now menus disappear from screen only after user moves cursor away from > menu, but i want it to disappear right after user has chosen an item.. Hello, It is not clear from your description whether the links take the user to another page as normal, or if y

[jQuery] Re: Superfish - Still Need Help - Vertical Menu

2009-02-15 Thread Joel Birch
On Feb 16, 3:47 am, bellaluna316 wrote: > In IE 8 & FF 3.0.6, my vertical sub-menus are only displaying a > partial link.  I've tried a couple suggestions and played with some of > the z-indexes but can't find the fix.  They display fine in IE7. > > Any help would be greatly appreciated! Hello,

[jQuery] field (min, max) depending on other field value

2009-02-15 Thread petergab
1. I have a form and two fields. One is category and one is age. If first category is selected the age must be min 30. Is it possible to validate it with jQuery? 2. Second one is similar. I need to set the earliest date in the field depending on category. -- View this message in context: http:

[jQuery] Re: Feature Detection Best Practice?

2009-02-15 Thread Klaus Hartl
On 15 Feb., 20:59, Ricardo Tomasi wrote: > I thought that was the point of $.support - If it doesn't support the > standard implementation, then it's false. Probably you're right. I had just a different interpretation... I would still be confused that this value is false in IE, although if I'd u

[jQuery] Re: checking if there is a select in the form/html?

2009-02-15 Thread Klaus Hartl
The jQuery way: $('#state').filter('select').doSomething(); --Klaus On 16 Feb., 00:23, RobG wrote: > On Feb 15, 9:20 pm, "angelochen...@gmail.com" > > wrote: > > Hi Rob, > > > Thanks for the quick reply, actually state has a  id='state', I can > > obtain it : > > > element = document.getElem

[jQuery] Re: checking if there is a select in the form/html?

2009-02-15 Thread RobG
On Feb 15, 9:20 pm, "angelochen...@gmail.com" wrote: > Hi Rob, > > Thanks for the quick reply, actually state has a  id='state', I can > obtain it : > > element = document.getElementById("state"); > > and this element can be either an 'input' or a 'select', is there a > way to determine during

[jQuery] Cycle Plugin now supports multiple transition effects

2009-02-15 Thread Mike Alsup
I've received many email requests for this feature and I'm happy to say that it has finally been released. A demo is available here: http://www.malsup.com/jquery/cycle/multi.html

[jQuery] Localization in JQuery using .Net resource files

2009-02-15 Thread James Westgate
I've put together a post detailing how you can use .Net resource files as JSON objects in JQuery, http://bloggingdotnet.blogspot.com/2009/02/javascript-localization-using-net.html

[jQuery] Re: case insensitive :contains()

2009-02-15 Thread Patrick Aljord
thanks a lot

[jQuery] Re: Cancel Previous $.post request

2009-02-15 Thread Chintan Tank
Thanx James for the reply. I am kind of a greenhorn in using Javascript/Jquery. I ddnt follow you exactly. This is the snippet of the code am talking about ... if(inputString.length == 0) { // Hide the suggestion box. $('#suggestions').hide(); } else { var reque

[jQuery] Re: Can't read field value in remote method (Validation).

2009-02-15 Thread Jörn Zaefferer
You are using an id-select, while you didn't specify an id. Add id="field1" to that field... Jörn On Sun, Feb 15, 2009 at 9:35 PM, kibi wrote: > > form id='f1' name='f1' method='post' action='ticket_confirm' > > input name='field0' type='text' > input name='field1' type='text' > > for

[jQuery] Re: Working with identical objects

2009-02-15 Thread Ricardo Tomasi
Sorry for the double messages. Actually that could simply be: alert( jQ(this).val() ) as val() called on a will return the selected option's value. On Feb 15, 6:04 pm, Ricardo Tomasi wrote: > That's quite a lot of code to read through in an email. Try reducing > your code to the least necessa

[jQuery] Re: Working with identical objects

2009-02-15 Thread Ricardo Tomasi
That's quite a lot of code to read through in an email. Try reducing your code to the least necessary to exemplify your problem, then someone might take the time to help. >From what I see: alert(jQ("option:selected", ModulesListObj).val()) This is catching all the selected options inside Modules

[jQuery] Re: pagerAnchorBuilder and slide.src

2009-02-15 Thread srhnbr
It did! Thanks so much for the quick reply :))

[jQuery] Can't read field value in remote method (Validation).

2009-02-15 Thread kibi
form id='f1' name='f1' method='post' action='ticket_confirm' input name='field0' type='text' input name='field1' type='text' form $(document).ready(function() { var validator = $("#f1").validate({ rules: { field0: {

[jQuery] Re: pagerAnchorBuilder and slide.src

2009-02-15 Thread Mike Alsup
> Hello, I've search everywhere so if this has been asked before please > point me to the right direction. > I have the cycle plugin working on a wordpress theme I'm developing. > > It slides images with text > > this is my html code: > > >         >             >                   >          

[jQuery] Jtip and Jquery lightbox?

2009-02-15 Thread pardity
Is it possible to have lightbox with a jtip?

[jQuery] Re: anyone tried alternatives to setting wmode on objects (lightbox on top issue)?

2009-02-15 Thread Ricardo Tomasi
If I recall correctly you can stack an iframe of your own over the whole page (behind the lightbox) that will stay on top of everything. In the last project I needed to work around this, I just set visibility:hidden for all flash/iframe objects in the page when firing a lightbox. Not very noticeab

[jQuery] Re: jQuery Plugin "Hello World"

2009-02-15 Thread James
Trying checking this tutorial: http://www.learningjquery.com/2007/10/a-plugin-development-pattern On Feb 15, 10:28 am, Tim Johnson wrote: > Google gives me lots of hits on "jQuery Plugin" > > However, I have yet to find a _very_ simple example. > One that would demonstrate the simplest syntax an

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-15 Thread over.nine.k
The CSS workaround workd for me. The class was just wrong use: .ui-tabs-loading em instead of: .ui-tabs-load em and: .tabs({ spinner: '.'}); (used a dot so the text will hide behind the image) On Feb 10, 7:08 pm, brian wrote: > On Tue, Feb 10, 2009 at 4:12 PM, Klaus Hartl > wrote: > > > As

[jQuery] pagerAnchorBuilder and slide.src

2009-02-15 Thread srhnbr
Hello, I've search everywhere so if this has been asked before please point me to the right direction. I have the cycle plugin working on a wordpress theme I'm developing. It slides images with text this is my html code:

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-15 Thread over.nine.k
The CSS workaround worked for me, the class was just wrong. Use: .ui-tabs-loading em Instead of: .ui-tabs-load em set your tab selector to: .tabs({ spinner: '.'}); (a dot, so the image covers it. Or just use better CSS) On Feb 10, 7:08 pm, brian wrote: > On Tue, Feb 10, 2009 at 4:12 PM,

[jQuery] Little help please?

2009-02-15 Thread Kris
Hi Guys, I'm playing around with writing plugins. To learn I decided to write a plugin which interfaces with Google Maps. My code is as follows: jQuery.fn.extend({ googlemap : function(lat,lng,zoom) { return this.each(function(){ if (GBrowserIsCompa

[jQuery] jQuery Plugin "Hello World"

2009-02-15 Thread Tim Johnson
Google gives me lots of hits on "jQuery Plugin" However, I have yet to find a _very_ simple example. One that would demonstrate the simplest syntax and also demonstrate where to install the file with the plugin.. Links are welcome. I'll take it from there. thanks Tim

[jQuery] Re: Cancel Previous $.post request

2009-02-15 Thread James
Usually auto-complete features implement a request delay (using setTimeout), for example 300ms, before initiating the request. If a user types a character, the setTimeout goes, and if the user types another character within that timeout, it'll clear that timeout (clearTimeout) so the request will

[jQuery] Re: strange loop with livequery click

2009-02-15 Thread Ricardo Tomasi
The point of livequery is you don't need to reattach the listeners everytime you add new elements. This line: $("li.reItem").livequery('click', function(event){ should be ran only once on $().ready(), not everytime you call loadForecast(). You're basically adding a new 'click' listener everytime

[jQuery] Re: Feature Detection Best Practice?

2009-02-15 Thread Ricardo Tomasi
I thought that was the point of $.support - If it doesn't support the standard implementation, then it's false. On Feb 14, 8:46 pm, Klaus Hartl wrote: > On 14 Feb., 20:31, Chris wrote: > > > On Feb 13, 2:34 am, Klaus Hartl wrote: > > > > That will not avoid IE's ClearType issue, since IE is su

[jQuery] jqGrid 3.4

2009-02-15 Thread Tony
Hello All, Happy to introduce the new version of jqGrid. All the new features and bug fixes can be found here http://www.secondpersonplural.ca/jqgriddocs/index.htm Be a sure to visit the demo page for the new features. http://trirand.com/jqgrid/jqgrid.html The jqGrid home page is here http://tri

[jQuery] Re: JSON and jQuery

2009-02-15 Thread Rene Veerman
Alain Roger wrote: Hi, i didn't find anything on jQuery and JSON. is there any decoder ? thanks a lot. jQuery just does an "eval" on JSON. so no data checking If you want data checking, go to http://json.org, and download the javascript JSON implementation. They do change the array and obj

[jQuery] Re: optimizing

2009-02-15 Thread Ricardo Tomasi
Saving the elements beforehand (if they're not gonna change), rolling your own loop and doing only what is necessary inside it should increase performance already. I'm sure there are faster ways, knowing how the HTML is structured you could speed up the element look-ups too. $(document).ready(fun

[jQuery] Re: Can't Get Data Back from $.ajax() Call in IE7?

2009-02-15 Thread Rick Faircloth
Glad you got it fixed...the caching issue caught me at first, too. Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Vik > Sent: Sunday, February 15, 2009 1:46 PM > To: jQuery (English) > Subject: [jQuery] Re: Can't Get Data

[jQuery] JSON and jQuery

2009-02-15 Thread Alain Roger
Hi, i didn't find anything on jQuery and JSON. is there any decoder ? thanks a lot. -- Alain --- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008

[jQuery] Please need your help ( change image when i click on it)

2009-02-15 Thread Hellofrom
Hello Every One I really need your help, What i am trying to do is when click on image in the page i need to change it to other one and in the same time update textbox with image ID. Thanks in advance

[jQuery] Re: Can't Get Data Back from $.ajax() Call in IE7?

2009-02-15 Thread Vik
Fixed it! Once I realized it was working on Firefox/Win XP, but not IE7/Win XP, I did some more googling on this group, and found this post: http://groups.google.com/group/jquery-en/browse_thread/thread/a40b6fb572232e3b/662932a169dd4e14?lnk=gst&q=%24.ajax()+firefox+ie7#662932a169dd4e14 Andy K:

[jQuery] Re: Slide down and up element and remain vertical size

2009-02-15 Thread thearchiteck
I was trying to replicate the Apple.com downloads accordion and I came accross the same issue. The Soultion very simple use mousemove instead of mouseenter. works like a charm for my jquery accordions -- View this message in context: http://www.nabble.com/Slide-down-and-up-element-and-rem

[jQuery] Re: "undefinedjquery.block.js"

2009-02-15 Thread Neil Bailey
David - much thanks, sir. I appreciate your help - that did the trick. Thanks again. nb From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of David Andrews Sent: Saturday, February 14, 2009 11:17 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: "undef

[jQuery] show/hide content

2009-02-15 Thread lionel28
Hi, I once saw a jquery script where you can display content based on count 5 | 10 | 20 It defaults on 5 items. When you click on 10 it displays 10 items and so on Can someone please point me to a link? Thank you -- View this message in context: http://www.nabble.com/show-hide-content-tp22

[jQuery] Cancel Previous $.post request

2009-02-15 Thread Chintan Tank
Hi, I am using the jquery + $.post to create an auto-suggest feature. I wanted to know if there is a way to cancel previous post requests. For example this is how it is happening now.. User types in "*jquery*" so my app sends request for *j, jq, jqu, jque, jquer, jquery* and depending on whi

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread kibi
Could you help me please with this issue? I’m newbie in jQuery. I tried to find any information about pop-up windows for this plugin – nothing found. When I changed code (options) > submitHandler: function(form) { > $(form).ajaxSubmit(); > window.open('','Order > Confirmation','width=600,heig

[jQuery] Small Glitch with Open/Shut Function

2009-02-15 Thread WebRanger
I put examples of my problem online at http://www.geobop.org/Test.php and http://www.geobop.org/Test2.php. It was working fine until recently. I don't know if the problem was caused up upgrading to jQuery 1.3.1 or if I just messed up my files somehow. The scripts on the first page don't work at

[jQuery] Re: Can't Get Data Back from $.ajax() Call in IE7?

2009-02-15 Thread Vik
Thanks for the compliment, Rick. But I am completely stumped on this one so far. I've updated the code, but with the same result. The data comes back correctly on Safari/Mac, Firefox/Mac, and Firefox/Win XP. But on IE7/ Win XP, data comes back undefined. $.ajax({ mode: "s

[jQuery] the jquery form plugin and the accents !

2009-02-15 Thread phicarre
I have a problem with the jquery form plugin. I submit a form (to test.php) in which there are text fields and one file field + enctype='multipart/form-data'. The html page has a meta which defines the charset to iso 8859-1 The test.php module begin with header('content-type:text/ html;charset=i

[jQuery] Superfish - Still Need Help - Vertical Menu

2009-02-15 Thread bellaluna316
In IE 8 & FF 3.0.6, my vertical sub-menus are only displaying a partial link. I've tried a couple suggestions and played with some of the z-indexes but can't find the fix. They display fine in IE7. Any help would be greatly appreciated!

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread kibi
On 15 фев, 18:35, Jörn Zaefferer wrote: > Try this: > > submitHandler: function(form) { >  $(form).ajaxSubmit(options); >  window.open('','Order > Confirmation','width=600,height=600,scrollbars=yes'); >  }, > Thank you for advice Jörn But in this code I've got error message "options in not def

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread Jörn Zaefferer
Try this: submitHandler: function(form) { $(form).ajaxSubmit(options); window.open('','Order Confirmation','width=600,height=600,scrollbars=yes'); }, On Sun, Feb 15, 2009 at 5:33 PM, kibi wrote: > > > > On 15 фев, 17:57, Jörn Zaefferer > wrote: >> submitHandler: function() { >> alert("For

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread kibi
On 15 фев, 17:57, Jörn Zaefferer wrote: > submitHandler: function() { >   alert("Form completed!"); >   $(form).ajaxSubmit(options); >   window.open('','Order Confirmation','width=600,height=600,scrollbars=yes') > > } Thank you Jörn In this code: submitHandler: function() { $(form).ajaxSubmi

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread Jörn Zaefferer
submitHandler: function() { alert("Form completed!"); $(form).ajaxSubmit(options); window.open('','Order Confirmation','width=600,height=600,scrollbars=yes') } You really need to learn some JavaScript basics. Jörn On Sun, Feb 15, 2009 at 4:54 PM, kibi wrote: > > > > On 15 фев, 15:24, Jör

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread kibi
On 15 фев, 15:24, Jörn Zaefferer wrote: > Put that window.open code into the submitHandler. > Thank you for response. I changed Handler Submit options: submitHandler: function() { alert("Form completed!!"); $(form).ajaxSubmit("window.open('','Order Confirmation','width=600,height=600,scrol

[jQuery] Re: Accordion

2009-02-15 Thread FredJones
OK, thanks

[jQuery] show/hide (toggle) dynamic table row

2009-02-15 Thread Info
Hello - thank you in advance for your help! I would like to use the toggle function to show hide a table row BELOW a dynamic row, so the table would look like this row from database with data row I want to show hide (defaults to hide) I know how to do this when the table is static but how do I

[jQuery] Re: [validate] Form cache manipulation?

2009-02-15 Thread Jörn Zaefferer
You can add autocomplete="off" to both input and form elements, eg. ... Jörn On Sun, Feb 15, 2009 at 3:22 PM, snitch wrote: > > Hi, > > I use the jquery.validation plugin very handy. All works fine, but I > have one little Problem. > > I have a form which adds new Customers. If you fill out the

[jQuery] Expander and Dynamic DIV content

2009-02-15 Thread michael.conn...@inbox.com
Hello to Fellow Coders! I am calling a JQuery $.post function from Javascript to a PHP script which grabs database query results and displays them in a DIV (with JQuery $('some_obj').html) . I would like to have the EXPANDER truncate the results (formatted in an unordered list) but it doesn't wor

[jQuery] flotr graphing with jquery and json

2009-02-15 Thread Kuttan
Hi I am a beginner in JQuery. As part of my project, I have to plot a graph using flotr. For this I have to pass the JSON data to the flotr library. I have the java servlet which generates the JSON object. Someone please explain how I can use $.getJSON and use the same to plot graph. Thanks in a

[jQuery] [validate] Form cache manipulation?

2009-02-15 Thread snitch
Hi, I use the jquery.validation plugin very handy. All works fine, but I have one little Problem. I have a form which adds new Customers. If you fill out these form more than one time, the Browser will show filled in values from the past if they match with the given characters in one field. My

[jQuery] cross frame menu

2009-02-15 Thread Steven Yang
Hi I know this is not directly related to jQuery, but I really need some help. I have found many menu plugin for jQuery. However, none are supporting cross frame. I am thinking of doing one myself, but I dont really know the concept or the main idea of how to do it. Can anyone point me to the right

[jQuery] Re: Superfish Vertical

2009-02-15 Thread bellaluna316
Thanks for your help, but it didn't fix the problem :-( On Feb 13, 2:29 pm, amuhlou wrote: > the problem is in your css:  #mainBg in your css file has "overflow: > hidden" on it. > > when you remove that, the menus work as intended.  It does, however, > make the white background for the div go a

[jQuery] Re: Accordion

2009-02-15 Thread Richard D. Worth
Could you post this to the jQuery UI list? http://groups.google.com/group/jquery-ui Also, a sample page or pastie ( http://paste.pocoo.org/ or http://jsbin.com/) showing the problem you describe would help. Thanks. - Richard On Sun, Feb 15, 2009 at 7:40 AM, FredJones wrote: > > Firstly, the de

[jQuery] [TreeView] Dynamic tree and location persistence problem

2009-02-15 Thread train
I am using TreeView to generate a tree of the content on my website which is dynamic. If content is added the tree grows. The way I manage the dynamic tree is by creating a new tree whenever content is added and loading the newest tree to be displayed in the webpage. My idea is to use loaction b

[jQuery] Re: How to open pop-up window after success result of Validation of form?

2009-02-15 Thread Jörn Zaefferer
Put that window.open code into the submitHandler. Jörn On Sun, Feb 15, 2009 at 11:47 AM, kibi wrote: > > I used jQuery Validation plugin. > Validation works fine. Could you tell me, how to change form > attributes, that new pop-up window raised after validation (I don't > need alert message – o

[jQuery] Re: AutoComplete script + mysql database

2009-02-15 Thread Jörn Zaefferer
The single file with keywords is just an example. Just replace it with a PHP script, or whatever language you prefer, that fetches data from some database. You'll find plenty of examples for that elsewhere, eg. on php.net for PHP. Jörn On Sun, Feb 15, 2009 at 1:03 PM, Praveen Sarathchandra - Fre

[jQuery] Re: jQuery.validate not working properly?

2009-02-15 Thread Jörn Zaefferer
The minLength doesn't exist, its minlength. What happens is that an error as thrown, and instead of stopping the submit, it just submits. To debug issues like this, you can set debug:true - it'll then always prevent a submit, valid or not. Jörn On Sun, Feb 15, 2009 at 1:24 AM, Mark wrote: > > I

[jQuery] autocomplete plugin from bassistance: up and down arrows

2009-02-15 Thread wongtsefei
Hello, I am using the v1.0.2 of jquery autoselect plugin authored by Jörn Zaefferer, on bassistance.de. First off, thank you for some great code. It provides some critical functionality for the website I am trying to design. Here is the issue that I am struggling with: the up and down arrow ke

[jQuery] How to open pop-up window after success result of Validation of form?

2009-02-15 Thread kibi
I used jQuery Validation plugin. Validation works fine. Could you tell me, how to change form attributes, that new pop-up window raised after validation (I don’t need alert message – only new window) Here code of validation: Html form : form id='f1' name='f1' method='post' action='result.htm' Ja

[jQuery] connect a MySQL database to jQuery Autocomplete plugin by bassistance.de

2009-02-15 Thread Pj
Hello there, Can anyone please advise me on how to connect a mysql database with the jQuery Autocomplete plugin by bassistance.de ?I do not wish to have a js/php file with pre-defined tags. Thanks in advance.

[jQuery] Re: why my ajax call is not working in IE?

2009-02-15 Thread TheToba
Becouse this > async: false -->> , <<---}); In IE, the objects definitions must be perfectly make. (sorry for my english) Good: { a: "b", c: "d" } WRONG: { a: "b", c: "d", } the second definition, in Firefox or Saphari is good becouse, the internal interpreter fix it, but I

[jQuery] AutoComplete script + mysql database

2009-02-15 Thread Praveen Sarathchandra - Freelance Web Designer/Developer
Hello there, I downloaded auto complete script from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/, it seems really great. but I'm wondering if there's a way to fetch results from a mySQL database table rather than using a single file with keywords in it. Looking forward to hearin

[jQuery] Re: jQuery contextmenu problems

2009-02-15 Thread micho
Okay, so searching and searching I found that the problem is really in this block: $.each(cur.bindings, function(id, func) { $('#'+id, menu).bind('click', function(e) { hide(); func(trigger, currentTarget); }); }); This is for some reason not working for firef

[jQuery] Accordion

2009-02-15 Thread FredJones
Firstly, the demo here http://docs.jquery.com/UI/Accordion does not work for me on any browser I test. I think it is broken. Secondly, I am using this widget on a tag where each has another . It works well BUT if the bottom one is open and you put the mouse on that tag and then slide it up to

[jQuery] Re: checking if there is a select in the form/html?

2009-02-15 Thread angelochen...@gmail.com
Hi Rob, Thanks for the quick reply, actually state has a id='state', I can obtain it : element = document.getElementById("state"); and this element can be either an 'input' or a 'select', is there a way to determine during runtime? Thanks, Angelo On Feb 15, 6:54 pm, RobG wrote: > On Feb 1

[jQuery] Re: Lightbox working local not live?

2009-02-15 Thread tres
Works for me. Tested in IE7, FF3, Safari 3, Chrome. Assuming Opera 9. -Trey On Feb 15, 4:04 am, Gavin wrote: > Hello, I'm currently working on my own website and I got everything to > work perfect locally, but when I upload live, lightbox fails to work. > My jFlow still works, it's just light

[jQuery] Re: getting border with without em or px

2009-02-15 Thread Alain Roger
i discovered later on that effectively something like : var borderbottom = parseInt($("#framework").css("borderBottomWidth"), 10); works well for that i wanted to do :-) On Sat, Feb 14, 2009 at 8:58 PM, mtsmit2 wrote: > > Hey, > > There might might be an easier/better way but I always do the

[jQuery] Re: checking if there is a select in the form/html?

2009-02-15 Thread RobG
On Feb 15, 8:41 pm, "angelochen...@gmail.com" wrote: > Hi, > I have this: > var state = $("sele...@name='state']").get(0).value; > but there are times there is no select element in the html, and cause > this statement to fail, > how to check if there is  'sele...@name='state']' present in the h

[jQuery] checking if there is a select in the form/html?

2009-02-15 Thread angelochen...@gmail.com
Hi, I have this: var state = $("sele...@name='state']").get(0).value; but there are times there is no select element in the html, and cause this statement to fail, how to check if there is 'sele...@name='state']' present in the html? Thanks, Angelo

[jQuery] making a sortable react on a droppable

2009-02-15 Thread Chris
Hi guys, I'm sorry, this question is most likely only due to my total ignorance of javascript design patterns. I have the following scenario on my website: On top there is a table which lists all users that exist. I have made the that contains the username be draggabe so that I can move it over

  1   2   >