Auto Complete Combo Box
I've got a combo box with the values:
AAA
ABA
ACA
BAB
BBB
BCB
If I type the letter "A" it jumps to "AAA" in the list. If I type the letters "AB" it jumps to "BAB" as "B" was the last letter typed. Is there a way to have it accept "AB" as "AB" and jump to "ABA"?
View Replies
ADVERTISEMENT
We are planning to improve the present search (Product DB search). Is there
any way on ASP script to make an auto complete text box, loaded with the
product names (like in google suggest). I hear AJAX, can that be used with
ASP scripts?
View Replies
View Related
I am trying to find ASP code so I can use auto-complete with a textbox by using ASP and Ajax. I can find asp.net and php, but no luck with asp.
View Replies
View Related
Any code snippet or help link available on how to auto resize the dropdown list part of the combo(<select>) ?
Or, is there any alternative techniques for displaying the full lenth text when dropdown the combo?
View Replies
View Related
I 'm trying to display a combo box (which datas are coming from a database) depending on the select of another combo box in the same form. I think I should use the property onChange of JavaScript but don't know what to give in parameters.
In fact, I have an ASP function which generate a table containing the Strings obtained thanks to a request in a database. Then I'd like to put the Strings contained in the table, to a combo box. The combo box should refresh each time the user select another field in the former list. It must be developped dynamically.
View Replies
View Related
There are many comboboxes. One of them is where a user can select a
"State".
Based on the state, I want to select a "County". The form should populate
only the counties that apply to that State
I know how to do the JOIN if needed, but not quite sure how to pass the
value of the "State" combobox to the query that will be populating "County"
SELECT County
FROM Census
WHERE County = (value of the combobox "State")
Here is the code from the combobox "State" Code:
View Replies
View Related
I have a machine ftp-ing a file into a directory where a script picks it up and does something to it. I dont want the script to process the file if the file is still being copied.the only way I can figure out to do this is to check the size of the file... then wait 'n second and check the size again. and if the size is exactly the same... then asume its all there. but this doesn't seem like the right way to do it. is there no easy way or simple property I can check to see if its done?
View Replies
View Related
I've got a variable that can hold one or more words called strUserName. I want to display the complete value of that variable in a form field but I only get the first word
Agent:<input type="text name="agent" value=<% =strUserName %> size=30>
View Replies
View Related
I searched this forum but couldn't find:
How can I retrieve the complete URL of the current page? (by using ASP, not Javascript!)
What I mean is this - I have a long URL something like:
https://www.zzzzzz.com:8080/zzzz/zzz.asp?aaa=1&bbb=2#a1
I know I can read parts of URL through server variables, such as PATH_INFO, QUERY_STRING etc. and then concate the string variable, but that is not enough! I need to request the COMPLETE URL like I mentioned in the example.
View Replies
View Related
I need a function that would retain a value like 112.50 as opposed to 112.5. It is needed for currency values and display. I tried using cSng, cCur, but they all seem to trunicate the zero.
View Replies
View Related
i dont know if this should be a mysql question or a asp question...
i have a database that stores all the orders and each orders total. How can i make it so that i can add all the order totals together, to get a final total
Im using mysql.
View Replies
View Related
How can i delete a complete folder including subfolders
and files in the subfolders. Or do i to delete one by one
View Replies
View Related
is this one possible with ASP?
"To complete your registration, click on the link below:
http://sub.domain.com/register.php?a...11&i=123456789 "
if this is, can someone please explain how to do it?
View Replies
View Related
I have problem with my page, but IIS only show "The page cannot be displayed". How to display complete error message ? I think I've read this sometimes ago here, but I can't find it.
View Replies
View Related
Right Im close to finishing this nightmare of a website now! 2 things left to do. First is insert images. OK I have done this using Shadow Wizards 'ShadowUploader'. So the way it works on my page is that the user has to upload the file from there local hard drive into the server folder.
Then they browse for that file, hit ok, then submit the form.
Can I restrict that browser window only to look in that Images folder on the server instead of being able to browse the whole computer?
View Replies
View Related
is there a small command that resets a whole accessdatabase? I need a code that deletes all records in a database. Does anyone know how I can do this?
View Replies
View Related
I have a requirement to record in a database when a file is finished
downloading to the end-user. Currently when a user clicks a download icon
for a file it directs to an ASP page that records the "hit" into a database,
then I use a response.redirect "filename.exe" to point the user to the
download.
What I'm missing is knowing when the download is complete so I
can update the database to show the file successfully completed its
download. Is there a way to do this with ASP? A way to do this with an
aftermarket component?
View Replies
View Related
i ve a project to build a complete mailing site like hotmale or yahoo.i ve not any idea of doing this..i am a APS/PHP developer but this is a totally new project for me.so i d be thakful if some1 gives me the idea of whole setup...what kinda setup i ve to build.like Which Mailing Server (Exchange Server) and complete setup.its 'd be nice if soem1 send me any URL where i can find any tutotrial on this kinda solution.
View Replies
View Related
I have a simple asp form which writes to a csv.
The code it's based on (from "ASP for Dummies") is:
Set peoplefile - _
filesys.OpenTextFile( _
"c:inetpubwwwrootgbgbpeople.txt",1)
The form is going live soon, and I'd like just a dash of due diligence
in terms of security. I tried using a relative link to the gbpeople.txt
file which didn't work. Is there a better way around this without
reinventing?
View Replies
View Related
I would like to know if it is possible to fill in an access table through a select list inside an APS 3 web page. If yes, how ?
View Replies
View Related
I 've coded an asp webpage where a user could toggle a boolean value through a checkbox.
When the checkbox was pressed, the page posted the toggle action to itself, a
connection.execute "UPDATE tableName SET fieldName=(Not fieldname) WHERE field_id=1
query was performed and the checkbox, after I had retrieved its new value through a recordset, changed its appearence(state). At first I used an MS Access DB and it worked fine.
After I had switched the hole application to work with MS-SQL, although I changed the above query to Code:
View Replies
View Related
I have been looking everywhere, and can't find a complete function to create tables and columns in access .mdb from ASP, while adding columns that are missing in tables that already exist, can anyone post a link or the code to such function?
View Replies
View Related
Just finished creating my own news script and was wondering if someone could look at it for me comment on it, how secure is it etc.
View Replies
View Related
I am currently working on a small asp application. Now I would like to store the complete database connection in the application object. Note I want to store the connection NOT the connectionstring. For that purpose I wrote a small asp include which connects to the dbase and stores the connection object to the application object. However when I use this include in my pages then it doesnt work. What I am doing wrong? Here is the code:
View Replies
View Related
I am facing a strange problem. I want to give a functionality to the client where he can download a complete folder from the server. but how to give this functionality is the main problem.
I have one ASP page where I am creating various files of vcf extension dynamically and now I want that client should be able to download all those files. Those files are present in one folder and so I want to give that whole folder to the client.so now I want some trickes/code or URL from you guys to achive this .
View Replies
View Related
I would like to have div tag over combo box, not combo box over div tag. I have this problem on many pages usually when I use drop down menus. I try to solve this problem with z-index but it doesn't work. Have anybody some idea? Code:
View Replies
View Related
If I click the "Update" button on my form below, I can retrieve the value of
my combo by using code in the FORM RESULTS section below. Therefore, if I
choose the "Inside" option in my combo, I would get "1" as the value of my
combo box.
Is there any way to retrieve the Name associated with the value? So not only
retrieve the combo value of 1, but also retrieve the name "Inside" after
submitting my form? Code:
View Replies
View Related
I have a form which enables users to search a database. Currently they can use a series of checkboxes and a text area. I would like to incorporate a combo box in this form. The values would be hard-coded. The user selects an option, which is included in the SQL statement along with those from the other form elements.
I'm not sure how to get the values form the combo box into a variable. There would be up to 40 values. Can anyone show me how to do this?
View Replies
View Related
I'd like to know if any of you guys have found tools to, search in PDFs. create PDFs on the fly. preferly in pure asp, or in pure .net, so no component installing. I searched for it but found nothing good on the matter. I know there are some nice tools to do these things php. So I'd like to know your experiences in these things, cause clients start to ask more and more for PDF functions on their sites.
View Replies
View Related
Currently I can add/delete records from this form I have on an ASP page. But I can't get images to upload for anything. Here is the crazy part...I also have a Linux webserver for my php sites right.
I'm thinking about doing my image upload function on my linux box and upload it to the windows 2K3 image folder of my we directory. So I cause my question is: 1) Is that possible? 2) Can php talk to my access DB, and 3) Am I crazy? Code:
View Replies
View Related
I've got a combo box with a list of alphanumeric data extracted from database. When i type 'c' the combo box shows a list of items beginning with the letter c. then when i press '8' the combo box shows a list of items beginning with the number 8. But what i want is for the combo box to list items that begin with 'c8'. is it possible?
View Replies
View Related
This is the code for a combo box, and I would like to make certain value the default value, so that appears unless users select somthing else.
call rs.Open("SELECT * FROM Trim.dbo.luDecisionMaker ORDER BY DecisionMakerName" _
, myCon)
do while not rs.EOF
Response.Write("<OPTION value=" & rs("DecisionMakerID"))
if rs("DecisionMakerID") = nDecisionMaker then
Response.Write(" selected")
end if
Response.Write(">" & _
rs("DecisionMakerName") & "</OPTION>" & Chr(10))
rs.MoveNext
loop
rs.Close
It comes from a table and has PropertyDetailsID(1,2,3,4) and PropertyDetailsname(Fee, 5,10,Other) and for example "Fee" needs to be the dafault value.
View Replies
View Related
I have a search page where i have like 10 combo boxes and some radio buttons and check boxes.
Now when the page loads, i do some selection in the combo boxes and when i press reset button it clears all data in the form elements.
But when i select things in combo boxes and do a search by clicking OK button then the search results are displayed there and now if i want to clear all the form elements , i tried to click reset button, but when ever i did a search ie click ok button and after than press reset button reset button is not clearing the form elements.
Reason for this problem:
Reset button resets the form to it's state when it was loaded (as opposed to clearing the values) so if the page loaded with the search values in it, when you hit Reset nothing will happen if you haven't changed anything. Code:
View Replies
View Related