) {
$('input', this).autocomplete
(settings.autocomplete.url);
$('input', this).autocomplete(settings.autocomplete.dataType);
}
});
-cut-
-cut-
.
autocomplete : {
dataType: json,
url:test.json
}
-cut-
thanks,
Antonio
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
, 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
('hidden')
Any ideas?
thanks
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
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
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
would like to catch the “id value” (DIV_01) of div
container.
$(this).click( function() {
?
}
Any ideas?
Thanks,
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
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
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??
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
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
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
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
Anybody here tried to integrate this plugin with jsf?
Using ajax?autocompletes with dependencies (one complete the content
of the one other).
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?
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,
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,
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
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
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
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 à
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
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.
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,
/div
$('span.bt-more').bind('click', function(){
var e = $(this).parent()[0];
e.parent().clone().after(e);
});
Where is the error?
Thanks.
Antonio
, 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
I got the same error :(
29 matches
Mail list logo