Excellent,
Both solutions worked great!
Thanks a lot for your help
On Oct 16, 3:26 pm, adexcube <[EMAIL PROTECTED]> wrote:
> Hi, have you tried something like this?
>
> $("input:text").focus( function() { alert($
> (this).attr("name")); } ).autocomplete("server.php", {
> e
Hi, have you tried something like this?
$("input:text").focus( function() { alert($
(this).attr("name")); } ).autocomplete("server.php", {
extraParams: {
fieldname: function() { return $(this).attr("name"); }
}
Have you tried this?
$("input:text").focus( function() { alert($
(this).attr("name")); } ).autocomplete("server.php", {
extraParams: {
fieldname: function() { return $(this).attr("name"); }
}
});
It assign the autocomplete function
This may not be the most elegant solution, and is untested since it's
just off the top of my head, but i wouldn't see why it wouldn't at
least "work", heh
var _CurrentFieldName;
$(document).ready(function() {
$(".autocomlete")
.focus(function() { _CurrentFieldName = $
(thi
4 matches
Mail list logo