[jQuery] Combine jquery.jeditable.js with jquery.autocomplete.js

2010-01-25 Thread Antonio
) { $('input', this).autocomplete (settings.autocomplete.url); $('input', this).autocomplete(settings.autocomplete.dataType); } }); -cut- -cut- . autocomplete : { dataType: json, url:test.json } -cut- thanks, Antonio

[jQuery] Focus event firing twice in Internet Explorer

2009-10-31 Thread Antonio del Olmo García
I'm building a form in which the specified values (the ones written in the value attribute) for the inputs (types: text or password) are saved as default values for that fields and when the user clicks on them they disappear or appear again if the field has been left blank. So, basically: the

[jQuery] Re: the best way to handle a group of div elements

2009-06-30 Thread Antonio
, ui) {             var item_id = $(ui.item).attr('id');             $(ui.item).attr('id', $(this).attr('id') + item_id.substr (item_id.indexOf(_)));         },         containment: '#content'     }); On Jun 29, 3:12 pm, Antonio antonio.pie...@gmail.com wrote: also var div_elements

[jQuery] the best way to handle a group of div elements

2009-06-29 Thread Antonio
('hidden') Any ideas? thanks Antonio

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Antonio
do it? I tried this code..but it doesn't work var div_elements = $('.nc1 nc2'); div_elements.removeClass('hidden'); Antonio On 29 Giu, 18:04, Mean Mike mcgra...@gmail.com wrote: your missing quotes $('.nc1').removeClass('hidden') On Jun 29, 11:58 am, Antonio antonio.pie...@gmail.com wrote

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Antonio
As you can see at this page: http://webcms.ba.infn.it/~pierro/GUIcondDb/CondDBMonitoring/test.html# var div_elements = $('.nc1 .nc2'); doesn't work Antonio On 29 Giu, 19:37, Antonio antonio.pie...@gmail.com wrote: and if I have the following html code div id=nam1 class='nc1 nc2 nc3 hidden

[jQuery] Re: the best way to handle a group of div elements

2009-06-29 Thread Antonio
also var div_elements = $('.nc1, nc2') doesn't work because it works like nc1 OR nc2 the solution is to write var div_elements = $('.nc1.nc2') i.e. .nc1.nc2 tied without empty space.. thanks Antonio On 29 Giu, 21:01, Mean Mike mcgra...@gmail.com wrote: my bad you need a comma separator

[jQuery] how to catch the value of div container

