[jQuery] Re: Asynchronous jQuery login form with PHP

2009-01-18 Thread GasGiant
where is your session implementation? have you remembered to use start in the the scripts called with ajax? are you changing session ids from page to page?

[jQuery] One click spreadsheet from table

2008-12-16 Thread GasGiant
Thinking out loud I want to create a one-click solution that turns any table into a CSV file and opens the CSV file with whatever app is the default for .csv files. I know that I can turn any result set into a CSV file with PHP, but that involves writing a file to disk and then prompting the

[jQuery] Re: Has jQuery development halted?

2008-12-05 Thread GasGiant
I think we should expect to see a longer development cycle now that jQuery has reached a new level of acceptance. You have to be much more serious and methodical when your work starts affecting more people and more projects. It is great to see MS, Zend, etc. taking jQuery seriously, but it will

[jQuery] Examples of using .data()

2008-11-20 Thread GasGiant
Having a little trouble finding good examples of uses for the core function data(). Anyone know of a tutorial or some such on this?

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread GasGiant
Do any of them have a callback type of function for what to do on close? I'd like to use a modal form that updates the Ajax in the opener, but only when the modal get's closed. On Sep 18, 1:43 pm, MorningZ [EMAIL PROTECTED] wrote: I've had great luck/usage with jqModal

[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread GasGiant
Gee, I wonder if I would get any special consideration because my name is almost exactly the same as his? :-p

[jQuery] Re: click() and dblclick(), sitting in a tree

2008-09-05 Thread GasGiant
I wonder if there is a way to cancel an event call? If there is, you could put a short delay in the click event and add a cancellation of the click event in the dblclick event. Or, maybe you could use a toggle for the single click, delay the action, and then the second click would undo the toggle

[jQuery] Re: focus() in IE?

2008-09-01 Thread GasGiant
It works for form elements in IE. FF has implemented support for focus throughout the DOM, I believe, but not IE. On Sep 1, 9:06 am, Boersnoes [EMAIL PROTECTED] wrote: Hi, Today I noticed the focus() doesn't work in IE. Can anybody confirm this or (even better) know how to fix it? Boris

[jQuery] Re: Access Ajax content with jquery DOM

2008-09-01 Thread GasGiant
Put the js that you want to run on Ajax-loaded elements into the callback method, such as ajaxStop()

[jQuery] Re: Start page load with collapsed DIV

2008-09-01 Thread GasGiant
How about loading it hidden and using a setTimeout($ ('#div_id').toggle(), 500) to open it a little while later?

[jQuery] Re: Having trouble with date picker in AJAX div

2008-09-01 Thread GasGiant
Why not use jQuery to handle the Ajax for you with a simple .load() call and then put the date picker initialization code into a callback method such as ajaxStop() so that it executes after the Ajax is loaded. As it is now it looks like, when the datepicker() is run, your Ajax-loaded bits are not

[jQuery] Re: Accordion open when opening a new page

2008-08-26 Thread GasGiant
I would like to do the same and have tried a few things, but it would be most helpful if Accordion would read a variable passed in the URL, such as ?accordionIndex=2. It already will read cookies to do this, so adding the reading of a GET should be pretty easy. Okay, so I haven't figured it out

[jQuery] Re: Best practices for including Jquery

2008-08-25 Thread GasGiant
I load site wide code in the head, but since the header is an include file that is the same for every page, I also use .getScript() to load page specific code for forms, plug ins, etc. where they are needed. I put the page content in a div with an id element specific to that page and only load

[jQuery] Re: Jquery Ajax usage question

2008-08-25 Thread GasGiant
Have you tried using the callback methods for adding the events to the Ajax-inserted markup? See .ajaxStop(), etc.

[jQuery] Re: Appreciation

2008-08-25 Thread GasGiant
I'll second this. Good group, here. Don't get old and cranky. If you get sick of answering our noob questions here you can flame the javascript lists to get it out of your system ;-) On Aug 24, 8:54 pm, john6630 [EMAIL PROTECTED] wrote: As a newbie, I want to express my appreciation to the code

[jQuery] Re: How do I cache a page once it has been loaded via AJAX?

2008-08-24 Thread GasGiant
When I am loading content for view as things are clicked or expanded, I just hide the content until it is ready to be viewed, then toggle it into view.

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread GasGiant
Have you tried placing your effects code inside .ajaxStop()? Code inside it does not fire until the AJAX request is complete. http://docs.jquery.com/Ajax/ajaxStop#callback

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread GasGiant
Maybe put the ton of code in a function so you'll only need the function call inside of your callbacks? On Aug 21, 11:35 am, DMS [EMAIL PROTECTED] wrote: Well, not everything uses AJAX... and there is a ton of code that would be really messy to mix inside some of the ajax calls...  Some of it

[jQuery] Re: calling functions inside pages loaded by AJAX

2008-08-20 Thread GasGiant
I use the .ajaxStop() to load functions for the markup inside of the AJAX delivered parts. On Aug 20, 1:48 pm, gregg [EMAIL PROTECTED] wrote: I have an application which uses JQuery to load an HTML page through AJAX. I have logic, implemented as javascript functions, inside the page being

[jQuery] Re: calling functions inside pages loaded by AJAX

2008-08-20 Thread GasGiant
http://docs.jquery.com/Ajax/ajaxStop#callback

[jQuery] Re: $(this) is powerful, but is it a member of the family?

2008-07-25 Thread GasGiant
Yes! I was testing next() just as you replied. Thanks, it works. I can now grab a group of ID elements (hid1, hid2, ...) and fire the toggle on just the one that is clicked. Sweet. $('[EMAIL PROTECTED]').click(function() { $(this).next().toggle();

[jQuery] $(this) is powerful, but is it a member of the family?

2008-07-25 Thread GasGiant
I have two jQuery books and scant coverage of $(this) between them. I need to know if $(this) has parents, children and siblings, and if so how to access them. Here's why... I have a page with six one-line forms on it. I put the forms in divs and hide the divs on page load based on the class of