Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / September 2006



Tip: Looking for answers? Try searching our database.

showmodaldialog - dialogArgument

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tony wong - 30 Sep 2006 14:28 GMT
i make use of showmodaldialog to pass a value to an asp page (cancell2.asp)

window.showModalDialog("cancell2.asp",[i],"dialogHeight: 140px; dialogWidth:
350px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No;
resizable: No; status: No;");

cancell2.asp is an asp page to null the field in SQL table.

how can i put the value to this line (objCommand.CommandText....).  Thanks a
lot.
<%
Option Explicit
Dim strConnect
%>
<!-- #include file="datastore.asp" -->
<!-- METADATA TYPE="typelib"
                            FILE="C:\Program Files\Common
Files\System\ado\msado15.dll" -->
<%
Dim CancellsmsID, objRS, objCommand
Set objCommand = Server.CreateObject("ADODB.Command")
objCommand.ActiveConnection = strConnect
objCommand.CommandText = "update dbo.table_out set Schedule_Time = null
where fax_id =window.dialogArguments;"
objCommand.CommandType = adCmdText
Set objRS = objCommand.Execute
Set objRS = Nothing
%>
VK - 30 Sep 2006 19:52 GMT
> i make use of showmodaldialog to pass a value to an asp page (cancell2.asp)

It would be quicker helped at microsoft.public.programming.jscript

Whoever will try to answer, it will help to have the actual HTML output
to work with, not ASP source.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.