2009-06-14 Thread Antonio
would like to catch the “id value” (DIV_01) of div container. $(this).click( function() { ? } Any ideas? Thanks, Antonio

[jQuery] Re: how to catch the value of div container

2009-06-14 Thread Antonio
Hi all, I try to rephrase... I want to get the value from the id attribute from a parent element I try in this way... $('div').parent().attr(id) but it returns only blank value although the html code is: div id=DIV_01 any ideas? thanks Antonio On Jun 14, 1:35 pm, Antonio antonio.pie

[jQuery] How to show the methods and attributes of any jQuery object

2009-06-14 Thread Antonio
Hi folks, In python we can use dir() to show the methods and attributes of any python object. Since it is possible to extend the jQuery object itself is there a similar method in jQuery to show the methods and attributes of a particular object? thanks, Antonio

[jQuery] know if one id are hidden

2009-05-22 Thread Antonio Feliziani
HI, i work in .net and in my jquery function want know if mi object are in state hidden or not... but this 2 method not work if($(#check_id).attr(type, hidden)){//..} or if ($(#check_id).is(input[type='hidden'])){//..} what is the right metod??

[jQuery] Re: How to replace hardcode_value in jquery library

2009-05-18 Thread Antonio
ok. thank you, it works Antonio On 18 Mag, 09:16, Steven Yang kenshin...@gmail.com wrote: what exactly do you mean by hardcode_value in jquery library?there isnt any/much AFAIK. if you mean the harcode_value in your code you can simply do $.get($(contact).val()), function(data

[jQuery] How to replace hardcode_value in jquery library

2009-05-17 Thread Antonio
Hi all, How to replace hardcode_value in jquery library with something more flexible value (for example something value from html document)? For example I'd like to substitute the hardcode_value (in jquery file) with the value input1 (in html document). thanks Antonio html document div id

[jQuery] xhr Permission Denied

2009-04-10 Thread Antonio Feliziani
HI, i have a problem whit my Jquery transaction , this is not cross domain, and i use $.ajax, in my local computer is ok, but in the web server return this error. i think the trow verified in this point // Open the socket // Passing null username, generates a login popup

[jQuery] [Autocomplete] Use of flush cache in autocomplete plugin and how to update data

2008-10-13 Thread Antonio Lazaro
How can I update the data from autocomplete plugin? I tried it with flushCache, but it doesn't work. Someone has a example code that could show me? -- Att, Antonio Lazaro

[jQuery] [Autocomplete] Integration with jsf

2008-09-29 Thread Antonio Lázaro
Anybody here tried to integrate this plugin with jsf? Using ajax?autocompletes with dependencies (one complete the content of the one other).

[jQuery] [Autocomplete] Limit of size

2008-09-29 Thread Antonio Lázaro
Hello guys, I'd like to know if there is any limitation with autocomplete plugin about the max size. I changed max attribute and it doesn't work.When I have a list grater than 1400 elements the autocomplete doesn't works. any body has this problem?

[jQuery] jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-26 Thread Antonio Collins
The .clean() method tries to replace empty elements defined as elem / with elem/elem. Here's the code from .clean(): // Convert html string into DOM nodes if ( typeof elem == string ) { // Fix XHTML-style tags in all browsers elem = elem.replace(/((\w+)[^]*?)\//g,

[jQuery] jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-25 Thread Antonio Collins
The .clean() method tries to replace empty elements defined as elem / with elem/elem. Here's the code from .clean(): // Convert html string into DOM nodes if ( typeof elem == string ) { // Fix XHTML-style tags in all browsers elem = elem.replace(/((\w+)[^]*?)\//g,

[jQuery] selector help

2008-05-21 Thread Antonio Collins
My app has to present some rather lengthy list of choices. Each choice has a checkbox tied to it and multiple choices can be made. When 'editting' the choices, we want to see all available choices, but after editting is done, we only want to see what was selected. I'm stuck coming up with the

[jQuery] Re: selector help

2008-05-21 Thread Antonio Collins
Had to resort to 2 statements. Still not sure why the filter() didn't work as expected. $('TR[*/INPUT]',list).hide(); $('TR[*/[EMAIL PROTECTED]',list).show(); Antonio Collins wrote: My app has to present some rather lengthy list of choices. Each choice has a checkbox tied

[jQuery] Caching?

2008-04-25 Thread Juan Antonio Ibañez Santorum
Hello! I need to load a value (returned by a php script) into a textbox each 10 seconds, and reload web if this value change. I'm using next code: script src=jquery.js/script script $(document).ready(function() { //ajaxTime.php is called every second to get time from server var

[jQuery] Re: I need some help with basic thing

2008-02-16 Thread Carlos Antonio da Silva
addsuggest: $('#message').html('a href=# id=addsuggest2add/a'); Maybe the LiveQuery plugin can help you: http://brandonaaron.net/docs/livequery/ =) --- Carlos Antonio da Silva Sistemas de Informação Rio do Sul - Santa Catarina Não deixa de fazer algo que gosta devido à

[jQuery] Re: Do tabulations and spaces make a difference?

2008-02-11 Thread Carlos Antonio da Silva
Cristian escreveu: Thank you Carlos, probably I was very tired last night. I spent 30 minutes trying to spot the problem. I'll probably never forget to add a semi colon again. :-) You're welcome.. I'm glad to help... =) --- Carlos Antonio da Silva Sistemas de

[jQuery] Re: Do tabulations and spaces make a difference?

2008-02-10 Thread Carlos Antonio da Silva
instead of ; --- Carlos Antonio da Silva Sistemas de Informação Rio do Sul - Santa Catarina Não deixa de fazer algo que gosta devido à falta de tempo, a única falta que terá, será desse tempo que infelizmente não voltará mais.

[jQuery] re[jQuery] placing TBODYs

2008-01-19 Thread Antonio Collins
I'm going to be replacing the contents of TBODY elements with an ajax call which results in TR elements. Will this: $('#myTbody').load(myUrlAndSelector) reconstruct the table body properly or will I have to manually process the row elements myself along these lines: $.get(myUrl,

[jQuery] Clone dont work. Why?

2007-12-15 Thread Antonio Jozzolino
/div $('span.bt-more').bind('click', function(){ var e = $(this).parent()[0]; e.parent().clone().after(e); }); Where is the error? Thanks. Antonio

[jQuery] Re: Clone dont work. Why?

2007-12-15 Thread Antonio Jozzolino
, Antonio Jozzolino [EMAIL PROTECTED] wrote: div class=add-more label for=empresas_coligadas_ou_filiais class=label- ecfEmpresas Coligadas ou Filiais/label input name=empresas_coligadas_ou_filiais type=text maxlength=255 / span class

[jQuery] Re: Interface: SortableDestroy javascript error

2007-09-27 Thread Antonio Cortés
I got the same error :(