[jQuery] jQuery AUTOCOMPLETE (by bassistance): submit on click

2010-02-18 Thread jjunior
I'm having a problem with the plugin. Right now, when a user clicks on a list of suggestions from the autocomplete, it takes that selection and puts in the input. The user then has to click again or hit enter to submit the form. It seems that most search forms work on a single click system:

[jQuery] lightbox plugin activating problem

2010-02-18 Thread Carlos Aboim
Hi everyone, I am having a strange inssue on my code. I followed every detail in lightbox plugin (of leandros's) homepage http://leandrovieira.com/projects/jquery/lightbox/ and I'm stuck... When I click on the link image to fire up the presentation, it opens up a kind of 'all page shadow', and

[jQuery] Passing value from function

2010-02-18 Thread Charlie22
Hi all, I have trouble passing value as selector value to other function. $(document).ready(function(){ var id = 'Test'; $('#Name').keyup(function(){ id = '#Mobil'; }); $(id).click(function(){ console.log(id); }); }); I am getting

[jQuery] (treeview) auto collapse on certain folders only

2010-02-18 Thread Khairul
Hi, I've been using treeview for a while now and was wondering, is there a setting or modification that I can use to make only a certain folders collapsed on load? Based on the options available that I read, it only has collapse all, or none. What I want to do is just collapse the very top folder

[jQuery] jquery.autocomplete, setting additional params based on dom element

2010-02-18 Thread Rob Lacey
Hi there, I'm having an awful lot of bother trying to get this working. I want to implement auto completion for a text field as follows input type=text name=user[name] id=user_name class=autocomplete / input type=hidden name=user[id] id=user_id / Currently our application returns a json

Re: [jQuery] jQuery AUTOCOMPLETE (by bassistance): submit on click

2010-02-18 Thread Rob Lacey
I'd imagine you'd want something like this? $('input#query').autocomplete('yoururl',{ . your options . }).result(function(event, item, formatted) { $(this).parents().find('form:first').submit(); }); I hope this helps RobL jjunior wrote: I'm having

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread jordanrynard
Wow, you're absolutely right -- I didn't even bother to try any other browsers as it's just the sort of thing I wouldn't think would be the result of a 'browser issue'. I tested this code in recent versions of IE, Chrome, Opera, and Safari, and it works perfectly. In Firefox 3.5.7 this appears

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread Jonathan Vanherpe (T T nv)
I'm not sure what exactly you're trying to do, maybe if you gave us an explanation of your overall goal we could help you better. There might be other ways to do what you're trying that might not even involve javascript and work everywhere. FWiW, this behaviour is in FF 3.6 too Jonathan

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread jordanrynard
I have just downloaded the latest trunk nightly build for Firefox (Minefield), and this bug has been fixed in this version. So now I just have to wait for it to be released!! jordanrynard wrote: Wow, you're absolutely right -- I didn't even bother to try any other browsers as it's just the

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread jordanrynard
I have two documents: The parent, and the iframe. When activated, the parent document dynamically appends an instance of tinymce to itself. It retrieves the content for the editor (tinymce) from a selected element in the iframe. The style of text displayed in tinymce is identical to the style

[jQuery] How to reset default value of a form input text fields

2010-02-18 Thread Vikas Patidar
Hi, Everyone I want to reset the default hint text of form input text field when someone focus or blur using jQuery. Anyone has any idea will be appreciated.

[jQuery] Re: jQuery AUTOCOMPLETE (by bassistance): submit on click

2010-02-18 Thread jjunior
That's brilliant! Thanks.

[jQuery] Re: Passing value from function

2010-02-18 Thread RobG
On Feb 18, 9:15 pm, Charlie22 ch...@post.cz wrote: Hi all, I have trouble passing value as selector value to other function. $(document).ready(function(){         var id = 'Test';         $('#Name').keyup(function(){                 id = '#Mobil'; If you want variables to be local to

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread Jonathan Vanherpe (T T nv)
So you're basically writing a preview window or something for tinyMCE? I can't really think of a different way of doing this, unless you want to implement autosave and reload the content periodically with AJAX. Jonathan jordanrynard wrote: I have two documents: The parent, and the iframe.