Text box
-
Hi 1. Capture the key press event in javascript. 2. Using AJAX( go for XMLHTTP object of browser) sent the character you have pressed to the AJAX file(AJAX engine) 3. Get the result as string with some delimeter in it. 4. Separate the result 5. Show results in a DIV with proper style. example: Suppose you have typed 'a' using AJAX you may send a HTTP get request like this http://loclhost/AJAXFile.aspx?char=a to get a result string this way ... 'aasha|abbas|arindam|asif' Now manipulate this string using Javascript and build a DIV to display this resultset. Hope this helps ...
Thanks, Arindam D Tewary
Wow!!! Are you using aircraft to reach your office?
-
Wow!!! Are you using aircraft to reach your office?
ROTFL - well said.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
ROTFL - well said.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
sorry guys if it was not helpful .. but what I have suggested is a good option if the values to be populated dynamically from the server. Anyone can point out for a better way !!!! Indeed a bit javascript is enough if the set of values to be populated(on key press event) is static and if can be stored in client side( preferebly in an array). Any feedback would be appreciated !!!! :laugh:
Thanks, Arindam D Tewary
-
sorry guys if it was not helpful .. but what I have suggested is a good option if the values to be populated dynamically from the server. Anyone can point out for a better way !!!! Indeed a bit javascript is enough if the set of values to be populated(on key press event) is static and if can be stored in client side( preferebly in an array). Any feedback would be appreciated !!!! :laugh:
Thanks, Arindam D Tewary
Yeah, the AJAX thing will work, but it does smell like potential overkill, especially if the values are known when the app starts, and if he just wants to get the alphabet back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Wow!!! Are you using aircraft to reach your office?
I dont share my things to others !!!! my aircraft is my personal :laugh: No space for others !!!!! :-O
Thanks, Arindam D Tewary
-
Yeah, the AJAX thing will work, but it does smell like potential overkill, especially if the values are known when the app starts, and if he just wants to get the alphabet back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Thanks Graus !!! :)
Thanks, Arindam D Tewary
-
I dont share my things to others !!!! my aircraft is my personal :laugh: No space for others !!!!! :-O
Thanks, Arindam D Tewary
It was a kidding. :-> JavaScript will serve that purpose. It is simple and it is the right way
-
It was a kidding. :-> JavaScript will serve that purpose. It is simple and it is the right way
The best thing is to write "the solution" here in the forum !!! Only a single line (what you have adviced me now) could have been enough ... lets put the possible solution together here .... and lets allow the person to choose the best one ... What do you feel ?;P
Thanks, Arindam D Tewary
-
The best thing is to write "the solution" here in the forum !!! Only a single line (what you have adviced me now) could have been enough ... lets put the possible solution together here .... and lets allow the person to choose the best one ... What do you feel ?;P
Thanks, Arindam D Tewary
My apologies. But the answer was there. What Christian Graus said is enough Now about my feelings I feel cool, pleasure and thirsty for a cup coffee. :-D
-
My apologies. But the answer was there. What Christian Graus said is enough Now about my feelings I feel cool, pleasure and thirsty for a cup coffee. :-D
Hi tisaracorner, Have a nice time with your coffee !!!
Thanks, Arindam D Tewary