[jQuery] Re: Debugging in IE

2009-12-19 Thread Henjo
Hi Mike, thanks for you reply. You are absolutely right. Tunnel vision and tiredness are a great combi ;-) Thanks! Henjo On Dec 16, 5:06 pm, Michael Geary m...@mg.to wrote: I'm glad you fixed your problem, but I'm certain that the conclusion (IE has trouble with a chained ajax call) is wrong.

[jQuery] Re: IE stops recurring ajax call

2009-12-19 Thread Henjo
Hi Scott, well - it actually has nothing to do with chained requests in general. This chained request did the request on a whole different tag (on the #option instead of fieldset), that was the problem. Henjo On Dec 16, 3:43 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Dec 16, 4:14 am,

[jQuery] imgPreview

2009-12-19 Thread tommytomato
Hi all I've been working on this all day today..I've followed this page, I'm working on Website links + previews http://james.padolsey.com/demos/imgPreview/full/ Here's my test which works OK http://www.rockinghamgateway.com/test/index4.html I'm trying to place the table into another page

[jQuery] Re: Jquery Datepicker UI

2009-12-19 Thread Thomas
Hi, I think you want to write a handler for the event 'beforeShowDay'. From the documentation: beforeShowDay function(date) The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS

[jQuery] Re: Jquery Datepicker UI

2009-12-19 Thread Thomas
Oh, here's the link to the doc: http://jqueryui.com/demos/datepicker/#event-beforeShowDay On Dec 18, 3:13 pm, Mauricio Vargas pixelcriat...@gmail.com wrote: Hi, I'm using the Datepicker that comes with the jQuery UI. I would like to keep some dates, in this calendar, checked. I'm bringing

[jQuery] Re: Lessons learned with sliding menus and lightbox

2009-12-19 Thread Greg Tarnoff
Erik, Nice of you to post this lesson for others, but I hate to say you could have saved yourself lots of time with one simple line of code. jquery.noConflict(); http://docs.jquery.com/Core/jQuery.noConflict This gives control of the $ namespace back to whichever library calls it. By loading

[jQuery] jQuiery [autocomplete] Message: 'text' is null or not an object

2009-12-19 Thread BPG
Hi there, I'm using the autocomplete plugin of jquery with the Search Page Replacement option. This works fine in FF and chrome, only in IE it fails with the following error. Message: 'text' is null or not an object Line: 25 Char: 5 Code: 0 URI: http://www.openingstijden.nu/beta/index.php

[jQuery] jQuery Validation Plugin messages by field rule.

2009-12-19 Thread Antti
Hi! Im quite newbie with jquery but so far i think it realy rocks. Anyways im now trying to use Validation plugin but have one problem to solve to get in job done. My form has natrually many fields, each field can have many rules, even custom rules. Trouble is that i cant find a way to overwrite

[jQuery] jquery text problem.

2009-12-19 Thread suresh kumar
I am using jquery block to show the popup window. In which the popup has two textboxes with two buttons. When user clicking the buttion i need to get the value from two textboxe's and save it to the database. But when i try to get the value it is nulll or empty string. How can i get the textbox

[jQuery] Re: jQuiery [autocomplete] Message: 'text' is null or not an object

2009-12-19 Thread MorningZ
without any code, it makes it virtually impossible for anyone to help that error (typically) means IE doesn't know what method you are trying to call.. either its a bad reference, or sometimes it's because the method name called is a reserved word (something FF will overlook, but IE won't)

[jQuery] cluetip - allow scripts to run in the box?

2009-12-19 Thread youradds
Hi, I'm trying to make a shopping cart, and one of the features I'm trying to do - is make it so when someone hovers over a add to cart button. it loads a new mini-box (using the cluetip plugin) ... with the amount of this item they want to add. Now, this works:

[jQuery] Re: cluetip - allow scripts to run in the box?

2009-12-19 Thread youradds
Ok, managed to get it working with:L jQuery('#conference_order_box%conference_id%').cluetip( { sticky: true, closePosition: 'title', arrows: true,

[jQuery] Re: jQuiery [autocomplete] Message: 'text' is null or not an object

2009-12-19 Thread BPG
I'm sorry I thought it was best to tell where to find the error... On my page I include 'jquery-1.3.2.min.js', and the 'jquery.autocomplete.js' file. I also include a file (search.autocomplete.php) that has list of words to autocomplete which looks like this var autogemeenten = [ { text

[jQuery] Re: jquery text problem.

2009-12-19 Thread Rick van Hoeij
I usually use this code: $('#textbox_id').val() But I don't know id it is different in .net Hope this helps. Greetz, Rick On Dec 19, 11:48 am, suresh kumar ksuresh...@gmail.com wrote: I am using jquery block to show the popup window. In which the popup has two textboxes with two buttons.

[jQuery] Re: jQuery attaching actions to links with different class

2009-12-19 Thread Rick van Hoeij
I would use: $('a').click(function(){ var car_id = parseFloat($(this).attr('class')); $('#' + car_id).show(); }); Haven't tested this, but should work if I read your description right. Greetz, Rick On Dec 18, 1:57 pm, imot3k r.imp...@gmail.com wrote: Hi, I'm making a website for a

[jQuery] Generate and submit file upload form with jQuery

2009-12-19 Thread oli
Hi, I want to collect some input fields that are already present in my DOM, generate a form with jQuery and submit it. Everything works fine, unless if one of those input fields is a type=file field. $(.trform .sendform).click(function(e) { e.preventDefault(); var form =

Re: [jQuery] Generate and submit file upload form with jQuery

2009-12-19 Thread brian
Why don't you simply submit the form you are cloning from? It doesn't appear to me that you're adding anything to the new form. On Sat, Dec 19, 2009 at 10:57 AM, oli janoli...@gmail.com wrote: Hi, I want to collect some input fields that are already present in my DOM, generate a form with

[jQuery] Re: Generate and submit file upload form with jQuery

2009-12-19 Thread oli
.append($(:input,form).clone()) This line does add all the input fields inside the form element (which actually isn't a form) to the generated one. The thing is, that I have a table and need a form for every row (but not in a single column). formtr or trform aren't valid. So I'm looking for all

[jQuery] Superfish - Background Color on Sub-Menus

2009-12-19 Thread slflinders
I'm using a Superfish menu for the top menu at the following site: http://theratrike.com The first-level menu has an image behind it and the default background color for the list items was transparent, which made it look nice. However, when you hovered over a first-level item to expose the sub-

[jQuery] Can Tooltip return a jsp page?

2009-12-19 Thread HenryRock
The tooltip plugin I refer to is http://jquery.bassistance.de/tooltip/demo/ One of the function is return a HTML tag. $('#tonus').tooltip({ delay: 0, showURL: false, bodyHandler: function() { return $().attr(src, this.src); } }); Now I have a FIXED and LONG ( Table of

Re: [jQuery] Debugging in IE

2009-12-19 Thread ANES P.A
*Hello Pals, I am Anes . A PHP Programmer from Kerala , in India. Friends Please Try IE Developer Tool Bar... I think it's give some functonality as you like Firebug Lite is also good ... *Wish all happy X'mas and happy new Year Regards Anes(anes...@amskape.com). On Tue, Dec 15,

[jQuery] Can Tooltip return a jsp page?

2009-12-19 Thread HenryRock
The tooltip plugin I refer to is http://jquery.bassistance.de/tooltip/demo/ One of the function is return a HTML tag. $('#tonus').tooltip({ delay: 0, showURL: false, bodyHandler: function() { return $( ).attr(src, this.src); } }); Now I have a FIXED and LONG ( Table of

[jQuery] [autocomplete]

2009-12-19 Thread nKognito
In your autocomplete plugin example (tags list): when a user types some word and then select the right one from the suggested list by keyboard - everything ok, BUT when he wants to select an option by mouse - there is a big problem - the input field recieves th wrong value. I have similar problem

Re: [jQuery] Re: Generate and submit file upload form with jQuery

2009-12-19 Thread brian
You could use divs instead of a table. Or use a TD with colspan=whatever and place another table inside of that (wrap the table with the form tag). On Sat, Dec 19, 2009 at 11:15 AM, oli janoli...@gmail.com wrote: .append($(:input,form).clone()) This line does add all the input fields inside

Re: [jQuery] Can Tooltip return a jsp page?

2009-12-19 Thread brian
It's been awhile since i used JSP but the first thing I'd check is if the content was parsed correctly. When you view source, do you see the content in the JS code or do you see the JSP tag? If the latter, your JSP code isn't being parsed on the server. On Sat, Dec 19, 2009 at 10:31 AM, HenryRock

[jQuery] Re: Generate and submit file upload form with jQuery

2009-12-19 Thread oli
I could also do this using Javascript. I know thats probably not the most elegant solution, but it'd be interesting to implement and even if I solved it with anything else, I would like to get this done with jquery also. So any other suggestions? On Dec 19, 7:46 pm, brian zijn.digi...@gmail.com

[jQuery] To make an Id using a variable

2009-12-19 Thread Andre Polykanine
Hello everyone, What I'm trying to do is to make a radio button checked depending on a variable gotten via PHP. Here's the code: // What radio button was checked previously? var t=?=$f[Type]?; // Say it was 2. Then the id must be #utype2 $(#'utype'+t).attr(checked, checked); What am I doing

Re: [jQuery] To make an Id using a variable

2009-12-19 Thread Richard D. Worth
$(#utype + t) - Richard On Sat, Dec 19, 2009 at 3:18 PM, Andre Polykanine an...@oire.org wrote: Hello everyone, What I'm trying to do is to make a radio button checked depending on a variable gotten via PHP. Here's the code: // What radio button was checked previously? var t=?=$f[Type]?;

Re: [jQuery] jQuery Validation Plugin messages by field rule.

2009-12-19 Thread Andre Polykanine
Hello Antti and all, You just don't need to nest messages, they should be overwritten: inputfield_2: { // THIS IS WHAT I WOULD LIKE TO HAVE required:inputfield 2 required message,

Re: [jQuery] jQuery in e107 plugin?

2009-12-19 Thread Richard D. Worth
After the second one is loaded you can get back to the first one using noConflict: http://docs.jquery.com/Core/jQuery.noConflict - Richard On Fri, Dec 18, 2009 at 11:13 AM, Harsányi János hajani...@gmail.comwrote: I have two e107 plug ins which are using jQuery. The first one uses jQuery UI

Re[2]: [jQuery] To make an Id using a variable

2009-12-19 Thread Andre Polykanine
Hello Richard and all, Yepp, it works) and if I want to do the same with a select box? select id=lang option value=enuEnglish/option option value=fraFrench/option option value=deuGerman/option Say, I have it previously set to French. Do I need to make a loop or I

Re: Re[2]: [jQuery] To make an Id using a variable

2009-12-19 Thread Richard D. Worth
var lang = 'fra'; $('#lang option[value=' + lang + ']').attr('selected', 'selected'); or var lang = 'deu'; $('#lang').val(lang); - Richard On Sat, Dec 19, 2009 at 3:35 PM, Andre Polykanine an...@oire.org wrote: Hello Richard and all, Yepp, it works) and if I want to do the same with a

Re[4]: [jQuery] To make an Id using a variable

2009-12-19 Thread Andre Polykanine
Hello Richard and all, Thanks! -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Richard D. Worth rdwo...@gmail.com

[jQuery] backgroundPosition animation only works horizontal?

2009-12-19 Thread stevescotthome
I have a background sprite that I want to animate vertical on hover, but it pops in vertically...but if I change it to horizontal it all works fine...is there something Im doing wrong? WORKS $(.I1).hover(function () { $(this).animate({backgroundPosition: '0px -10px'},

Re[2]: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-19 Thread Andre Polykanine
Hello Richard and all, Is that a multi-browser solution? Thanks a lot! -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message -

Re: Re[2]: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-19 Thread Richard D. Worth
Is it, thanks to normalization done by jQuery, as Mike mentioned. - Richard On Sat, Dec 19, 2009 at 4:18 PM, Andre Polykanine an...@oire.org wrote: Hello Richard and all, Is that a multi-browser solution? Thanks a lot! -- With best regards from Ukraine, Andre Skype: Francophile;

Re[4]: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-19 Thread Andre Polykanine
Hello Richard and all, For some reason it doesn't work (IE8). Might it be due to the validation plugin? Thanks! -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter:

Re: Re[4]: [jQuery] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-19 Thread Richard D. Worth
Please share a live sample page showing the issue. If you don't have a place to host one, use jsbin.com: http://jsbin.com/ - Richard On Sat, Dec 19, 2009 at 5:02 PM, Andre Polykanine an...@oire.org wrote: Hello Richard and all, For some reason it doesn't work (IE8). Might it be due to the

[jQuery] Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread Vik
Let's say a user visits my site, and takes an action that requires him to be logged in. I would like to: - Take him to the login page - Automatically return to the page he started from after he logs in So I need to capture the current window.location, which is easy (var returnURL =

Re: [jQuery] Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread brian
I would do all of this server-side. Have your PHP script save the requested page in the session before redirecting to the login page. Or, write the requested URL to a hidden input in the login form. On Sat, Dec 19, 2009 at 6:16 PM, Vik v...@mindspring.com wrote: Let's say a user visits my site,

[jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread HenryRock
It work if I code it as below: $('#tonus').tooltip({ delay: 0, showURL: false, bodyHandler: function() { return divtable trtdBlue/tdtdWater/td/tr trtdRed/tdtdFire/td/tr trtdGreen/tdtdTree/td/tr trtdWhite/tdtdCloud/td/tr /table/div; } }); I not sure why when I code it as

[jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread Vik
There is no session yet; the user has not yet logged in. There is no way to write the requested URL to a hidden input in the login form, because the login form isn''t up yet - the user is visiting some other page. On Dec 19, 3:58 pm, brian zijn.digi...@gmail.com wrote: I would do all of this

Re: [jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread brian
With the JSP include in place, when you view source and look at the javascript block, do you see: return divtable trtdBlue/tdtdWater/td/tr trtdRed/tdtdFire/td/tr trtdGreen/tdtdTree/td/tr trtdWhite/tdtdCloud/td/tr /table/div; ... or do you see: return jsp:include

Re: [jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread brian
Just start a session by default for any user. Once the user has logged in, create a new session or simply write new values to it. When the user requests a page, some code of yours must be evaluating whether a login is necessary. Ergo, the URL is known to your script. So, you can then write the

[jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread HenryRock
Hi Brian, I get this return jsp:include page='legend-table.jsp'/; How come? How to fix that? Thanks On Dec 20, 11:58 am, brian zijn.digi...@gmail.com wrote: With the JSP include in place, when you view source and look at the javascript block, do you see:        return divtable