Hi, I'm trying to validate some mandatory fields to be non-spaces input. I tried isEmpty() but it regard the spaces as 'empty'. Thus spaces are still submitted; I want client-side validation for these fields. Pls help, thanx!
Hi,
i have an array of 19 checkboxes as follows:
<% dim temp_id(19)
for i=0 to 18
temp_id(i) = "id" & i
next
for j=0 to 18 %>
<input type="text" name="<%=temp_id(j)%>" size=15 maxlength="20">
<% next %>
As shown, each checkbox has a...
Hi,
I'm using a sample (upload.asp) downloaded from http://www.asp101.com/articles/jacob/scriptupload.asp
to try uploading files to a specified folder..
The sample works fine but not after integration with my code :-(
I get the following error:
Request object error 'ASP 0206 : 80004005'...
Hi,
1) I'm trying to do simple file(images & html) upload function.. saw several website for the upload file tutorial and found different versions (some very long codings..). I wish to use non-proprietary file uploading methods.
2) when i get the path from the <input type="file">...
Hi, I have some textarea form fields to allow user to enter any text.. using ASP and MS Access. Thus I need to replace all commas, apostrophes, single-quotes double-quotes and special characters etc with something(perhaps with ASCII values??) in the text variable before i execute the INSERT...
Hi, I've used Coldfusion before and it has an in-built function to check for the existence of a variable.. As I need this function as well, I wonder if I could do similar checking in ASP?? Is to check if the variable is defined, then display something on the page.. THanx!
Hi, I was stuck with the following question.. appreciates any help ;)
Q: Create a simple text file using Notepad and enter a number on a single line. Write a Java applet that will read the file, increase the number by 1, write the new value to the file and display the new number on the screen...
i have a homepage where i uploaded many photos but i dun wish to let visitors download them (such as right-clicking the mouse and click 'Save Image As'). I wanna trigger a Javascript alert message upon detecting the mouse(right-clicking) so as to inform the visitor that contents of the site...
Hi,
I encountered the inability to use session variables while doing a page refresh.. the values stored in the session are lost!
Hence I gotta past the value whenever i refresh the page:
<a href="page.asp?var=4">
What can I do to retain the values?
There's a select option to choose from(1). Upon clicking any of the options will trigger a JS function(2) to display the corresponding value on another input box(3) <br>------------------------------------------------------------<br>(1)<br><tr><br><td>Payment...
Hi, i read the manual on <CFAUTHENTICATE>..<br>but i still do not know how to implement it!<br><br><!--- This example shows the use of CFAUTHENTICATE<br>in an Application.cfm file ---><br><CFIF NOT...
I know nothing about Common Gateway Interface but I would like to learn something about it.. May I know if there's any sites that provide tutorials on CGI stuffs?? or can anybody explain that in detail to me? <br>THanks a million for your kind help!!
I know nothing about Common Gateway Interface but I would like to learn something about it.. May I know if there's any sites that provide tutorials on CGI stuffs?? or can anybody explain that in detail to me? <br>THanks a million for your kind help!!
I found the following coding in the Index Server 2.0 Sample Navigation Frameset from Microsoft Index Server:<br><br><%<br>Set Conn = Server.CreateObject("ADODB.Connection")<br>Conn.ConnectionString = "provider=msidxs;"<br>Conn.Open<br>Set AdoCommand =...
This is the sample coding:<br><br><cfif isdefined("cookie.icode")><br> <cfquery name="cancel"<br> datasource="spg_DB"<br>...
after uploading a word/excel/ppoint file, the next page should display the uploaded material. but there's no <a href> link to open the file! in the database, is the pathname of the file. the next page can only retrieve pathname(data) from the SQL table & display the field value, which is...
I've no problem with uploading files into my local directory(drive C:). But what I need is to upload them onto the server, so that other workstation can view/access my shared files. I change the destination path to my server path but it fails... My server is 'FRUITS'.<br><br><cffile...
my data is stored in mssql server. <br>the data type, varchar, only allow me to input 255 characters so i use <cffile action="write"> to write input into text file. <br>Then store the pathname in database. <br>To retrieve the file contents, i use <cffile...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.