[jQuery] Re: security advice

2007-06-05 Thread Michael Stuhr
Alexandre Plennevaux schrieb: That's a rather vague question, hence my vague answer :) i know :-) thanks anyway. Michael Price schrieb: Hi Michael, [...] thanks for your detailed answer. i think what i really was after, was a small 'framework' that does the thing for me. i can include i

[jQuery] Re: Weird IE behavior - need help

2007-06-05 Thread Karl Rudd
Part of the problem (the flickering cursor) is due to IE doing it's cache checks on changes in background images. To fix that put this at the top of one of your jQuery scripts: if ( $.browser.msie ) document.execCommand("BackgroundImageCache", false, true) Karl Rudd On 6/5/07, devsteff <[EMAIL

[jQuery] Re: security advice

2007-06-05 Thread Michael Price
Hi Michael, On my website I have a lot of pages called via AJAX, some of which are quite sensitive (private messages, user submission data etc.). At the top of every page I have a PHP include which, as well as opening the database connection etc., also includes code to check and authenticate a

[jQuery] Weird IE behavior - need help

2007-06-05 Thread devsteff
Hi jQuery community, I've written a complex jQuery table plugin wich supports different selection models (single, multiple, exclusive), nested/hierarchical tables (like a tree) etc. Everything works well, but now - while the application goes testing by some clients - I stumbled by an very ugly p

[jQuery] Re: security advice

2007-06-05 Thread Alexandre Plennevaux
That's a rather vague question, hence my vague answer :): have your php script called via ajax check for the user authentication session before performing the request. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: mardi 5 j

[jQuery] Re: Find set of questions

2007-06-05 Thread SamCKayak
I am learning, I am learning... I missed the subtle difference in the documentation: $('a, b') and $('a', 'b') !!! The way to filter my list is using a function.. like so: ('ol.ol1 > li').filter( function() { return $('li.correctchosen', this).length != 0 } ) // Filters the first set dow

[jQuery] Re: dynamic jdMenu help

2007-06-05 Thread Brian Miller
My guess is that it's a "behaviors" issue. The jdMenu plugin expects the list to already be there when it runs, and it attaches a bunch of events. IF you add stuff to the DOM afterwards, those events don't get attached unless you run the plugin again on the list. Of course, you probably would w

[jQuery] security advice

2007-06-05 Thread Michael Stuhr
hi list, i'd like to have some opinions on how one should/can secure an ajax application/backend (preferred server language PHP). every hint/link appreciated micha

[jQuery] Keeping a div of controls and stats in Viewport

2007-06-05 Thread SamCKayak
Anyone have a jQuery-esque method of keeping a DIV of information (or controls) in the viewport when the window has vertical scrolling? Sam

[jQuery] OK, why does *this* function kill Interface Drag/Drop?

2007-06-05 Thread dennis
New to javascript. New to jQuery. I've hit the wall. Interface Drag/Drop works, my search photos by tags works. Add/delete images to/from database works. All work as separate pieces. But when I try to add my search ajax function to same page where drag/drop stuff resides, the latter stop working.

[jQuery] toggle() append: how to?

2007-06-05 Thread Alexandre Plennevaux
hello jQ-zillos ! i have a list of links organised in subsections, and i would like to modify each section title, adding to it a value provided by the link. Clicking on another link should reset the section title and append it with the new link 's value. I'm puzzled on how to code this effic

[jQuery] Re: Delete a table row with JQuery

2007-06-05 Thread Tony
infosoft написа: > Hi > > I have a table where I browse the records of the database. I > implemented a delete button in each row. When I press this button, I > send an ajax request to the server. If the response is ok, I need to > delete the row of the table that have the data I was deleted. Hi,

[jQuery] Insert option into form select list

2007-06-05 Thread sublimenal
Is it possible to inject an option into a html form select list with ajax? I need to set up a search system and when the user clicks a name it puts that name in the select list as an option. Thanks _Tony

[jQuery] Re: Traversing up the DOM to make a decision (using NOT or otherwise?)

