[jQuery] Re: :first relative to clicked element

2009-08-22 Thread Jules
I tested this and it works with FF3.0 and IE 8.0 $(#content).find(blockquote) .hide() .before(h6Click for more.../h6) .end() .find('h5').click(function() { $(this).nextAll('blockquote:first')

[jQuery] Re: Help Add variable to jquery file tree

2009-08-22 Thread 262Rui
This is how i get so far but it still does not work $(document).ready( function() { var contribuinte = $(#cbfv_55).text(); $('#fileTreeDemo_3').fileTree({ root: '/' + contribuinte + '/' , script: 'jqueryFileTree.php' }, function(file) { openLink(file); });

[jQuery] Re: Cursor moves to start position in Opera Autocomplete Plugin

2009-08-22 Thread Jörn Zaefferer
Just released version 1.1, which fixes this issue: http://plugins.jquery.com/node/9879 Jörn On Thu, Aug 20, 2009 at 9:29 PM, juanefrenjuanef...@gmail.com wrote: With the autocomplete plugin and using Opera; When the input value, is not found in the suggestions the cursor moves to the

[jQuery] Re: Help with show hide function

2009-08-22 Thread 262Rui
If your divs are named #workdiv , #whatdiv, etc I would try something like: $('#work').click(function() { $('#workTab').toggle(400); return false; $(div[id!=workdiv]).hide(); $('#workdiv').show(); }); Good luck

[jQuery] Re: handling of click event?

2009-08-22 Thread ak732
Actually this does follow you around everywhere, but it's more like an often changing stray dog than a pet dog. On Aug 22, 1:24 am, Audrey A Lee audrey.lee.is...@gmail.com wrote: I can't expect it to follow me around like a pet dog.

[jQuery] Re: Draggable problem

2009-08-22 Thread ak732
Draggable has an option called 'handle' with which you can specify the element that use used as the drag handle for the draggable. So, something like this... $(#wdw).draggable({handle:$(.title, this)}) ...would make the element w/id wdw draggable, but only by the sub- element w/a classname

[jQuery] Quick check over these few lines ?

2009-08-22 Thread Harri
Hi, I've used a few jquery things before, but I haven't a clue when it comes to javascript, so I've mainly just modified variables here and there. This is my first attempt at actually writing something, and well.its not working :P Im trying to send an ajax post to an external file, which

[jQuery] appended element problem

2009-08-22 Thread za~za
if i append an link to the page the function preventDefault() dont work if i click on it anyone know how to prevent default action of an appended link? html head titlePage title/title script type=text/javascript src=jquery-1.3.2.min.js/script script language=JavaScript type=text/javascript !--

[jQuery] Problem with form validation. Help/Suggestions Appreciated!

2009-08-22 Thread TheGeekster
Please forgive my ignorance on the matter. I've only recently switched from pHp and older JS conventions am not quite used to the varying syntax. Here goes: I am building out new forms for my company and am using jQuery for the form validatin. The form has sets of hidden questions that will

[jQuery] How to have a smooth transition ?

2009-08-22 Thread vishalkhialani
Hi, My aim is to have one div element move up when there is a mouse over and another div element to become visible when the same mouse over effect takes place. I managed to do this you can see the video here http://www.youtube.com/watch?v=kmdx4p_FE4M and the code I used is here

[jQuery] Re: Help with show hide function

2009-08-22 Thread Jacques Choquette - WhistlerGraphicDesign.com
This is what I ending up going with I seriously doubt this is the most efficient / proper way to do this this but it's working anyways script type=text/javascript $(document).ready(function() { // hides the all tabs as soon as the DOM is ready // (a little sooner than page load)

[jQuery] Problems with form validation

2009-08-22 Thread thegeekster2010
Please forgive my ignorance on the matter. I've only recently switched from pHp and older JS conventions am not quite used to the varying syntax. Here goes: I am building out new forms for my company and am using jQuery for the form validatin. The form has sets of hidden questions that will

[jQuery] a question for ajaxStart function

2009-08-22 Thread ATPKING
I use the jquery-1.3.2-vsdoc2.js but when i debugged the code,Visual Studio said Microsoft JScript Run-time error: 'f' undefined, and VS jump to the code jQuery.fn[ajaxStart] = function(callback) { /// summary /// Attach a function to be executed whenever an AJAX

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread MorningZ
One issue that i see right away is this: $(li).each(function(){ $.post(ajax_parser_update.php, {query: $(this).val()}, You are apparently looping through li tags inside that each statement $(this).val() won't work because li is not an object that .val() works against... use

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread brian
I see an error and ... something confusing. The error is that you're using this to refer to the li inside the success handler but it's gone out of scope. Commonly, people will create a var self and assign this to it so as to refer to the proper object inside a deeper scope. The confusing bit is

[jQuery] Re: appended element problem

2009-08-22 Thread brian
That's because the new link has not been bound to the function described in the first part. See here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F Although it's not added through an AJAX request the principle is the same. On Sat, Aug

[jQuery] Re: new site on the sites using jquery list?

2009-08-22 Thread Karl Swedberg
Go for it. It's a wiki, so you just have to sign up with username/ password. There is a 24-hour waiting period before you can post something after you've registered (to help reduce spam). --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 20, 2009, at

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread MorningZ
The confusing bit is that you're instructing jQuery to make an AJAX request for each LI *as the page is loading* That is not true, as inside $(function() { ... ... ... }) the page is already ready, all the li's will be where they should be On Aug 22, 1:41 pm, brian

[jQuery] Re: How to have a smooth transition ?

2009-08-22 Thread vishalkhialani
vishalkhialani wrote: Hi, My aim is to have one div element move up when there is a mouse over and another div element to become visible when the same mouse over effect takes place. I managed to do this you can see the video here http://www.youtube.com/watch?v=kmdx4p_FE4M and the

[jQuery] jQuery handling of URL params?

2009-08-22 Thread Audrey A Lee
Hello, Rails has a hash named params which contains information from my current URL. Does jQuery have something like params? Related question: What is the jQuery-way of getting data out of the current URL? -Audrey

[jQuery] some novice questions

2009-08-22 Thread GaVrA
I have this: http://www.crtaci.info/majice.html which i am loading here and adding some content with jquery: http://www.crtaci.info/index.php?autocom=majice $(function() { $.ajaxSetup ({ cache: false }); var loadUrl = majice.html;

[jQuery] accessing the ajax loaded content

2009-08-22 Thread kknaru
so guys..what i'm trying to do is to acces the content loaded via AJAX but in an other way than by a callback function. i have a div where the data will be loaded via ajax, the data is represented by a list of folders and when i click one of them i want to load then the subfolders...and so on,

[jQuery] Re: some novice questions

2009-08-22 Thread GaVrA
$(function() { $.ajaxSetup ({ cache: false }); var loadUrl = majice.html; $(#majice).load(loadUrl, function(){ $(.tShirt).wrap(div class='majica'/div).after(span style='display:block'Autor: a href='http://www.vizioshop.com/majice/

[jQuery] Re: Draggable problem

2009-08-22 Thread Richard D. Worth
On Sat, Aug 22, 2009 at 12:12 PM, ak732 ask...@gmail.com wrote: Draggable has an option called 'handle' with which you can specify the element that use used as the drag handle for the draggable. So, something like this... $(#wdw).draggable({handle:$(.title, this)}) That's right. But a

[jQuery] Re: Scrolling problem

2009-08-22 Thread Kevin
I kind of founf a way to do it using: jQuery('#mycarousel').jcarousel({start:NewStrt}); The only thing is the images disapear, but pressing the scroll buttons, I can see the dynamic images load in the status bar so it appears it is working, just with now invisible images. Can anyone

[jQuery] Tablesorter: default (not initial) sort order for a column

2009-08-22 Thread Abiel
Using the Tablesorter plugin, I would like to be able to force ascending or descending ordering on a column whenever it is clicked after the table was previously sorted by another column. For example, suppose that at some point in time column A is sorted ascending and then I go and sort by column

[jQuery] jquery form plugin. IE doesnt work

2009-08-22 Thread markstegg...@googlemail.com
Hello, Im using ajaxForm to submit my contact form at futurekode.com: $('#contactForm').ajaxForm(function(data) {} -- This works fine in all browsers except IE7/8. IE error says theres a problem with jquery 1.3.2 and highlights this line: returnsubmit===T.type Could someone take a look at

[jQuery] Which event to use with form elements

2009-08-22 Thread André Hänsel
Hi, is there any event that I can use to trigger an action immediately when a form element is changed? (And similarily when it is changed and then looses the focus.) I think JS does not provide such an event but maybe jQuery provides some kind of virtual event for this case? Regards, André