How to use jscript confirm in VB.NET -
I would like a message box on the client side.
Everyone says to use jscript confirm, but how?
Here is what I have so far. No errors but no confirm either.
Function jscriptMsgBox()
Dim response As Boolean
Dim strBuilder As StringBuilder = New StringBuilder()
strBuilder.Append("<script language='Jscript'>")
strBuilder.Append("function myMsgBox() {")
strBuilder.Append("response = confirm("my message");}")
strBuilder.Append("myMsgBox;")
strBuilder.Append("</script>")
RegisterClientScriptBlock("myMsgBox", strBuilder.ToString)
End Function
Yes, I am a newbie so give me a break please.
How to use jscript confirm in VB.NET -
I would like a message box on the client side.
Everyone says to use jscript confirm, but how?
Here is what I have so far. No errors but no confirm either.
Function jscriptMsgBox()
Dim response As Boolean
Dim strBuilder As StringBuilder = New StringBuilder()
need to return value from jscript to vb.net (am using response.write) -
After much searching I have finally figured out a way to call a jscript "confirm" box from serverside vb.net code. The code I am using is as follows:
Dim sb As New StringBuilder("")
sb.Append("<script language='javascript'&
Interaction Jscript - and Data -
Dear forum
my web page is created whit ASP.NET
Inside the page, i write a jscript that do some work.
Question is how is possible to send data ( from APS or from my PC) to the jscript programm, so jscript elaborate them
Thank very much
Roberto
Howto call Jscript code from webpage -
I have some code written in JSCRIPT, which I need to can from my webpage(an image link). How can I do this? I need one parameter from a session variable into the JSCRIPT function. I know how to do it with javascript, but I am unsure how to do it with JSCRIPT...
kind regards
Henrik
Anyone knows what JScript does -
I am pretty sure JScript and Javascript are not the same thing right?
JScript looks like a cross between Javascript and VBScript.
Why would one use JScript?
messagebox Please help... -
Hi ,
i want to ask a confirmation ok,cancel , after executing a certain
lines of code in button click event of my page.My requirement is
after clicking the button i will do a some calculations and then i will
ask a confirmation message.the message specficies the value
resulted i
Jscript vs VBscript -
I was reading the Jscript language reference and I had a question. It seems to me that both Jscript and VBscript use the filesystemobject in the same way. Is this true or am I just looking at this the wrong way? Also is VBscript EVER compatible with Netscape?
JScript JavaScript -
I saw a book today about JScript .NET...so I guess that I got a ind of confused. Is JScrikt and JavaScript the same thing??? Isn't .NET microsofts framework. Why do JScript have a .NET book????
ASP inside local script -
I want to write ASP indise local script tags so that I can make dynamic functions, obviously this is not possible because I tried doing it and i had errors, is there anyway around this. e.g.
<script language=jscript>
JScript here
<%
ASP code here
%>
Mixing Jscript and ASP -
Hello,
I have some jscript which checks the browser version. I now want to add some ASP code (<%response.redirect "newpage.htm"%>).
How do I do this?? I dont know Jscript AT ALL - "stole" the code somewhere!!
Thanks,
T
Question about Server-side JScript -
Ok, most of you know that you can output a new line in vbscript with vbCrLf. Is there anything like this in jscript?
JScript & JavaScript -
Hi all,
I know JScript is the Microsoft version of JavaScript, but does it imply that my JavaScript would be interpreted into JScript when running in IE and back to JavaScript when running on others?
Difference JavaScript and JScript -
Hello,
Can anybody please tell me the difference between JavaScript and JScript?
I know JScript is the JavaScript version of MS and JavaScript is created by Netscape, but what are the functional differences? What compatibility problems are there?
Recently MS has lost a law sui
Legal:Will Microsoft sue me -
Hi !
I am developing a web page editor application and it will have
autocomplete and tooltips for JScript.
The tooltips will be a brief of what the JScript property or function
does and a list of its arguments.I have copied this text from
Microsoft JScript online MSDN Reference.
VBScript and JScript -
how do i call JScript functions from a VBScript routine on the same page?
Cheers
JScript != JavaScript -
OK,
JScript is NOT the same as JavaScript
JScript is Microsoft's version of Javascript
but does anyone know what the difference is?
I had I look at this page:
http://msdn.microsoft.com/scripting/
and found this in the JScript FAQ:
Quote:
How do JScript an
asp and jscript -
hi!
i have a sticker progrem that print stickers 3 in raw according to what the user requested
now i put a textbox that the user will write how many times he want the printer to print the selected stickers
i am working with asp and jscript and i dont know how to do it?
confirm box return value -
I'm familiar with using confirm boxes on a button to determine a certain action based on the return value. I'm now sure how do this inside of a function. I'm scanning the database inside of a function and if a particular value is found, i want to display a confirm box with yes/no act
JSCRIPT - check to see if first num is 0 -
Using Jscript I want to prevent the user from entering in 0 as the first number...
So if the user enters 0 as the first number then a msg appear
Confirm -
plz tell me confirm alert
how its button work
i mean OK and CANCLE....
IIS and Interdev -
When I try to use some of the Interdev components, Windows NT sends me this message:
WARNING: Web server "svr_mayanpalace" requires an updated JSCRIPT.DLL.
The Visual InterDev 6.0 Scripting Object Model requires JSCRIPT.DLL Version 4.0.0.2405 or greater
Where can I dow
JScript: Delete folder on Network Drive -
I want to delete a folder on a network drive through jscript. I have tried everything and I can't delete and folders on that drive. I have tried the fileSystem object and WScript.Shell. Nothing will erase it. the folders exists and my paths are correct but I cant delete. Using windows
interdev debug -
Hello all,
I use M$ Visual Interdev and do a lot of debugging in the IDE which allows me to step through the project very similar (although, not as good) to what the VB6 IDE has.
my problem:
for some reason, im not able to debug the javascript in the current application that I
Microsoft JScript runtime error '800a0046 -
Can anyone help,
I get this message when I try to access a oracle db...
Microsoft JScript runtime error '800a0046' /xds/programs/file_transfer/programs_ftp_edit_maint.asp, line 136
Add JSCRIPT TO ASP oRs -
How can I add a jscript function to this line?
response.write "<td align='left' valign='top'><font size='2'><B>" & oRs("question") & "</b></font><br>" & "</td>" & vbCrLf
Reason is I wa
JScript question -
Hello!
Sorry, guys, it's not a VB related question, but you know all...
I'm currently developing a page which has 3 frames.
The thing I'd like to do is:
When one page loads in one frame, it changes page in second frame. How can I do this in JScript?
Hope anyone knows.
JScript and frames -
Hello!
I'm currently developing a page which has 3 frames.
The thing I'd like to do is:
When one page loads in one frame, it changes page in second frame. How can I do this in JScript?
Hope anyone knows.
WebBrowser Component with ActiveX in JScript -
is there a way to enable a WebBrowser component to run JScript ActiveX without prompting (like an HTA would do)?
can some1 confirm this -
Can some1 pls confirm to me that the number of ways in which a sum of 20 can be obtained when 8 distinct roles are rolled is 36688... A yes or no answer is enough.. but pls be honest and do try it out before...
Thanks
faster For.. Next -
Can anyone confirm this:
IS For... Next loop faster without the counter at the end of Next?
ie.
For i = 1 to 100
...
Next
Otherwise i'll need to build a precision timer to confirm the % diff. in performance
OracleBoolean. -
Please advise me, about this text belong
text :
[Visual Basic]
returnValue = OracleBoolean.op_LogicalNot(x)
[C#]
public static OracleBoolean operator !(
OracleBoolean x
);
[C++]
public: static OracleBoolean op_LogicalNot(
OracleBoolean x
);
[JScript]
returnValue = !x
confirm file conversion -
hi all, i am counting lines in a word file, i am made invisible the background opening of the file, but still it is opening and closing. also before opening each of the word file, a window is displaying "Confirm File confirm", in that it shows some list of file formats such a
x and y coords of an image -
Lets say that I have a picture on my html page. Using jscript how can I click on a certain area on the picture and a second image appears.
Example:
My picture on my web page is Windows Explorer. I want to have the user click on the image where the File menu is and once clicked a
Add numbers in JScript -
I am VERY VERY NEW to JScript, I am wondering what is wrong with this code to make a 2 number adder:
var a = prompt("First Number:","");
var b = prompt("Second Number:","");
alert (a + " + " + b + " = " + (a + b))
It doe
session("xx") -
I try to change my web site from VBscript to Jscript.
I have some session variables,but after I change my page to jscript, it's not working anymore.
isn't "session" an ASP stuff?
can anyone help me to access "session" in Javascript.
in VBscript: session("Co
Trapping events of ActiveX Controls in HTML (JScript/VBScript) -
Hello!
I have one problem with putting ActiveX Controls on my HTML page. The problem is following:
I don't know how can I react on events fired by my control (created in VB6). My control fires event TimeElapsed() and I'd like to trap that event and then do something in script (VBSc
WebBrowser takes control of entire application! -
If I navigate to a page with a javascript alert/confirm box through a webbrowser control in my VB application then the javascript alert/confirm box will hog the focus and not let my app do anything. I can't click any buttons until I click "ok" or cancel on the browser! I don'
Confirm page -
Please help me with my problem
Let's say i want to make an online store. If someone orders some items and click on "buy now", how do I transfer him to a 'confirm' page in which he would see what he ordered, and how much in total he paid? And from that site he would send his
Confirm New Password -
M a newbie.Is anyone there can tell me how to re-confirm password by using visual basic 6.0?Below is my coding.Please help me to correct the error in the coding.Thanks
Lame-Ass Trivia!... -
All right! Let's all play a game...The rules are few and simple:
1. General knowledge questions. Let's not concentrate on one area.
2. Nothing too hard, cause I'm a dumbass, and I'd like to be able to answer some of them.
3. I ask a question, you answer it. If you get it