[jQuery] Need help: "Access to restricted URI denied" error, but code should be on same host

2008-07-19 Thread Stephen
Dear Jquery list, I've read about this "Access to restricted URI denied" error before, but I do not understand why it is happening to me. I have a PHP file sitting on http://vgmworld.com/specialorder/specialorder.php that makes an AJAX post call to a file also sitting on the same host at http://v

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-19 Thread spicyj
encodeURIComponent("dog cat horse whale")

[jQuery] [Validate] Maximum call stack size exceeded.

2008-07-19 Thread Steffan A. Cline
Jörn, Ok, I am not sure which lib is causing the error. I am using the latest of jQuery and Validate. I get the console error "Maximum call stack size exceeded." This appears in the error pane of Coda which uses WebKit for rendering. Below is the code in my if it helps track the issue down. $.v

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-19 Thread intrader
Disable the form elements you don't want submitted. On Jul 19, 3:07 pm, Micky Hulse <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on a search form where I need to convert the spaces of > the submitted data (using GET form method) to +... > > For example: > > Search term: dog cat horse wha

[jQuery] Re: Problem with long request

2008-07-19 Thread k8
I have need that the content of the manually loaded page bot.php or, not when he is ended the execution of the file bot.php clearly? On 19 Lug, 19:21, Ariel Flesler <[EMAIL PROTECTED]> wrote: > $(window).load(function(){ >$("#content") > .append("Connessione in corso..") >

[jQuery] Re: Contiunuous Scrolling

2008-07-19 Thread juro
Ok, I have been trying to get this to work but somehow I am missing something elementary. This is my code at the moment: Showcase serialScroll *{margin:0;padding:0;} div.mask{height:50px;width:100px;background:#ccc;} div.prev{height:20px;width:20px;b

[jQuery] Re: Need help: "Access to restricted URI denied" error, but code should be on same host

2008-07-19 Thread Stephen
I solved my problem. My server side PHP program used "echo" when "return" should have been used. Sorry for the bother. On Jul 19, 11:03 am, Stephen <[EMAIL PROTECTED]> wrote: > Dear Jquery list, > I've read about this "Access to restricted URI denied" error before, > but I do not understand why

[jQuery] Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-19 Thread Micky Hulse
Hi, I am working on a search form where I need to convert the spaces of the submitted data (using GET form method) to +... For example: Search term: dog cat horse whale would be Search term: dog+cat+horse+whale Any tips for doing this using jQuery? Additionally, is there a good way (usi

[jQuery] LightBox (or Modal) with ajax response from a POST type

2008-07-19 Thread pedalpete
I've been trying this a while using multiple types of lightboxes, as well as jqm - modal (and another modal but I can't remember what it was called). I have an ajax page that I retrieve with [code] $.ajax({ type: "POST", url: "add.php", data

[jQuery] Solved Re: Need help: "Access to restricted URI denied" error, but code should be on same host

2008-07-19 Thread Stephen
Hi, I got this working after examining my code more closely. I committed multiple errors on both the client and server-side that needed to be fixed. Sorry for the bother. -Stephen

[jQuery] Re: Contiunuous Scrolling

2008-07-19 Thread juro
Cool, that looks very much like what I need. Thank you! Ariel Flesler wrote: > You can try SerialScroll > http://flesler.blogspot.com/2008/02/jqueryserialscroll.html > > There's a snippet to setup constant scrolling. > > -- > Ariel Flesler > http://flesler.blogspot.com/

[jQuery] Re: .click with confirm coming up multiple times

2008-07-19 Thread hubbs
I think I figured this out. I needed to unbind the click event each time a new link is clicked, so: $("a.test").click(function() { var location = $(this).attr("rel"); $("#test2").unbind('click'); $("#test2").click(function() { var answer = confirm("Are you sure you want to d

[jQuery] Re: Navigation scrolling

2008-07-19 Thread Karl Swedberg
On Jul 19, 2008, at 2:42 PM, nbchip wrote: Keep in mind that this isn't going to work in IE6. For that, you'll have to resort to some other tomfoolery. Thx. Its not such an important feature, but still if u find out the way for making it work in IE let me know. you could take a look at t

[jQuery] Re: "Uncompressed", "Minified and Gzipped" and "Packed"

2008-07-19 Thread Jeffrey Kretz
Actually, IE 6.0 SP1 has some issues with GZipping. The problem is that it occasionally doesn't read the entire stream and is unable to properly unpack the file. It was fixed in IE 6.0 SP2. The server-side gzip code I used looks for IE6 SP1 to determine whether or not it should gzip it.

[jQuery] Re: attr(style: ) vs. css

2008-07-19 Thread Geir
Thanks!

[jQuery] Re: Navigation scrolling

2008-07-19 Thread nbchip
> Keep in mind that this isn't going to work in IE6. For that, you'll > have to resort to some other tomfoolery. Thx. Its not such an important feature, but still if u find out the way for making it work in IE let me know.

[jQuery] Re: Rapid mouse click, stopping animation queue

2008-07-19 Thread anthonyb
So Im still having some issues getting this to work exactly how I want it to. Still very much a beginner at jQuery so please bare with me. Right now here is the current javascript that I have controlling my html $(".ipsum").css({ display: "none" }); $(".show").hover(func

[jQuery] Re: Navigation scrolling

2008-07-19 Thread nbchip
> Keep in mind that this isn't going to work in IE6. For that, you'll > have to resort to some other tomfoolery. Thx. Its not such an important feature, but still if u find out the way for making it work in IE let me know.

[jQuery] Re: jQuery animate (help needed)

2008-07-19 Thread Geir
Ok, this is what I've done so far.. ( I need to fix: 1. Stop the animation when in/out 2. Proper queuing 3. Getting everything back to start-position (remove style?) .. see the comments) $(document).ready(function(){ $('#K_meny li').hide(); });

[jQuery] Re: passing parameters to new Function as array... possible?

2008-07-19 Thread Ariel Flesler
I think your confusing something. If you want to call a function with certain arguments from an array you do: var args = [ 1, 2, 3 ]; var sum = function( a, b, c ) { return a + b + c; }; sum.apply(this, args); // --> 6 If you want to create a function and specify the named arguments with an arr

[jQuery] Re: Problem with long request

2008-07-19 Thread Ariel Flesler
$(window).load(function(){ $("#content") .append("Connessione in corso..") .load("bot.php"); }); If you don't need to wait for window.onload, then you can replace the first line for $().ready(function() { Cheers -- Ariel Flesler http://flesler.blogspot.com/ On 18 jul

[jQuery] xml data parse to ms accessdatabase using jdbc dynamically

2008-07-19 Thread Kiran
hi all, I am unable to write a java code for parsing the data from xml data file to msaccess please help me a example code for this. - kiran

[jQuery] Re: jQuery.ajax():success(data) - data truncated on IE, not FF, when using gzip

2008-07-19 Thread Alexsandro_xpt
Are you send the correct headers? Like: Content-Encoding:gzip Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre- check=0 Pragma:no-cache Content-Length:396(in bytes) Content-Type:text/xml And Attention: IE 6 has a bug working gzip with cache control headers like that: Expires

[jQuery] Re: Create a class on run-time?

2008-07-19 Thread Ariel Flesler
You mean, (1) add a class to an element, or (2) create css set of rules ? if (1): check the docs (docs.jquery.com). if(2): jQuery.Rule could be the solution http://flesler.blogspot.com/2007/11/jqueryrule.html -- Ariel Flesler http://flesler.blogspot.com/ On 18 jul, 19:13, Evert <[EMAIL PROTECTE

[jQuery] Re: using the load method in Firefox

2008-07-19 Thread Ariel Flesler
Better read this: http://docs.jquery.com/FAQ#Why_do_my_events_stop_working_after_an_Ajax_request.3F -- Ariel Flesler http://flesler.blogspot.com/ On 18 jul, 20:18, asle <[EMAIL PROTECTED]> wrote: > You may look into livequery.http://brandonaaron.net/docs/livequery/ > Alle javascript on the loade

[jQuery] Re: attr(style: ) vs. css

2008-07-19 Thread Ariel Flesler
Yes, (2) is cleaner than (1) IMO. (3) isn't synchronous and requires additional proccessing (bad). -- Ariel Flesler http://flesler.blogspot.com/ On 19 jul, 05:54, Geir <[EMAIL PROTECTED]> wrote: > Hi all! > > What's the difference between: > > 1. attr(style: "prop./val.") > 2. css({prop./val.})

[jQuery] Re: Contiunuous Scrolling

2008-07-19 Thread Ariel Flesler
You can try SerialScroll http://flesler.blogspot.com/2008/02/jqueryserialscroll.html There's a snippet to setup constant scrolling. -- Ariel Flesler http://flesler.blogspot.com/ On 19 jul, 07:03, juro <[EMAIL PROTECTED]> wrote: > Hi and thank you for your response. So you are suggesting to sc

[jQuery] UI Tabs - closable tabs

2008-07-19 Thread R. Rajesh Jeba Anbiah
[FWIW, another follow up for http://groups.google.com/group/jquery-en/browse_frm/thread/b8bd6f7913896b8f/0502d90518a6015f?#0502d90518a6015f] Though the thread says the behavior is fixed, it's still buggy... Steps to reproduce: 1. Add about 5 new tabs 2. Choose any one of "Close me" tab and click

[jQuery] jQuery.ajax():success(data) - data truncated on IE, not FF, when using gzip

2008-07-19 Thread Rene Veerman
Hi. There seems to be a problem with IE reading gzipped content. If on the PHP end i gzip the data, my data var in success() of jQuery.ajax({}) is truncated and thus unusable. If i dont use gzip then all is fine, i get the full data. Has anyone else experience with IE barfing on gzipped content?

[jQuery] Re: "Uncompressed", "Minified and Gzipped" and "Packed"

2008-07-19 Thread Richard D. Worth
On Sat, Jul 19, 2008 at 12:55 AM, fambi <[EMAIL PROTECTED]> wrote: > > 1. How is browser support for un-gzipping javascript (and css for that > matter)? I heard, once upon a time, that there were issues... is that > once upon a time? Modern browsers support gzip across the board. Even not-at-all

[jQuery] Re: autocomplete pass extraparams with value of another autocomplete

2008-07-19 Thread Jörn Zaefferer
Try this successor to Dylan's plugin: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Then use a function for the extraParam option: extraParams: { city: function() { return $("#city").val(); } } Jörn On 7/18/08, emeade <[EMAIL PROTECTED]> wrote: > > I have 2 autocomplete f

[jQuery] Adding click handlers in a loop

2008-07-19 Thread edeology
What I'm trying to achieve is build a table programmatically using DOM like so: var Html = []; Html.push(' . ') . Html.push('') Inside the table I'm adding rows using a for loop like so: for (var index = 0; index < length; index++) { Html.push('..'); .. } And ins

[jQuery] Maintain state in plugin

2008-07-19 Thread Jonty
I'm writing my own plugin that can be applied to various elements on the page. Each instance of the plugin needs to maintain its own state and this state needs to be "visible" to other plugins. Whats the best approach to achieve this?

[jQuery] Re: Taconite support effects?

2008-07-19 Thread Alexsandro_xpt
So, I can do something with setTimeout() method. Like this: jQuery.fn.fadeInOneByOne = function() { var $this = this, count = this.length; fadeInElement(0); function fadeInElement(i) { var el = $this[i];

[jQuery] Re: "Uncompressed", "Minified and Gzipped" and "Packed"

2008-07-19 Thread fambi
1. How is browser support for un-gzipping javascript (and css for that matter)? I heard, once upon a time, that there were issues... is that once upon a time? 2. Also, Richard, what do you mean by "If you don't want to worry about ***correctly** gzipping your source files"? Thanks On J

[jQuery] attr(style: ) vs. css

2008-07-19 Thread Geir
Hi all! What's the difference between: 1. attr(style: "prop./val.") 2. css({prop./val.}) and 3. animate({prop.val.}, 0) Are all the changes set in the html inline-style? Thanks! Reference for my question: http://groups.google.com/group/jquery-en/browse_thread/thread/10ce43d5f882b642?hl=en

[jQuery] Re: Can't get the selection range from the body.

2008-07-19 Thread Marcus Eby
Thanks Ariel. Marcus On Jul 16, 6:24 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > You can access the document object of an iframe with jQuery: >    var doc = $('iframe').contents().get(0); > > That SHOULD be enough. > From there.. you get a bifurcation depending on the browser you're at. > > -

[jQuery] Re: How can I downlod that jQuery Ipod Drilldown menu?

2008-07-19 Thread storm
I emailed them asking the same thing. No response as yet (3 days later). On Jun 25, 10:17 am, MorningZ <[EMAIL PROTECTED]> wrote: > "Some one can help me please?" > > Why not use the "Contact Us" link on the top right and ask them?

[jQuery] Re: JTemplates site gone ?!

2008-07-19 Thread Jack Killpatrick
Interesting that you had problems in IE. We've been using it for some IE6-specific stuff for a while with no problems, FWIW. Even though the project doesn't see much action, we haven't noticed any bugs (with a lot of heavy use) and there haven't been any features we wish the author would get