2007-06-05 Thread Karl Swedberg
Nice one, George! Love that use of the .filter() method! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 5, 2007, at 3:21 AM, George wrote: Hi Miro, ideally filtering by parent would go something like this: $("A:not(#form A)").addClass("navAwa

[jQuery] Re: Question about jQuery effects and append method

2007-06-05 Thread Karl Swedberg
:-) right. that's because I was just dropping in radzio's code. I didn't mean for it to work perfectly on my server, just to give him something he could copy and paste. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 4, 2007, at 11:37 PM, John Far

[jQuery] OnChange not fired in Opera

2007-06-05 Thread Diego A.
I developed this plugin... http://www.fyneworks.com/jquery/multiple-file-upload/ and someone has just reported to me that it doesn't work in Opera. I checked and it doesn't work because the onchange event isn't being fired on the file input field. has anyone had a similar problem? Thanks!

[jQuery] Re: Loading additional photos after page load

2007-06-05 Thread Mike Alsup
window.onload was just an example. If you add the images via script then you can run the script whenever you choose. If the images are in the markup then the browser will download them immediately, so you need to remove them from the markup and add them to the DOM when you need them. Mike On

[jQuery] Re: animating with unit '%'

2007-06-05 Thread Erik Beeson
Ah, I've never used the interface version of animate. Sorry about the typo. That's what I get for not testing it :) Glad it helped. --Erik On 6/4/07, JMParsons <[EMAIL PROTECTED]> wrote: I had been using Interface's plug-ins, that's why my markup took on the "style:" versus the non-Interfac

[jQuery] Re: Get the checked status from radio button?

2007-06-05 Thread Erik Beeson
Also: if($('#type_1').is(':checked')) ... --Erik On 6/5/07, howard chen <[EMAIL PROTECTED]> wrote: Using the traditional method, it worka console.debug ( document.getElementById("type_1").checked ); But this one failed... console.debug( $("#type_1").checked ); any method to get using

[jQuery] Re: jquery Form enctype="multipart/form-data" problem

2007-06-05 Thread Mike Alsup
Sure. Add an "iframe" option to your form options and it will force the iframe-mode of submitting the form (which uses multipar/form-data). var options = { iframe: true, // other options... }; $('#myForm').ajaxForm(options); Mike This is generating a server side error. It seems that

[jQuery] Re: animating with unit '%'

2007-06-05 Thread JMParsons
I had been using Interface's plug-ins, that's why my markup took on the "style:" versus the non-Interface markup. The last example got me up to speed quick. I know about the chaining of events, but just couldn't figure out how it was handled, especially in terms of functions. I am using $('html').

[jQuery] Re: Question about jQuery effects and append method

2007-06-05 Thread radzio
Thanks a lot jqModal is what I was trying to do. I don't how I didn't see in on Google. Thanks again Karl. --radzio On 5 Cze, 05:21, Karl Swedberg <[EMAIL PROTECTED]> wrote: > If you just want it to appear when you click a link, then you > probably don't want to append it to the body on document

[jQuery] Re: Get the checked status from radio button?

2007-06-05 Thread Rob Desbois
The difference between your first and second statements is that document.getElementById() returns a DOM object, but $() returns a jQuery object. This will work (although untested): console.debug( $("#type_1")[0].checked ); or this: console.debug( $("#type_1").attr("checked") ); --rob

[jQuery] Get the checked status from radio button?

2007-06-05 Thread howard chen
Using the traditional method, it worka console.debug ( document.getElementById("type_1").checked ); But this one failed... console.debug( $("#type_1").checked ); any method to get using jquery? thanks.

[jQuery] Re: Traversing up the DOM to make a decision (using NOT or otherwise?)

2007-06-05 Thread George
Hi Miro, ideally filtering by parent would go something like this: $("A:not(#form A)").addClass("navAway").click(...) BUT in fact you need to write your own little filter function like this: $("A").filter(function(){ return !$ (this).parents().is("FORM") }).addClass("navAway").click(...

[jQuery] Superfish v1.1 released

2007-06-05 Thread Joel Birch
Hi jQuistadores, I have made some changes to my Superfish menu plugin and probably need to give it a version number. I think the previous version was stable and this version adds a feature so I'm calling this version Superfish v1.1. I don't really know versioning but this should do. Demo

<    1   2