[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread [EMAIL PROTECTED]
thanks Ⓙⓐⓚⓔ wrote: http://jquery.glyphix.com/ the debug plugin! off http://docs.jquery.com/Plugins the main plugins page. On 5/12/07, [EMAIL PROTECTED] * <[EMAIL PROTECTED] > wrote: Can you point me to the plugin please? Ⓙⓐⓚⓔ w

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread Ⓙⓐⓚⓔ
http://jquery.glyphix.com/ the debug plugin! off http://docs.jquery.com/Plugins the main plugins page. On 5/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Can you point me to the plugin please? Ⓙⓐⓚⓔ wrote: console.log( $("p.jhide")) would show the p that just got hid, if it really foun

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread [EMAIL PROTECTED]
Can you point me to the plugin please? Ⓙⓐⓚⓔ wrote: console.log( $("p.jhide")) would show the p that just got hid, if it really found a there are lots of commands in firebug, and even a plugin on the jquery site to make it easier. On 5/12/07, [EMAIL PROTECTED] *

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread Ⓙⓐⓚⓔ
console.log( $("p.jhide")) would show the p that just got hid, if it really found a there are lots of commands in firebug, and even a plugin on the jquery site to make it easier. On 5/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: So, to help me out, if i have the following code: $(doc

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread [EMAIL PROTECTED]
So, to help me out, if i have the following code: $(document).ready(function() { $("span.email").each(function(){ $(this).html( $(this).html().replace("","@") ); }); $("p.jhide").hide(); }); Where and how would i use console.log(anything) to see what's going wrong? Fahed Ⓙⓐⓚⓔ wrote: john's t

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread Ⓙⓐⓚⓔ
john's trick should do the job with .html or .text On 5/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The actual html reads someonesomehwerecom Fahed Ⓙⓐⓚⓔ wrote: jake home renders as < div>jake home for me in firefox 2. I guess the just gets ignored when re-inserted with

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread Ⓙⓐⓚⓔ
firebug is a great add-on for firefox, you get to add console.log(anything) into your code, and when your code faults, it's very easy to see what's gone wrong http://getfirebug.com On 5/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I meant so say, "How would someone debug jquery code?"

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread [EMAIL PROTECTED]
I meant so say, "How would someone debug jquery code?" [EMAIL PROTECTED] wrote: Thanks for the fast responses. Is that supposed to read: $(this).html( $(this).html() I've stuck the same code block offered by John into $(document).ready(function() { } Nothi

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread [EMAIL PROTECTED]
The actual html reads someonesomehwerecom Fahed Ⓙⓐⓚⓔ wrote: jake home renders as < div>jake home for me in firefox 2. I guess the just gets ignored when re-inserted with .html() Not too bad! On 5/12/07, *John Resig* <[EMAIL PROTECTED] > wrote:

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread [EMAIL PROTECTED]
Thanks for the fast responses. Is that supposed to read: $(this).html( $(this).html() I've stuck the same code block offered by John into $(document).ready(function() { } Nothing's happening! Its not even hiding the .jhide? How would some jquery code? Fahed John

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread Ⓙⓐⓚⓔ
jake home renders as jake home for me in firefox 2. I guess the just gets ignored when re-inserted with .html() Not too bad! On 5/12/07, John Resig <[EMAIL PROTECTED]> wrote: $("span.email").each(function(){ $(this).html( $(this).html().replace("","@") ); }); $("p.jhide").hide();

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread John Resig
$("span.email").each(function(){ $(this).html( $(this).html().replace("","@") ); }); $("p.jhide").hide(); Not too bad! --John On 5/13/07, fambizzari <[EMAIL PROTECTED]> wrote: I started using jquery a month or two ago and i've spent the time since then working on non js content. I've now c

[jQuery] Re: The problem with jquery!!!

2007-05-12 Thread Ⓙⓐⓚⓔ
You can do it , but it's messy! $("span.email").text() does not include the $("span.email").html() might, but there might be an extra generated somewhere in the dom, On 5/12/07, fambizzari <[EMAIL PROTECTED]> wrote: I started using jquery a month or two ago and i've spent the time since th

[jQuery] The problem with jquery!!!

2007-05-12 Thread fambizzari
I started using jquery a month or two ago and i've spent the time since then working on non js content. I've now come to do something really basic and i'm really struggling how to do it with jquery. I guess that is the problem with "changing the way that you write JavaScript". Anyhow, i won't be

[jQuery] Re: partially loaded ajax callback

2007-05-12 Thread Ⓙⓐⓚⓔ
I added it to my jquery branch http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js What happens now??? On 5/11/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: added to the bug tracker, http://dev.jquery.com/ticket/1172 On 5/10/07, Mike Alsup < [EMAIL PROTECTED]> wrote: > > > Cool! I

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-12 Thread Ⓙⓐⓚⓔ
Thanks Mario, I put it up in the plugins directory of the svn. http://jqueryjs.googlecode.com/svn/trunk/plugins/letters/ On 5/12/07, Mario Moura <[EMAIL PROTECTED]> wrote: Amazing, Thanks a lot, should be in Jquery Plugins page, Regards Mario 2007/5/12, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]>: > > thanks

[jQuery] DOM friendly link creation

2007-05-12 Thread Gordon
I had previously written a javascript that scans a div inside a HTML document for keywords and then wraps those words in hyperlinks, as part of adynamic help system. This worked by modifying the innerHTML of the div in question. This approach worked but had a few problems, namely that you had to

[jQuery] Re: random images

2007-05-12 Thread Rodrigo Castilho Galvão Ferreira
Initiating in 1 at "totalNum" for example: var rndNum = (Math.floor(Math.random() * totalNum)+1); -- Rodrigo Castilho Galvão Ferreira www.rodrigocastilho.com On 5/12/07, Glen Lipka <[EMAIL PROTECTED]> wrote: I have pick random images for a background like this: var totalNum = 4; //the

[jQuery] Re: validate plugin + form plugin + thickbox

2007-05-12 Thread [EMAIL PROTECTED]
Gahh...I just fixed it. Apparently, when the validator script tries to focus on a field in a form that is hidden with display: none, ie throws some script error, and stops scripting. I can't believe how long it took to find that out. It was easy enough to position the form that was m

[jQuery] Re: random images

2007-05-12 Thread Ⓙⓐⓚⓔ
I just got set up on SVN to do that!!! I've got several cool utilitarian plugins and a ajax patch for partial status reporting, I would be cooler than a whirling gif! On 5/12/07, Glen Lipka <[EMAIL PROTECTED]> wrote: I have pick random images for a background like this: var totalNum = 4; //t

[jQuery] Re: random images

2007-05-12 Thread Glen Lipka
I have pick random images for a background like this: var totalNum = 4; //the total number of images in a folder. var rndNum = Math.floor(Math.random() * totalNum); $("div#header").css("background-image","url(myimage" + rndNum + ".gif)"); But this assumes you have a set of images with a nami

[jQuery] Re: random images

2007-05-12 Thread Ⓙⓐⓚⓔ
you can see some random images, and reading them from a folder, on my dog Junior's site! http://jpassoc.com/junior All plug-in quality. On 5/12/07, Sharique <[EMAIL PROTECTED]> wrote: I want to show random images from a folder. How I can do this? Sharique -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪ

[jQuery] random images

2007-05-12 Thread Sharique
I want to show random images from a folder. How I can do this? Sharique

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-12 Thread sithram
Thanks Tony and Mike for your help, but I continue with the same problem after your indications. If I don't use ajax to send data (I mean I use normal submit) the ASP page of the server works fine and insert information with the correct characters. Regards, Xavier On 12 mayo, 15:39, "Mike Alsu

[jQuery] Re: validate plugin + form plugin + thickbox

2007-05-12 Thread oscar esp
I dont know if my problem has any relation (I am using form & validate pluggin) - I have a form with a submit button. (Submit button call a asp page to save all fields) - I have next code: jQuery('#seccionesForm').submit(function() { var options = { beforeSubmit: preSubmitSeccion, // pre-su

[jQuery] Re: validate plugin + form plugin + thickbox

2007-05-12 Thread [EMAIL PROTECTED]
Alright, after realizing that everything works perfectly well outside of the thickbox, it seems that that is the problem. I guess the question becomes, how do I load the form validation plugin and the forms plugin for an ajax submitting form within a thickbox. Thanks again, Chaim

[jQuery] validate plugin + form plugin + thickbox

2007-05-12 Thread [EMAIL PROTECTED]
Hi Everyone, I had an earlier problem that I asked about a couple days ago, turns out it was just formatting bugs, but now I have a couple more. Here's the problem: I'm trying to use the form plugin, the validate plugin, and thickbox together. The thickbox window has the form in it, which is load

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-12 Thread Mike Alsup
You just need to decode the UTF on the server. JavaScript uses UTF-8 for encoding. You don't want to send the unencoded data, that defeats the whole point of encoding. Mike function showFORM(formData, jqForm, options) { var queryString = $.param(formData); qs=queryString.split('&')

[jQuery] Re: a problem with $.each() function

2007-05-12 Thread Emil Ivanov
The $.each function iterates over a collection, for example array. (http://docs.jquery.com/JavaScript#.24.each.28_obj.2C_fn_.29) It works because in javascript (without IE, ofcourse) object can be threated as associative arrays. If what you want is to iterate through children use $(document).each

[jQuery] Re: Download indicator

2007-05-12 Thread Emil Ivanov
http://www.ajaxload.info/ Try this address. Here you'll find a nice web2.0 generator. It's very cool. Regards, Emil Ivanov On May 12, 3:01 pm, wyo <[EMAIL PROTECTED]> wrote: > My gallery including size fitting now works mosty (except with Firefox/ > SeaMonkey) but I need to have a download indi

[jQuery] Download indicator

2007-05-12 Thread wyo
My gallery including size fitting now works mosty (except with Firefox/ SeaMonkey) but I need to have a download indicator to show when the download takes a little longer. I've seen Thickbox uses a "loadingAnimation.gif". Is there a general available download indicator which I could use? Is this a

[jQuery] Re: tabs 2.7

2007-05-12 Thread Klaus Hartl
oscar esp wrote: 1)I am using some plugins to build a page. 2)I am using jQuery.noConflict(); I have a a page that works fine using: validatorr, metada plugins. However when I use a tabs 2.7 plugin in order to load that page into a tab a error is produced Microsoft JScript runtime error: 'jQ

[jQuery] a problem with $.each() function

2007-05-12 Thread Guapo
when i write $(document).ready(function(){ $.each(document,function(k,v){ document.writeln(k+""+v+"); }); }); it works ,but when i change the document to window,as follows $(document).ready(function(){ $.each(window,function(k,v){ documen

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-12 Thread Mario Moura
Amazing, Thanks a lot, should be in Jquery Plugins page, Regards Mario 2007/5/12, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]>: thanks Bill, Like any piece of new code, there are bound to be bugs... click works better here than toggle, so : http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> http://www.w3.org/199

[jQuery] tabs 2.7

2007-05-12 Thread oscar esp
1)I am using some plugins to build a page. 2)I am using jQuery.noConflict(); I have a a page that works fine using: validatorr, metada plugins. However when I use a tabs 2.7 plugin in order to load that page into a tab a error is produced Microsoft JScript runtime error: 'jQuery' is undefined

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-12 Thread Tony
Maybe you shuld use a option 'contentType' in the $.ajax function, or simple use $.ajaxSetup to setup ISO-8859-1 charset. See documenttation of jQuery how to do that. Regards Tony

[jQuery] Re: $.load() not working as it should after submitting a form

2007-05-12 Thread Lion29
Actually I figured it out :) it was a problem with a js script on my form (farbtastic) I am now using getScript and it all works great ;) htnaks for your time!

[jQuery] $.load() not working as it should after submitting a form

2007-05-12 Thread Lion29
Hello! I have a problem with dynamically loaded pages. If I load a page into a div like this: $('#my_content').load(page, null, function(){ top.console.debug('LOADED ADD FORM'); $('#OrderAddForm').submit(function(){ formSubmit(this.id, 'Shranjujem naročilo');