Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Mon, 19 Sep 2005 02:39:02 -0700,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Function for sendig form, and disable it after that   
Hi all, 

I have made function like this:
----------------------------------
function sen(a)            //fj-a za slanje formi i blokiranje tipke
{
	window.document.forms[0].submit();
	document.all.item(a).disabled=true;
}
----------------------------------

this function works ok. i mean it sends form to server, and i can see it is 
disabling the botton, but something is wrong... i have error like this:
----------------------------------/
Microsoft OLE DB Provider for SQL Server error '80040e14' 
Line 1: Incorrect syntax near '='. 
/novi/oso.asp, line 12
----------------------------------/
in backend i have: 
- IIS 6
- ASP pages
- SQL server

i think that there is diference in form sendig whit this function whit 
button and normal type=submit method.
if anyone know what do i do wrong, i would be very greatfull

ty


-k.p.
date: Mon, 19 Sep 2005 02:39:02 -0700   author:   gorostas

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us