|
by: Jonas Daunoravicius |
last post by:
The subject pretty much sums up what I need to do. Here is what I
have so far, but still can't figure out how to get it working:
<script language="javascript" type="text/javascript">
function fillForm()
{
// split the query string into pieces
var qs = location.search.substr(location.search.indexOf("?")+1);
qs = qs.split("&");
alert(qs); // qs is the variable that I need to pass into a
|
by: BP Prgm |
last post by:
This is my VBScript function:
<script language="JavaScript" type="text/JavaScript">
Dim UN
Set objNet = CreateObject("WScript.NetWork")
Set objUser = GetObject("WinNT://my domain/" & objNet.UserName )
UN = objNet.UserName & " (" & objUser.FullName & ")"
</script>
How can I reference the VBScript Variable UN in my ASP code?
|
by: Matt |
last post by:
<% hour = Request("controlname") %> will yield the following error:
Microsoft VBScript runtime (0x800A01F5)
Illegal assignment: 'hour'
However, if I declare hour, then it is fine.
<%
Dim hour
hour = Request("controlname")
%>
|
by: Dave Thomas |
last post by:
I have developed a web site using asp pages that use both vbscript and
javascript. Run the site on my PC and everything is fine. Ftp to my
web hosting provider which hosts asp pages and look on my site only to
find my vbscript is not recognised. It is treated as pure text so you
see
<% =Request.Form("LoginId") %>. Also see all the vbscript when you
"View Source". I have e-mailed my host provider but thought this may
be quicker!
Any ideas...
|
by: ASPfool |
last post by:
Hello everyone,
Please help me before I throw my computer out of the window:
I'm working on a web application in classic ASP (vbscript), which is making
calls to some webservices. The calls are made using SOAP - i installed the
SOAP3 toolkit on my windows 2k server to enable this. The webservice calls
are returning String Arrays which I can't seem to do anything useful with.
The call shown below returns a string array with two...
|
|
by: ChucRock |
last post by:
Hi,
I have the following code where there is some client side VBScript that
does something and needs to pass a variable back to the ASP.NET page.
When the page is updated through a postback, the information is lost.
What am I doing wrong?
After obtaining the variable, I assign it back to a Label text field on
the form, it shows up on the web page no problem.
|
by: alan |
last post by:
Hi all,
I need to pass a variable to the client-side vbscript and when the button is
pressed invoke the script (SomeSub()).
The problem is, that the "blablabla" appears only after second pressing of
the button.
Probably there is something with the postback, but I cannot figure it out.
My .aspx :
|
by: hermand |
last post by:
I've got an online job application I am building using ASP/VBScript.
The application consists of one ASP document which has three separate
states.
States:
1. Form Display
2. Form Review (takes all information submitted from the first form
state and removes the form elements and displays entered information
using "Response.form()".
|
by: Jim Rodgers |
last post by:
I have a big asp file that has an error under certain conditions -- totally
repeatable. However, it only fails when I set response.buffer = True at the
top. WHen I set it False in order to debug it, it works every time! I even
set it to True, but did a .Flush just before the error, and the error won't
happen.
It only happens when response.buffer is True and no .response.flush is issued.
The error is a string variable turns-up empty...
|
by: Michael |
last post by:
Hi. I have COM+ component installed on my XP. I have problem to create
instance of it inside vbscript. How can I do it? The error I get is :
ActiveX component can't create object. Thanks
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|