How to make a tool tip that can be selected

i am making an online system that reads contacts from the addressbook of a user in his database. i want that every time the user enters a key on the input field in html, a script searches for a matching contact in the database and displays it in a tooltip that could be selected so that the user will not type any further and just select on the matching contacts. how do i do this? tnx

Well, that does not have much to do with Graphics, which might explain why no answers were given so far...
Basically, you need to look into AJAX. Set the onClick event handlers of the field to send an asynchronous request to the server, parse the response and put it into an initially invisible div, that is placed just under that text field.
Have a look at prototype.js, here:
http://prototypejs.org/
Hope that helps.
Michael Bar-Sinai
Edited by: mich.barsinai on Oct 23, 2007 12:58 PM

Similar Messages

  • How to make a java program, that can be used by c++ application

    I'm developing a Java web application (WEBapp), but I have also a c++ program.
    C++ program must use WEBapp method to communicate on the web.
    How to make a Java public function that accept value, elaborate, then return the resul to c++ application?

    jschell wrote:
    You have C code.
    You have Java code.
    The two must communicate.I have a c++ program, and a Java program.
    C++ program wants to communicate on the web (send text), and I'm trying to add this functionality to it creating a Java program.
    NOW THE PROBLEM? How c++ program can use java-program (in local) to send data on the web?
    You can just JNI to communicate either from java to C++ or from C++ to java. That is direct communication in that there is a single process involved. Thus you will no longer have a java application and a C++ application but rather a single application.I don't know JNI, i found http://java.sun.com/docs/books/jni/ and I think is too difficult to implement?
    You can use files or sockets to communicate. Using sockets allows for any number of additional protocols including the previously mentioned web services. Those methodologies would allow more than one application to exist.I developed yesterday a java-side-interface using socket (in local host 127.0.0.1). So the c++ program must write or read to/from the socket to comunicate to java (then the java program send data on the web).
    Finally it might be the case that you have a C++ application which you cannot modify. In that case then you MUST use whatever input/output mechanism that it supports. There is no choice. And until you have fully determined what those mechanisms are it is pointless to discuss a solution.I can modify the application, but I don't have developed it. The c++ application use a third-part dll (taken from SKYPE) to comunicate on the web: I have to remove the dipendence from this dll, and add the java program: java program must substitute the dll. It must be non-invasive to the c++ program. DLL calls can be "send(data)" or "receive(data)" or similar.
    For this do you think that JNI is a must, or I can use soket on local host?

  • Im making a photo slide show using imovie. how will i make a dvd copy that can play in both pc and dvd player.  i dont have an idvd anymore. m using a mbp early 2011 osx 10.8.5

    im making a photo slide show using imovie. how will i make a dvd copy that can play in both pc and dvd player.  i dont have an idvd anymore. m using a mbp early 2011 osx 10.8.5.
    after making the photo slide show, i clicked share>export movie.  after which i burned using toast. the file became a .mov.  i tried playing it in my mac and it worked. my fear now is will it also play in a regular dvd?... i read from google that mov files won't run in dvd players.  what format should i convert it to so it'll play in a dvd player.  can you suggest a faster way i can burn my projects for it takes me almost an hour to export.  im going to make 28 slideshows for my kids in school. *=( if i need to do this process 28 times, i may not be able to finish it on time.  please suggest a software or an alternative as to how i should do this... m more comfortable using imovie than iphoto.  thanks and i hope to hear from someone soon *=j

    Thank you QuickTimeKirk...used toast to burn project... my project was in .mov, i tried to play it a dvd player, it did play... will try again tomorrow using another dvd player just to be sure it'll will really work with dvd players.  thank you again for your reply *=)

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • How to speed up tool tips ( hints ) ??

    hi folks
    does any one know how to speed up tool tips in mac ??
    if u go to any tool in any application in mac and hold your mouse on it for a second , a tip will be showen telling you something on this tool
    in mac i have to wait 2 - 3 second so i can see the tips
    why ??
    hope to find answer

    I believe the default time for Cocoa apps is 2 seconds in Leopard. You can speed this up with a Terminal command. Launch Terminal, then copy and paste this command and press the Return key:
    defaults write -g NSInitialToolTipDelay -int 100
    That final number is milliseconds, so that should be rather speedy. It will also speed up the display of the location when you mouse over your Spotlight results. You may have to restart to see the change. Don't know what, if anything, you can do for Carbon apps.
    Francine
    Francine
    Schwieder

  • Hi! I have a Creative suite Design Standard 9 Adobe program and I am attempting to make a wizzard form that can be made into an entry form for a competition. So I need to 1. Make the form into a question and answer form that Participants may fill out. 2.

    Hi! I have a Creative suite Design Standard 9 Adobe program and I am attempting to make a wizzard form that can be made into an entry form for a competition. So I need to 1. Make the form into a question and answer form that Participants may fill out. 2. make it possible for them to download it via a link on our website 3. make it possible for them to save the info they have written into the form and mail it to the mail we have supplied in the entry form and 4. make it possible for them to put in a jpg. as part of the entry for and lastly 5. make it possible for us to copy paste the document and use it on other platforms. How do I do this - is it at all possible with adobe?

    Those requirements are go way beyond what PDF forms can do and are meant for, some of them would require involving other programs or are mutually exclusive and contradictory. You are wasting your time even thinking about doing this as an "offline" PDF form. Simply sign up for an online forms/ survey service like FormsCentral or Surveymonkey.
    Mylenium

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • How to make a slide bar that controls opacity

    I'm trying to figure out how to make a slide bar that would control opacity. If I were to take to pictures on top of each other, the slide bar would control the opasity of the top image. Thanks

    can you make a slider that controls anything?  if so, what's the range you can control?
    ie, when the slider is at one extreme it causes some object to have value1 and when it's at the other extreme the object has value2.  what value1, value2 can you handle?

  • How do I restore tool bar that has history, bookmarks, tools, view ans edit on it?

    Some how I deleted the tool bar that contains following items - File, Edit, History, Bookmarks, Tools, Help.
    How do I restore this tool bar?

    Your '''menu bar''' is hidden. Press F10 or Alt on you keyboard to make the menu bar temporarily appear. Then go to Tools > Toolbars and select the menu bar to make it permanently appear.
    Also see:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

  • How to make more than one person can access the database at one time

    how to make  more than one person can access the database at one time 

    Please post further f'up's in the Access forum.
    In short: for different reasons it is best practice that each user gets its own local copy of the database. This means that you need to split it into a front-end which only consists of the forms, queries, reports etc. Everything which doesn't need to be
    shared. And a back-end, which only stores the data.
    Take also a look at Allen Browne's article:
    Split your Access database into data and application.
    When you've splitted your database, you may often consider to use SQL Server as back-end. Here you may read Armen Stein's
    The Best of Both Worlds: Access-SQL Server Optimization.

  • Can I make a PDF form that can be filled/saved in Illustrator/InDesign without Acrobat Pro?

    Can I make a PDF form that can be filled out and (more importantly saved) in Illustrator or InDesign without having to use Adobe Acrobat Pro?
    I only have Adobe Reader XI. Do I need to purchase Adobe Acrobat Pro in order to make a PDF form that can be filled out and saved by others? or is it possible to do this solely through Illustrator, InDesign, and/or Adobe Reader?

    InDesign can export to a filable form, assuming you add the fields in InDesign (6/CC) and export as an interactive PDF. You can't create a form with Reader or Illustrator. You also can't Reader-enable with anything other than Acrobat, so Reader users will have to use version 11 in order to save a filled-in form.

  • Is there a tool available that can be executed by another process to scale the actual size of a PDF?

    Is there a tool available that can be executed by another process to scale the actual size of the printed PDF file by X%?  We are attaching PDF files to printed output using the Oracle DocuMaker product, and are running into margin issues with the attached PDF.  We need to keep a 3/4 inch margin on our pages for sorting/finishing equipment, and the attached PDFs do not all conform to our margin requirements.

    What email program are you using? And what do you mean by "Safari mail"?

  • I want to buy iPad Air online, how do I know the one that can work with Nigeria gsm network.

    I want to buy iPad Air online, how do I know the one that can work with Nigeria gsm network.

    Take a look at HeadRoom (headphone.com). It's a fabulous resource for all types of headphones, with great guides and useful reviews.
    http://www.headphone.com/

  • How to create a check box that can be unchecked

    How do I create check boxes that can be checked and the unchecked in Forms Central?
    For example, if you accidentally check a box - you want to uncheck it. Right now it doesn't allow you to do that.
    please help.
    Thanks
    Gen

    Are you sure you're not using radio buttons? Check boxes behave the way you'd expect for me with a form generated by FormsCentral.
    I'm going to move this to the FormsCentral form since the team there may want to take a look at the form.

  • I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    Have a look at the menu file/process multiple files. You can choose to add your signature (or the caption) to the image and export the new files.
    If that solution is not flexible enough, consider using the very affordable (12$)  Elements+ add-on which offers a 'meta stamp' script :
    http://elementsplus.net/v5/en/meta-stamp.htm
    Otherwise, have a look at other free and good solutions like Faststone Photoresizer, Xnview...

Maybe you are looking for

  • In Object Properties dialog box, modify "tab path"...

    For FrameMaker versions up to and including 8 (and I suspect 9). Select a graphic, then click in sequence ESC g o to open the Object Properties dialog box. By default the dialog box opens with the insertion point in the Width text entry area. Now pre

  • Iphone plays music out the speakers when headset/aux cable unplug

    Either when I'm listening to music in iphone from aux in the car, then I stop the music and unplug the phone... music starts playing from the speakers. This happens, even after I had not used the phone at all (no music, or calling). Usually just unpl

  • HANA Prompts in BO

    My scenario 1. Default region assigned for each user and a table 1has details. 2. Currently dashboards designed to refresh components before load 3. There are 15 queries which has region filter is mapped to single cell and the cell is hardcoded with

  • INACTIVE SESSIONS GROWING

    1. 9.2.0.4 - 64bit (MTS) (DB-A) 2. 10.2.0.2.0 - 64 bit (DB-B) 3. 10.2.0.2.0 - 64 bit (DB-C) We are having a process which starts with a trigger on a table in DB-A, The code in Trigger calls to a procedure which inturn access tables of user X in DB-C

  • When trying to open a file it keep clicking off.

    When I try opening my notes,way it keeps clicking off?