473,775 Members | 2,615 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

prototype autocompleter 2 variables

Hi, I'm trying to have two input field ie:

who |mickey mouse| <- value is "mickey mouse"

when |12...|
|12-5-2005|


they work perfectly, but i'd like to have the variable i've previously
chosed in one of the input field sent along the new one i'm writing.
in this case, i'd like to send "12" with the variable $who setted lile
"mickey mouse"

in this way i could suggest related stuff.

couldn't find a solution, do you have any idea?

Thank you

--
Vedo gli amici ancora sulla strada, loro non hanno fretta,
rubano ancora al sonno l'allegria all'alba un po' di notte:
e poi la luce, luce che trasforma il mondo in un giocattolo.
Faremo gli occhiali così, Faremo gli occhiali così!
Mar 14 '06
14 2844
motion musso aka: sathia wrote:
motion musso aka: sathia wrote:
i can't explain myself any better than this.
i'm sorry for my poor english.


var answer = undefined;

:P


USENET is not a real-time communications medium. You should choose
which answer you like more: the quick, and maybe factually wrong;
or the correct one that usually takes more time. That said, nobody
here is obliged to solve your problems. People that are helping
you here in an attempt to solve your problem are merely doing you
a favor (or they refuse to do so). (Such favors have to be earned:
by showing a true desire to learn, by not acting like a complete idiot,
for example. And they are expected to be returned one way or the
other.)
PointedEars
Mar 14 '06 #11
Thomas 'PointedEars' Lahn wrote:
USENET is not a real-time communications medium. You should choose
which answer you like more: the quick, and maybe factually wrong;
or the correct one that usually takes more time. That said, nobody
here is obliged to solve your problems. People that are helping
you here in an attempt to solve your problem are merely doing you
a favor (or they refuse to do so). (Such favors have to be earned:
by showing a true desire to learn, by not acting like a complete idiot,
for example. And they are expected to be returned one way or the
other.)


Ok, I'm already studying your answer, I find it lovely at a first sight.
Look, I know exactly how usenet works and I know all the point you have
wrote above.
I'm really sorry if that hurted you, but it was meant to be ironic.

so, let me just have dinner here, and I'll be on that wonderful explanation
you gave.

I'm really sorry for these misunderstandin gs, thank you.

Sathia

--
Vedo gli amici ancora sulla strada, loro non hanno fretta,
rubano ancora al sonno l'allegria all'alba un po' di notte:
e poi la luce, luce che trasforma il mondo in un giocattolo.
Faremo gli occhiali così, Faremo gli occhiali così!
Mar 14 '06 #12
motion musso aka: sathia wrote:
I'm really sorry for these misunderstandin gs, thank you.


ACK, no offense meant or taken.
PointedEars
Mar 14 '06 #13
Thomas 'PointedEars' Lahn wrote:
motion musso aka: sathia wrote:
I'm really sorry for these misunderstandin gs, thank you.


ACK, no offense meant or taken.
PointedEars

Well, yesterday night I've been able to obtain what we discussed.
Anyway I didn't use the 'changhe' method because it would fail on some
situation.
I call the XML HTTP Request with a method of the prototype library.
Thank you for your ideas.

Byes

--
Vedo gli amici ancora sulla strada, loro non hanno fretta,
rubano ancora al sonno l'allegria all'alba un po' di notte:
e poi la luce, luce che trasforma il mondo in un giocattolo.
Faremo gli occhiali così, Faremo gli occhiali così!
Mar 15 '06 #14
Motion Musso aka: Sathia wrote:
Well, yesterday night I've been able to obtain what we discussed.
Anyway I didn't use the 'changhe' method because it would fail on
some situation.
As I said, it is a quickhack, completely untested. In what situations
exactly did it fail?
I call the XML HTTP Request with a method of the prototype library.


Which fails in even more situations.
PointedEars
Mar 15 '06 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3759
by: Elf M. Sternberg | last post by:
One of the complaints about prototype.js (google for it if you're not familiar with it) is that it's poorly documented. I have this inkling that the key to understanding prototype.js is in the bind function. The problem with Javascript is that the "this" operator is poorly overloaded and it is often hard to understand in the context of object-oriented javascript So, let's start with the definition:
13
4349
by: Roy Hills | last post by:
I've seen two different function prototype formats used for ANSI C, and I'm unsure as to which is the correct or preferred one. 1st Format (this is what I use) type function(type, type, type); e.g. "int multiply(int, int);" 2nd Format (I've seen this used in other people's code)
4
2240
by: jemptymethod | last post by:
http://htmatters.net/htm/1/2006/01/EIBTI-for-Javascript-explicit-is-better-than-implicit.cfm
13
2575
by: eman1000 | last post by:
I was recently looking at the prototype library (http://prototype.conio.net/) and I noticed the author used the following syntax: Object.extend(MyObj.prototype, { my_meth1: function(){}, my_meth2: function(){} }); to define new methods on the MyObj prototype object. Object.extend
2
2355
by: vlsidesign | last post by:
Here is my a portion of my program: #include <stdio.h> main() { int fahr, celsius; int lower, upper, step; int fc_conv(int fahr); ... snip ... }
7
1985
by: Sheldon | last post by:
Hi, This is a simple mistake so Iam sure there is someone who can help with it: The the file.h: #define IBFLEN 50000 int IRET, ILEN, IUNIT1, IUNIT2, ILOOP, KERR;
83
4236
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about it too? Once I saw a website comparing Prototype to Java and jQuery to Ruby... but now that I read more and more about Prototype, it is said that Prototype actually came from Ruby on Rails development and the creator of Prototype created it...
0
10107
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10048
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9916
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4017
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2853
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.