[jQuery] SildeDown and table rows.

2009-03-28 Thread Jsbeginner
Hello, I'm trying to use the jquery slidedown function with table rows but it does not work as jquery defines them with display:block which places the whole row in the first colomn and makes the whole table layout go wrong ... Do you have any suggestions how to get around this ? Here's my

[jQuery] Redirect to anchor after form submit

2009-03-28 Thread Jsbeginner
Hello, I've got a simple form with a return false function to stop it being submitted as I use ajax to update it. However I've come accross a functional problem : if the user's screen is to small and he has not scrolled down enough then he doesn't see the search results and gets the

[jQuery] Re: Redirect to anchor after form submit

2009-03-28 Thread Jsbeginner
I've just found this plugin that seems to work fine and the minified version is only 2 kb ... : http://flesler.blogspot.com/2007/10/jqueryscrollto.html Is this the best way ? Thankyou. Jsbeginner a écrit : Hello, I've got a simple form with a return false function to stop it being

[jQuery] Detect when all ajax queries launched by for have finished

2009-03-25 Thread Jsbeginner
Hello, I've got a script that takes all the elements of a list and on click of a button it runs an ajax query for each item. It all works fine however I would like to have a searching message during the search and a finished message after the search has finished, but I can't think how to

[jQuery] Best way to select dom element ? (find or children ?)

2009-03-19 Thread Jsbeginner
Hello, I'm trying to get the value of an option in a select list contained in a different li item... Here is the html code : ul lipselect class=test1 option value=1 selected=selectedOption 1/option option value=2Option 2/option /select/p/li lipselect class=test2 option value=3Option

[jQuery] Re: Toggle Help

2009-03-17 Thread Jsbeginner
Hello, maybe I've got this wrong but when I tested the toggle function I don't think I needed the .click function... Try this : script type=text/javascript $(document).ready(function(e){ $('a.typeswitch').toggle( function () {

[jQuery] Re: Toggle Help

2009-03-17 Thread Jsbeginner
I almost forgot in my last message, don't forget the return false; if you don't want your link to lead anywhere ... Something like this : script type=text/javascript $(document).ready(function(e){ $('a.typeswitch').toggle( function () {

[jQuery] Re: Simple toggle between slide up slide down and changing paragraph html contents not working...

2009-03-14 Thread Jsbeginner
div class=item/ span class=item/ $(.item).each() will execute twice with this being the DIV then the SPAN. Jsbeginner wrote: Hello again, I've been continuing my search and it seems that the .each function is not working the way I wanted it to... From what I've understood $(.item).each

[jQuery] Re: Simple toggle between slide up slide down and changing paragraph html contents not working...

2009-03-13 Thread Jsbeginner
with $(this) being the same as $(.item). How would I go about running a function on each element ? would I have to do something with a counter an the next function to achieve this ? or is there an easier way ? Thankyou. Jsbeginner wrote : Hello, I've been struggling with a very simple code that I can't

[jQuery] Simple toggle between slide up slide down and changing paragraph html contents not working...

2009-03-12 Thread Jsbeginner
Hello, I've been struggling with a very simple code that I can't get to work ... Simplified html : ul li pItem 1p p class=toggleHidden contents 1/p pa href=# class=downClick to show/a/p /li li pItem 2p p class=toggleHidden contents 2/p pa

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-21 Thread Jsbeginner
Thanks, I haven't tested it much yet but it seems to have solved the problem :) ricardobeat a écrit : set cache: false in your $.ajax call to disable cacheing of responses. You can also add a random query parameter to the URL if that doesn't work. - ricardo On Feb 20, 8:53 am, Jsbeginner

[jQuery] Re: Ajax tabs in non JavaScript browsers

2009-02-21 Thread Jsbeginner
You can use PHP or most other languages to manage your tabs. For example you could do something like this : tab links : http://yoursite.com?t=1 For tab 1 http://yoursite.com?t=2 For tab 2 http://yoursite.com?t=3 For tab 3 and an simple PHP code : ?php if($_GET['t'] == 3){ ? h2This is tab3

[jQuery] Jquery Ajax one request, multiple answers problem

2009-02-20 Thread Jsbeginner
Hello, I've been working on a jquery projet (with the lastest stable version of jquery) that retrieves information using json from a php script that requests information from an API. The script lists all the different extensions with a status colomn that says what it's doing (waiting,

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread Jsbeginner
, 1:53 am, Jsbeginner jsbegin...@monarobase.net wrote: Hello, I've been working on a jquery projet (with the lastest stable version of jquery) that retrieves information using json from a php script that requests information from an API. The script lists all the different extensions

[jQuery] Horizontal menu with slide down and hover bug with firefox

2008-12-07 Thread Jsbeginner
Hello, I've been looking for a way to make my horizontal menu work with firefox using jquery slideDown and Up animations instead of fadeout . The problem is that with firefox if you move the mouse out of the sub menu area and then in again before the animation had finished the sub menu

[jQuery] Re: Firefox problems ( with input reg. exp. verification).

2008-11-20 Thread Jsbeginner
#domain').keyup(function(){ var domain = $(this).val(); var reg = /^([a-z0-9]+(\-?\.?[a-z0-9]*)){2,63}\.([a-z]){2,4}$/i ; if (reg.test(domain)) { $(#ok).html(Correct format ...); } else { $(#ok).html(Wrong format .../p); } }); }); 2008/11/19 Jsbeginner

[jQuery] Re: Firefox problems ( with input reg. exp. verification).

2008-11-20 Thread Jsbeginner
) { $(#ok).html(Correct format...); } else { $(#ok).html(Wrong format...); } }); }); Rik 2008/11/20 Jsbeginner [EMAIL PROTECTED]: Your code is alot better than mine and the use of test instead of match is better too. However I still have the same problem, even with your

[jQuery] Firefox problems ( with input reg. exp. verification).

2008-11-19 Thread Jsbeginner
Hello, this is my first topic here, so I hope that I'm doing the right. I've done a search on google and on this forum without finding anyone with the same problem as me, but maybe I'm not looking for the right keywords. Here is my problem : I've created a very simple script that checks if a